XScriptWnd
Inherited from XWnd,
Inherited by NULL
Friend class NULL
Description
Members
Public interface
Private interface
MainFrame * m_pFrame
QLineEdit * m_pCmdLinem_pParamLine
QComboBox * m_pCmdCombo
QListWidget * m_pCmdHistroy
ICommand * m_pCurCmd
bool m_CmdOkm_pParamOk
QAction * m_pLoadm_pSavem_pClearm_pRemovem_pCopyAll
QAction * m_pCopySelected
QAction * m_pPaste
QAction * m_pRunAll
QAction * m_pRunSelect
QAction * m_pRunCurrentToNext
int m_iScptMode
XScriptWnd(MainFrame * frame)
function:
parameters:
[i]MainFrame * frame:
return value:
~XScriptWnd()
function:
parameters: NULL
return value:
void initWindow()
function:
parameters: NULL
return value:
void onControlEvent(const char * ctrlName, TypeID event = Event_Any)
function:
parameters:
[i]const char * ctrlName:
[i] TypeID event = Event_Any:
return value:
void setMode(int mod)
function:
parameters:
[i]int mod:
return value:
int getMode()
function:
parameters: NULL
return value:
void resetHistory()
function:
parameters: NULL
return value:
void setCurrentCmd(ICommand * cmd)
function:
parameters:
[i]ICommand * cmd:
return value:
void saveScripts(const char * script_file)
function:
parameters:
[i]const char * script_file:
return value:
void loadScripts(const char * script_file)
function:
parameters:
[i]const char * script_file:
return value:
void logCommand(ICommand * cmd)
function:
parameters:
[i]ICommand * cmd:
return value:
void appendCommand(const QString & cmd, const QString & param)
function:
parameters:
[i]const QString & cmd:
[i] const QString & param:
return value:
bool checkCommand()
function:
parameters: NULL
return value:
bool checkParameter()
function:
parameters: NULL
return value:
bool parameterChanged()
function:
parameters: NULL
return value:
void executeCommandLine(QListWidgetItem *item)
function:
parameters:
[i]QListWidgetItem *item:
return value:
void executeScript(const QString & line)
function:
parameters:
[i]const QString & line:
return value:
void onLoadScript()
function:
parameters: NULL
return value:
void onSaveScript()
function:
parameters: NULL
return value:
void onClearRecords()
function:
parameters: NULL
return value:
void onCopyAll()
function:
parameters: NULL
return value:
void onPaste()
function:
parameters: NULL
return value:
void onRunAll()
function:
parameters: NULL
return value:
void onRunSelect()
function:
parameters: NULL
return value:
void onRunCurrentToNext()
function:
parameters: NULL
return value:
void onCopySelected()
function:
parameters: NULL
return value:
void onRemoveSelected()
function:
parameters: NULL
return value:
void scriptLineFocused(QListWidgetItem * lwi)
function:
parameters:
[i]QListWidgetItem * lwi:
return value:
void loadParamFromFile(const char * param_file)
function:
parameters:
[i]const char * param_file:
return value:
void removeScript(int index)
function:
parameters:
[i]int index:
return value:
void initCmdParam(ICommand * cmd)
function:
parameters:
[i]ICommand * cmd:
return value: