User Tools

Site Tools


class:ui:xscriptwnd



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:
    1. [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:
    1. [i]const char * ctrlName:
    2. [i] TypeID event = Event_Any:
  • return value:

void setMode(int mod)

  • function:
  • parameters:
    1. [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:
    1. [i]ICommand * cmd:
  • return value:

void saveScripts(const char * script_file)

  • function:
  • parameters:
    1. [i]const char * script_file:
  • return value:

void loadScripts(const char * script_file)

  • function:
  • parameters:
    1. [i]const char * script_file:
  • return value:

void logCommand(ICommand * cmd)

  • function:
  • parameters:
    1. [i]ICommand * cmd:
  • return value:

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

  • function:
  • parameters:
    1. [i]const QString & cmd:
    2. [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:
    1. [i]QListWidgetItem *item:
  • return value:

void executeScript(const QString & line)

  • function:
  • parameters:
    1. [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:
    1. [i]QListWidgetItem * lwi:
  • return value:

void loadParamFromFile(const char * param_file)

  • function:
  • parameters:
    1. [i]const char * param_file:
  • return value:

void removeScript(int index)

  • function:
  • parameters:
    1. [i]int index:
  • return value:

void initCmdParam(ICommand * cmd)

  • function:
  • parameters:
    1. [i]ICommand * cmd:
  • return value:
class/ui/xscriptwnd.txt · Last modified: 2023/08/04 08:40 (external edit)