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)

~XScriptWnd()

void initWindow()

void onControlEvent(const char * ctrlName, TypeID event = Event_Any)

void setMode(int mod)

int getMode()

void resetHistory()

void setCurrentCmd(ICommand * cmd)

void saveScripts(const char * script_file)

void loadScripts(const char * script_file)

void logCommand(ICommand * cmd)

void appendCommand(const QString & cmd, const QString & param)

bool checkCommand()

bool checkParameter()

bool parameterChanged()

void executeCommandLine(QListWidgetItem *item)

void executeScript(const QString & line)

void onLoadScript()

void onSaveScript()

void onClearRecords()

void onCopyAll()

void onPaste()

void onRunAll()

void onRunSelect()

void onRunCurrentToNext()

void onCopySelected()

void onRemoveSelected()

void scriptLineFocused(QListWidgetItem * lwi)


void loadParamFromFile(const char * param_file)

void removeScript(int index)

void initCmdParam(ICommand * cmd)