====== MainFrame ====== **//Inherited from//** [[class::qmainwindow|QMainWindow]],[[class::imainframe|IMainFrame]], **//Inherited by//** NULL **//Friend class//** NULL **//Description//** **//Members//** * QApplication * [[mainframe#m_pqtapp|m_pQtApp]] * QTextEdit * [[mainframe#m_pmsgwnd|m_pMsgWnd]] * XPickWnd * [[mainframe#m_ppickwnd|m_pPickWnd]] * XScriptWnd * [[mainframe#m_pscriptwnd|m_pScriptWnd]] * XPythonWnd * [[mainframe#m_ppywnd|m_pPyWnd]] * XStatusbar * [[mainframe#m_pstatusbar|m_pStatusBar]] * XToolbar * [[mainframe#m_pmodulebar|m_pModuleBar]] * XMenubar * [[mainframe#m_pmenubar|m_pMenuBar]] * XTitleBar * [[mainframe#m_pdoctabs|m_pDocTabs]] * QDockWidget * [[mainframe#m_ptitledock|m_pTitleDock]] * QMdiArea * [[mainframe#m_pcentral|m_pCentral]] * XPropertyWnd * [[mainframe#m_pprpwnd|m_pPrpWnd]] * XTreeView * [[mainframe#m_pobjtree|m_pObjTree]] * XCommandWnd * [[mainframe#m_pcmdwnd|m_pCmdWnd]] * CommandManager * [[mainframe#m_pcmdmgr|m_pCmdMgr]] * QTranslator * [[mainframe#m_plang|m_pLang]] * RunMode [[mainframe#m_imode|m_iMode]] * int [[mainframe#m_icmdstate|m_iCmdState]] * int [[mainframe#m_iasynstate|m_iAsynState]] * vector [[mainframe#m_pdocs|m_pDocs]] * XDocument * [[mainframe#m_pcurdocument|m_pCurDocument]] * XPicker * [[mainframe#m_ppicker|m_pPicker]] * vector [[mainframe#m_pdocuicfg|m_pDocUICfg]] * vector [[mainframe#m_pmodules|m_pModules]] * vector * [[mainframe#m_puiproxys|m_pUIProxys]] * map * [[mainframe#m_pdockwidgetmap|m_pDockWidgetMap]] * map * [[mainframe#m_pthreads|m_pThreads]] * UIProxy * [[mainframe#m_pcurproxy|m_pCurProxy]] * XView * [[mainframe#m_psecondview|m_pSecondView]] **//Public interface//** * [[mainframe#mainframe1|MainFrame]](QApplication *pApp,RunMode mod = Run_Normal) * XDocument * [[mainframe#getcurrentdocument|getCurrentDocument]]() * XDocument * [[mainframe#getdocument|getDocument]](int index) * void [[mainframe#setcurrentdocument|setCurrentDocument]](XDocument * doc) * void [[mainframe#closedocument|closeDocument]](XDocument * doc, bool bCloseDocWindow = true) * XDocument * [[mainframe#getnextdocument|getNextDocument]](XDocument * doc) * XDocument * [[mainframe#newdocument|newDocument]](const char * docType) * XDocument * [[mainframe#opendocument|openDocument]](const char * fname) * UIProxy * [[mainframe#getproxy|getProxy]](XDocument * doc) * UIProxy * [[mainframe#newinstance|newInstance]](const char * schemeName) * UIScheme * [[mainframe#getscheme|getScheme]](const char * schemeName) * const char * [[mainframe#getcurrentschemename|getCurrentSchemeName]]() * const char * [[mainframe#getclipboardtext|getClipboardText]]() * void [[mainframe#sethomevisible|setHomeVisible]](bool b) * XPicker * [[mainframe#getpicker|getPicker]]() * void [[mainframe#launchcommand|launchCommand]](int cid,const CmdParam * param = 0) * void [[mainframe#launchcontextcommand|launchContextCommand]](int cid, const TreeNode * targetNode, const TreeNode * fromNode = 0) * bool [[mainframe#checkcontext|checkContext]](int cid, const TreeNode * targetNode, const TreeNode * fromNode = 0) * void [[mainframe#edititem|editItem]](int item_type,const XItem * pi) * CommandManager * [[mainframe#getcommandmanager|getCommandManager]]() * ICommandWindow * [[mainframe#getcommandwindow|getCommandWindow]]() * bool [[mainframe#handleframeaction|handleFrameAction]](int cid, XWord param = XWord()) * void [[mainframe#updateaction|updateAction]](ulong cid, bool bUpdateGroup = false, bool bUpdateEnable = false) * void [[mainframe#onapplicationevent|onApplicationEvent]](EventTypeID et, XWord param = XWord()) * void [[mainframe#refreshview|refreshView]]() * void [[mainframe#previewdialog|previewDialog]](const char * xml) * void [[mainframe#setactionenable|setActionEnable]](ulong cid, bool bEnable) * bool [[mainframe#rungpucalculation|runGPUCalculation]](const char * gcmd, const void * gin, void * gout) * void [[mainframe#inform|inform]](const char * msg, bool bWarning = false) * void [[mainframe#error|error]](ErrorCode e) * void [[mainframe#onprint|onPrint]]() * RunMode [[mainframe#getrunmode|getRunMode]]() * void [[mainframe#setrunmode|setRunMode]](RunMode rm) * int [[mainframe#askquestion|askQuestion]](const char * title,const char * q, bool bEnableCancel) * ErrorCode [[mainframe#docommand|doCommand]](ICommand * cmd,int mode) * void [[mainframe#message|message]](const char* format,...) * ErrorCode [[mainframe#executescript|executeScript]](const char * script,const char * param, bool bCheckParam = false) * void [[mainframe#resetafterexecute|resetAfterExecute]](bool bContinueSameCmd = false) * ErrorCode [[mainframe#executebatch|executeBatch]](const char * batch_file) * bool [[mainframe#executecommand|executeCommand]](ICommand * cmd) * void [[mainframe#setpicktype|setPickType]](TypeID type) * XTitleBar * [[mainframe#gettitlebar|getTitlebar]]() * XPythonWnd * [[mainframe#getpythonwnd|getPythonWnd]]() * XScriptWnd * [[mainframe#getscriptwnd|getScriptWnd]]() * QTextEdit * [[mainframe#getmessagewnd|getMessageWnd]]() * XMenubar * [[mainframe#createmenubar|createMenubar]](UIScheme * uiScheme) * XToolbar * [[mainframe#createmodulebar|createModulebar]](UIScheme * uiScheme) * XMenubar * [[mainframe#getmenubar|getMenubar]]() * XToolbar * [[mainframe#gettoolbar|getToolbar]]() * XPropertyWnd * [[mainframe#getpropertywnd|getPropertyWnd]]() * XPickWnd * [[mainframe#getpickwnd|getPickWnd]]() * XCommandWnd * [[mainframe#getcommandwnd|getCommandWnd]]() * XTreeView * [[mainframe#getobjecttree|getObjectTree]]() * void [[mainframe#updatetreeview|updateTreeView]](TreeNode * tItem, bool bRecursive = true) * UIProxy * [[mainframe#getproxy|getProxy]]() * void [[mainframe#setuisettingpath|setUISettingPath]](const char * dir) * bool [[mainframe#init|init]](const char * slnConfigs) * void [[mainframe#resolveconfiguration|resolveConfiguration]](const char * config) * void [[mainframe#loadmodule|loadModule]](const char * modules, const char * proxys = "") * void [[mainframe#registerdocui|registerDocUI]](const char * name, const char * resource, const char * docID, * void [[mainframe#reset|reset]]() * void [[mainframe#changelanguage|changeLanguage]](const char * lang) * int [[mainframe#getcmdstate|getCmdState]]() * void [[mainframe#setcmdstate|setCmdState]](int st) * void [[mainframe#setcurrentdocview|setCurrentDocView]](QWidget * docWgt) * void [[mainframe#setcurrentdocview|setCurrentDocView]](int idx) * XView * [[mainframe#getdocviewbyid|getDocViewByID]](ulong id) * void [[mainframe#listdocview|listDocView]](const char * fname) * void [[mainframe#setsecondview|setSecondView]](XView * v) * XView * [[mainframe#getsecondview|getSecondView]]() * void [[mainframe#updateuistyle|updateUIStyle]](const char * style,const char * sheetFile) * void [[mainframe#addcentertoolbar|addCenterToolbar]](QToolBar * bar, int loc) * void [[mainframe#addleftcentertoolbar|addLeftCenterToolbar]](QToolBar * bar,int pos) * void [[mainframe#addrightcentertoolbar|addRightCenterToolbar]](QToolBar * bar,int pos) * int [[mainframe#monitorprocess|monitorProcess]](const char * exe, const char * param, const char * title = NULL, bool bSilent = false, const char * workdir = NULL) * int [[mainframe#startthread|startThread]](const char * name, ThreadFunc func, XWord param, bool bAsync) * bool [[mainframe#isthreadrunning|isThreadRunning]](const char * name) * int [[mainframe#startthreadprocess|startThreadProcess]](ThreadData * thread, const char * exe, LabelVarSection * param, ProcessOutputFunc outputFunc) * void [[mainframe#quitthread|quitThread]](const char * name) * void [[mainframe#notifythreadevent|notifyThreadEvent]](ThreadData * tdata, EventTypeID et, XWord param = XWord(), bool bFlushImmediatly = false) * void [[mainframe#flushthreadevents|flushThreadEvents]](ThreadData * tdata) * void [[mainframe#addsubwindow|addSubWindow]](QWidget * wgt,const char * title, XDocument * doc) * XDocument * [[mainframe#getwindowdoc|getWindowDoc]](QMdiSubWindow * subWnd) * QMdiSubWindow * [[mainframe#getdocwindow|getDocWindow]](XDocument * doc) * QDockWidget * [[mainframe#adddock|addDock]](QWidget * wgt, const char * title, DockWidgetArea, TypeID ori = 0) * QDockWidget * [[mainframe#getdock|getDock]](QWidget * wgt) * void [[mainframe#setworkview|setWorkView]](const char * title) * void [[mainframe#disablewidget|disableWidget]](TypeID wgtType) * void [[mainframe#setdoctitle|setDocTitle]](const QString &) * void [[mainframe#setwindowtitle|setWindowTitle]](const QString &) * void [[mainframe#setwindowicon|setWindowIcon]](const QIcon &icon) * void [[mainframe#nextcommand|nextCommand]](ulong cid = 0) * bool [[mainframe#isdockvisible|isDockVisible]](TypeID dock) * void [[mainframe#onaction|onAction]]() * void [[mainframe#oncheckaction|onCheckAction]](bool bChecked) * void [[mainframe#oneditaction|onEditAction]]() * void [[mainframe#oncomboaction|onComboAction]](int i) * void [[mainframe#onspinaction|onSpinAction]]() * void [[mainframe#onslideraction|onSliderAction]]() * void [[mainframe#onmodulechange|onModuleChange]](int index) * void [[mainframe#setcurrentsubwindow|setCurrentSubWindow]](QMdiSubWindow * sub) * void [[mainframe#oncmdcommit|onCmdCommit]]() * void [[mainframe#about|about]]() * void [[mainframe#onrunscript|onRunScript]]() * void [[mainframe#onsetting|onSetting]]() * void [[mainframe#onopenrecent|onOpenRecent]]() * void [[mainframe#setdockvisible|setDockVisible]](FrameDockEnum dock, bool bVisible) * void [[mainframe#changedocument|changeDocument]](int docIndex) * void [[mainframe#onquickexecute|onQuickExecute]]() * void [[mainframe#onviewlog|onViewLog]]() * void [[mainframe#onasyncthreadready|onAsyncThreadReady]]() * void [[mainframe#onthreadevent|onThreadEvent]](ThreadData * tdata) * void [[mainframe#listproperty|listProperty]](const XItem * item, vector * prpSheet) **//Protected interface//** * void [[mainframe#closeevent|closeEvent]](QCloseEvent * e) * void [[mainframe#resizeevent|resizeEvent]] ( QResizeEvent * event ) * void [[mainframe#moveevent|moveEvent]](QMoveEvent * e) * bool [[mainframe#event|event]] ( QEvent * e ) * void [[mainframe#inittitlebar|initTitleBar]]() * bool [[mainframe#runframecommand|runFrameCommand]](ulong cid) * bool [[mainframe#configdocui|configDocUI]](XDocument * doc, UIProxy * proxy) * void [[mainframe#asyncthreadready|asyncThreadReady]]() * void [[mainframe#threadevent|threadEvent]](ThreadData * tdata) ---- {{anchor:m_pqtapp}} **QApplication * m_pQtApp** {{anchor:m_pmsgwnd}} **QTextEdit * m_pMsgWnd** {{anchor:m_ppickwnd}} **XPickWnd * m_pPickWnd** {{anchor:m_pscriptwnd}} **XScriptWnd * m_pScriptWnd** {{anchor:m_ppywnd}} **XPythonWnd * m_pPyWnd** {{anchor:m_pstatusbar}} **XStatusbar * m_pStatusBar** {{anchor:m_pmodulebar}} **XToolbar * m_pModuleBar** {{anchor:m_pmenubar}} **XMenubar * m_pMenuBar** {{anchor:m_pdoctabs}} **XTitleBar * m_pDocTabs** {{anchor:m_ptitledock}} **QDockWidget * m_pTitleDock** {{anchor:m_pcentral}} **QMdiArea * m_pCentral** {{anchor:m_pprpwnd}} **XPropertyWnd * m_pPrpWnd** {{anchor:m_pobjtree}} **XTreeView * m_pObjTree** {{anchor:m_pcmdwnd}} **XCommandWnd * m_pCmdWnd** {{anchor:m_pcmdmgr}} **CommandManager * m_pCmdMgr** {{anchor:m_plang}} **QTranslator * m_pLang** {{anchor:m_imode}} **RunMode m_iMode** {{anchor:m_icmdstate}} **int m_iCmdState** {{anchor:m_iasynstate}} **int m_iAsynState** {{anchor:m_pdocs}} **vector m_pDocs** {{anchor:m_pcurdocument}} **XDocument * m_pCurDocument** {{anchor:m_ppicker}} **XPicker * m_pPicker** {{anchor:m_pdocuicfg}} **vector m_pDocUICfg** {{anchor:m_pmodules}} **vector m_pModules** {{anchor:m_puiproxys}} **vector * m_pUIProxys** {{anchor:m_pdockwidgetmap}} **map * m_pDockWidgetMap** {{anchor:m_pthreads}} **map * m_pThreads** {{anchor:m_pcurproxy}} **UIProxy * m_pCurProxy** {{anchor:m_psecondview}} **XView * m_pSecondView** ---- {{anchor:mainframe1}} **MainFrame(QApplication *pApp,RunMode mod = Run_Normal)** *function: *parameters: - [i]QApplication *pApp: - [i]RunMode mod = Run_Normal: *return value: {{anchor:getcurrentdocument}} **XDocument * getCurrentDocument()** *function: *parameters: NULL *return value: {{anchor:getdocument}} **XDocument * getDocument(int index)** *function: *parameters: - [i]int index: *return value: {{anchor:setcurrentdocument}} **void setCurrentDocument(XDocument * doc)** *function: *parameters: - [i]XDocument * doc: *return value: {{anchor:closedocument}} **void closeDocument(XDocument * doc, bool bCloseDocWindow = true)** *function: *parameters: - [i]XDocument * doc: - [i] bool bCloseDocWindow = true: *return value: {{anchor:getnextdocument}} **XDocument * getNextDocument(XDocument * doc)** *function: *parameters: - [i]XDocument * doc: *return value: {{anchor:newdocument}} **XDocument * newDocument(const char * docType)** *function: *parameters: - [i]const char * docType: *return value: {{anchor:opendocument}} **XDocument * openDocument(const char * fname)** *function: *parameters: - [i]const char * fname: *return value: {{anchor:getproxy}} **UIProxy * getProxy(XDocument * doc)** *function: *parameters: - [i]XDocument * doc: *return value: {{anchor:newinstance}} **UIProxy * newInstance(const char * schemeName)** *function: *parameters: - [i]const char * schemeName: *return value: {{anchor:getscheme}} **UIScheme * getScheme(const char * schemeName)** *function: *parameters: - [i]const char * schemeName: *return value: {{anchor:getcurrentschemename}} **const char * getCurrentSchemeName()** *function: *parameters: NULL *return value: {{anchor:getclipboardtext}} **const char * getClipboardText()** *function: *parameters: NULL *return value: {{anchor:sethomevisible}} **void setHomeVisible(bool b)** *function: *parameters: - [i]bool b: *return value: {{anchor:getpicker}} **XPicker * getPicker()** *function: *parameters: NULL *return value: {{anchor:launchcommand}} **void launchCommand(int cid,const CmdParam * param = 0)** *function: *parameters: - [i]int cid: - [i]const CmdParam * param = 0: *return value: {{anchor:launchcontextcommand}} **void launchContextCommand(int cid, const TreeNode * targetNode, const TreeNode * fromNode = 0)** *function: *parameters: - [i]int cid: - [i] const TreeNode * targetNode: - [i] const TreeNode * fromNode = 0: *return value: {{anchor:checkcontext}} **bool checkContext(int cid, const TreeNode * targetNode, const TreeNode * fromNode = 0)** *function: *parameters: - [i]int cid: - [i] const TreeNode * targetNode: - [i] const TreeNode * fromNode = 0: *return value: {{anchor:edititem}} **void editItem(int item_type,const XItem * pi)** *function: *parameters: - [i]int item_type: - [i]const XItem * pi: *return value: {{anchor:getcommandmanager}} **CommandManager * getCommandManager()** *function: *parameters: NULL *return value: {{anchor:getcommandwindow}} **ICommandWindow * getCommandWindow()** *function: *parameters: NULL *return value: {{anchor:handleframeaction}} **bool handleFrameAction(int cid, XWord param = XWord())** *function: *parameters: - [i]int cid: - [i] XWord param = XWord(: *return value: {{anchor:updateaction}} **void updateAction(ulong cid, bool bUpdateGroup = false, bool bUpdateEnable = false)** *function: *parameters: - [i]ulong cid: - [i] bool bUpdateGroup = false: - [i] bool bUpdateEnable = false: *return value: {{anchor:onapplicationevent}} **void onApplicationEvent(EventTypeID et, XWord param = XWord())** *function: *parameters: - [i]EventTypeID et: - [i] XWord param = XWord(: *return value: {{anchor:refreshview}} **void refreshView()** *function: *parameters: NULL *return value: {{anchor:previewdialog}} **void previewDialog(const char * xml)** *function: *parameters: - [i]const char * xml: *return value: {{anchor:setactionenable}} **void setActionEnable(ulong cid, bool bEnable)** *function: *parameters: - [i]ulong cid: - [i] bool bEnable: *return value: {{anchor:rungpucalculation}} **bool runGPUCalculation(const char * gcmd, const void * gin, void * gout)** *function: *parameters: - [i]const char * gcmd: - [i] const void * gin: - [i] void * gout: *return value: {{anchor:inform}} **void inform(const char * msg, bool bWarning = false)** *function: *parameters: - [i]const char * msg: - [i] bool bWarning = false: *return value: {{anchor:error}} **void error(ErrorCode e)** *function: *parameters: - [i]ErrorCode e: *return value: {{anchor:onprint}} **void onPrint()** *function: *parameters: NULL *return value: {{anchor:getrunmode}} **RunMode getRunMode()** *function: *parameters: NULL *return value: {{anchor:setrunmode}} **void setRunMode(RunMode rm)** *function: *parameters: - [i]RunMode rm: *return value: {{anchor:askquestion}} **int askQuestion(const char * title,const char * q, bool bEnableCancel)** *function: *parameters: - [i]const char * title: - [i]const char * q: - [i] bool bEnableCancel: *return value: {{anchor:docommand}} **ErrorCode doCommand(ICommand * cmd,int mode)** *function: *parameters: - [i]ICommand * cmd: - [i]int mode: *return value: {{anchor:message}} **void message(const char* format,...)** *function: *parameters: - [i]const char* format: - [i]...: *return value: {{anchor:executescript}} **ErrorCode executeScript(const char * script,const char * param, bool bCheckParam = false)** *function: *parameters: - [i]const char * script: - [i]const char * param: - [i] bool bCheckParam = false: *return value: {{anchor:resetafterexecute}} **void resetAfterExecute(bool bContinueSameCmd = false)** *function: *parameters: - [i]bool bContinueSameCmd = false: *return value: {{anchor:executebatch}} **ErrorCode executeBatch(const char * batch_file)** *function: *parameters: - [i]const char * batch_file: *return value: {{anchor:executecommand}} **bool executeCommand(ICommand * cmd)** *function: *parameters: - [i]ICommand * cmd: *return value: {{anchor:setpicktype}} **void setPickType(TypeID type)** *function: *parameters: - [i]TypeID type: *return value: {{anchor:gettitlebar}} **XTitleBar * getTitlebar()** *function: *parameters: NULL *return value: {{anchor:getpythonwnd}} **XPythonWnd * getPythonWnd()** *function: *parameters: NULL *return value: {{anchor:getscriptwnd}} **XScriptWnd * getScriptWnd()** *function: *parameters: NULL *return value: {{anchor:getmessagewnd}} **QTextEdit * getMessageWnd()** *function: *parameters: NULL *return value: {{anchor:createmenubar}} **XMenubar * createMenubar(UIScheme * uiScheme)** *function: *parameters: - [i]UIScheme * uiScheme: *return value: {{anchor:createmodulebar}} **XToolbar * createModulebar(UIScheme * uiScheme)** *function: *parameters: - [i]UIScheme * uiScheme: *return value: {{anchor:getmenubar}} **XMenubar * getMenubar()** *function: *parameters: NULL *return value: {{anchor:gettoolbar}} **XToolbar * getToolbar()** *function: *parameters: NULL *return value: {{anchor:getpropertywnd}} **XPropertyWnd * getPropertyWnd()** *function: *parameters: NULL *return value: {{anchor:getpickwnd}} **XPickWnd * getPickWnd()** *function: *parameters: NULL *return value: {{anchor:getcommandwnd}} **XCommandWnd * getCommandWnd()** *function: *parameters: NULL *return value: {{anchor:getobjecttree}} **XTreeView * getObjectTree()** *function: *parameters: NULL *return value: {{anchor:updatetreeview}} **void updateTreeView(TreeNode * tItem, bool bRecursive = true)** *function: *parameters: - [i]TreeNode * tItem: - [i] bool bRecursive = true: *return value: {{anchor:getproxy}} **UIProxy * getProxy()** *function: *parameters: NULL *return value: {{anchor:setuisettingpath}} **void setUISettingPath(const char * dir)** *function: *parameters: - [i]const char * dir: *return value: {{anchor:init}} **bool init(const char * slnConfigs)** *function: *parameters: - [i]const char * slnConfigs: *return value: {{anchor:resolveconfiguration}} **void resolveConfiguration(const char * config)** *function: *parameters: - [i]const char * config: *return value: {{anchor:loadmodule}} **void loadModule(const char * modules, const char * proxys = "")** *function: *parameters: - [i]const char * modules: - [i] const char * proxys = "": *return value: {{anchor:registerdocui}} **void registerDocUI(const char * name, const char * resource, const char * docID,** *function: *parameters: - [i]const char * name: - [i] const char * resource: - [i] const char * docID: - [i]: *return value: {{anchor:reset}} **void reset()** *function: *parameters: NULL *return value: {{anchor:changelanguage}} **void changeLanguage(const char * lang)** *function: *parameters: - [i]const char * lang: *return value: {{anchor:getcmdstate}} **int getCmdState()** *function: *parameters: NULL *return value: {{anchor:setcmdstate}} **void setCmdState(int st)** *function: *parameters: - [i]int st: *return value: {{anchor:setcurrentdocview}} **void setCurrentDocView(QWidget * docWgt)** *function: *parameters: - [i]QWidget * docWgt: *return value: {{anchor:setcurrentdocview}} **void setCurrentDocView(int idx)** *function: *parameters: - [i]int idx: *return value: {{anchor:getdocviewbyid}} **XView * getDocViewByID(ulong id)** *function: *parameters: - [i]ulong id: *return value: {{anchor:listdocview}} **void listDocView(const char * fname)** *function: *parameters: - [i]const char * fname: *return value: {{anchor:setsecondview}} **void setSecondView(XView * v)** *function: *parameters: - [i]XView * v: *return value: {{anchor:getsecondview}} **XView * getSecondView()** *function: *parameters: NULL *return value: {{anchor:updateuistyle}} **void updateUIStyle(const char * style,const char * sheetFile)** *function: *parameters: - [i]const char * style: - [i]const char * sheetFile: *return value: {{anchor:addcentertoolbar}} **void addCenterToolbar(QToolBar * bar, int loc)** *function: *parameters: - [i]QToolBar * bar: - [i] int loc: *return value: {{anchor:addleftcentertoolbar}} **void addLeftCenterToolbar(QToolBar * bar,int pos)** *function: *parameters: - [i]QToolBar * bar: - [i]int pos: *return value: {{anchor:addrightcentertoolbar}} **void addRightCenterToolbar(QToolBar * bar,int pos)** *function: *parameters: - [i]QToolBar * bar: - [i]int pos: *return value: {{anchor:monitorprocess}} **int monitorProcess(const char * exe, const char * param, const char * title = NULL, bool bSilent = false, const char * workdir = NULL)** *function: *parameters: - [i]const char * exe: - [i] const char * param: - [i] const char * title = NULL: - [i] bool bSilent = false: - [i] const char * workdir = NULL: *return value: {{anchor:startthread}} **int startThread(const char * name, ThreadFunc func, XWord param, bool bAsync)** *function: *parameters: - [i]const char * name: - [i] ThreadFunc func: - [i] XWord param: - [i] bool bAsync: *return value: {{anchor:isthreadrunning}} **bool isThreadRunning(const char * name)** *function: *parameters: - [i]const char * name: *return value: {{anchor:startthreadprocess}} **int startThreadProcess(ThreadData * thread, const char * exe, LabelVarSection * param, ProcessOutputFunc outputFunc)** *function: *parameters: - [i]ThreadData * thread: - [i] const char * exe: - [i] LabelVarSection * param: - [i] ProcessOutputFunc outputFunc: *return value: {{anchor:quitthread}} **void quitThread(const char * name)** *function: *parameters: - [i]const char * name: *return value: {{anchor:notifythreadevent}} **void notifyThreadEvent(ThreadData * tdata, EventTypeID et, XWord param = XWord(), bool bFlushImmediatly = false)** *function: *parameters: - [i]ThreadData * tdata: - [i] EventTypeID et: - [i] XWord param = XWord(): - [i] bool bFlushImmediatly = false): *return value: {{anchor:flushthreadevents}} **void flushThreadEvents(ThreadData * tdata)** *function: *parameters: - [i]ThreadData * tdata: *return value: {{anchor:addsubwindow}} **void addSubWindow(QWidget * wgt,const char * title, XDocument * doc)** *function: *parameters: - [i]QWidget * wgt: - [i]const char * title: - [i] XDocument * doc: *return value: {{anchor:getwindowdoc}} **XDocument * getWindowDoc(QMdiSubWindow * subWnd)** *function: *parameters: - [i]QMdiSubWindow * subWnd: *return value: {{anchor:getdocwindow}} **QMdiSubWindow * getDocWindow(XDocument * doc)** *function: *parameters: - [i]XDocument * doc: *return value: {{anchor:adddock}} **QDockWidget * addDock(QWidget * wgt, const char * title, DockWidgetArea, TypeID ori = 0)** *function: *parameters: - [i]QWidget * wgt: - [i] const char * title: - [i] DockWidgetArea: - [i] TypeID ori = 0: *return value: {{anchor:getdock}} **QDockWidget * getDock(QWidget * wgt)** *function: *parameters: - [i]QWidget * wgt: *return value: {{anchor:setworkview}} **void setWorkView(const char * title)** *function: *parameters: - [i]const char * title: *return value: {{anchor:disablewidget}} **void disableWidget(TypeID wgtType)** *function: *parameters: - [i]TypeID wgtType: *return value: {{anchor:setdoctitle}} **void setDocTitle(const QString &)** *function: *parameters: - [i]const QString &: *return value: {{anchor:setwindowtitle}} **void setWindowTitle(const QString &)** *function: *parameters: - [i]const QString &: *return value: {{anchor:setwindowicon}} **void setWindowIcon(const QIcon &icon)** *function: *parameters: - [i]const QIcon &icon: *return value: {{anchor:nextcommand}} **void nextCommand(ulong cid = 0)** *function: *parameters: - [i]ulong cid = 0: *return value: {{anchor:isdockvisible}} **bool isDockVisible(TypeID dock)** *function: *parameters: - [i]TypeID dock: *return value: {{anchor:onaction}} **void onAction()** *function: *parameters: NULL *return value: {{anchor:oncheckaction}} **void onCheckAction(bool bChecked)** *function: *parameters: - [i]bool bChecked: *return value: {{anchor:oneditaction}} **void onEditAction()** *function: *parameters: NULL *return value: {{anchor:oncomboaction}} **void onComboAction(int i)** *function: *parameters: - [i]int i: *return value: {{anchor:onspinaction}} **void onSpinAction()** *function: *parameters: NULL *return value: {{anchor:onslideraction}} **void onSliderAction()** *function: *parameters: NULL *return value: {{anchor:onmodulechange}} **void onModuleChange(int index)** *function: *parameters: - [i]int index: *return value: {{anchor:setcurrentsubwindow}} **void setCurrentSubWindow(QMdiSubWindow * sub)** *function: *parameters: - [i]QMdiSubWindow * sub: *return value: {{anchor:oncmdcommit}} **void onCmdCommit()** *function: *parameters: NULL *return value: {{anchor:about}} **void about()** *function: *parameters: NULL *return value: {{anchor:onrunscript}} **void onRunScript()** *function: *parameters: NULL *return value: {{anchor:onsetting}} **void onSetting()** *function: *parameters: NULL *return value: {{anchor:onopenrecent}} **void onOpenRecent()** *function: *parameters: NULL *return value: {{anchor:setdockvisible}} **void setDockVisible(FrameDockEnum dock, bool bVisible)** *function: *parameters: - [i]FrameDockEnum dock: - [i] bool bVisible: *return value: {{anchor:changedocument}} **void changeDocument(int docIndex)** *function: *parameters: - [i]int docIndex: *return value: {{anchor:onquickexecute}} **void onQuickExecute()** *function: *parameters: NULL *return value: {{anchor:onviewlog}} **void onViewLog()** *function: *parameters: NULL *return value: {{anchor:onasyncthreadready}} **void onAsyncThreadReady()** *function: *parameters: NULL *return value: {{anchor:onthreadevent}} **void onThreadEvent(ThreadData * tdata)** *function: *parameters: - [i]ThreadData * tdata: *return value: {{anchor:listproperty}} **void listProperty(const XItem * item, vector * prpSheet)** *function: *parameters: - [i]const XItem * item: - [i] vector * prpSheet: *return value: ---- {{anchor:closeevent}} **void closeEvent(QCloseEvent * e)** *function: *parameters: - [i]QCloseEvent * e: *return value: {{anchor:resizeevent}} **void resizeEvent ( QResizeEvent * event )** *function: *parameters: - [i] QResizeEvent * event : *return value: {{anchor:moveevent}} **void moveEvent(QMoveEvent * e)** *function: *parameters: - [i]QMoveEvent * e: *return value: {{anchor:event}} **bool event ( QEvent * e )** *function: *parameters: - [i] QEvent * e : *return value: {{anchor:inittitlebar}} **void initTitleBar()** *function: *parameters: NULL *return value: {{anchor:runframecommand}} **bool runFrameCommand(ulong cid)** *function: *parameters: - [i]ulong cid: *return value: {{anchor:configdocui}} **bool configDocUI(XDocument * doc, UIProxy * proxy)** *function: *parameters: - [i]XDocument * doc: - [i] UIProxy * proxy: *return value: {{anchor:asyncthreadready}} **void asyncThreadReady()** *function: *parameters: NULL *return value: {{anchor:threadevent}} **void threadEvent(ThreadData * tdata)** *function: *parameters: - [i]ThreadData * tdata: *return value: