User Tools

Site Tools


class:ui:xcommandwnd

XCommandWnd

Inherited from QDialog,ICommandWindow,

Inherited by NULL

Friend class NULL

Description

Members

Public interface

Protected interface

Private interface


bool m_bIndependent

bool m_bDockFixed


XCommandWnd(MainFrame * pApp)

  • function:
  • parameters:
    1. [i]MainFrame * pApp:
  • return value:

void setDockFixed(bool b)

  • function:
  • parameters:
    1. [i]bool b:
  • return value:

const char * getControlStringProperty(const char * ctrl, const char * prp_name)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * prp_name:
  • return value:

int getControlIntProperty(const char * ctrl, const char * prp_name)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * prp_name:
  • return value:

void setControlAttribute(const char * ctrl, const char * atb_name, const char * atb_value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * atb_name:
    3. [i] const char * atb_value:
  • return value:

void addComboOption(const char * ctrl,const char * o,int v)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]const char * o:
    3. [i]int v:
  • return value:

void addFormItem(const char * form, const char * label, const char * name, const char * type, const char * unit = NULL, int labelWidth = 0)

  • function:
  • parameters:
    1. [i]const char * form:
    2. [i] const char * label:
    3. [i] const char * name:
    4. [i] const char * type:
    5. [i] const char * unit = NULL:
    6. [i] int labelWidth = 0:
  • return value:

void addListItem(const char * ctrl,const char * txt, int v = -1, int checkMode = Check_Disable, const char * linkWgt = NULL, const char * linkWgtUrl = NULL)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]const char * txt:
    3. [i] int v = -1:
    4. [i] int checkMode = Check_Disable:
    5. [i] const char * linkWgt = NULL:
    6. [i] const char * linkWgtUrl = NULL:
  • return value:

void removeListItem(const char * ctrl, int v, bool byRowIndex = false)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int v:
    3. [i] bool byRowIndex = false:
  • return value:

void moveUpListItem(const char * ctrl, int v)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int v:
  • return value:

void moveDownListItem(const char * ctrl, int v)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int v:
  • return value:

void initList(const char * ctrl,const char * setting)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]const char * setting:
  • return value:

void initTree(const char * ctrl,const char * setting,bool bExpand = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]const char * setting:
    3. [i]bool bExpand = true:
  • return value:

void setControlEnable(const char * ctrl, bool enable)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] bool enable:
  • return value:

void setControlVisible(const char * ctrl, bool bVisible)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] bool bVisible:
  • return value:

void setChecked(const char * ctrl,bool status)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]bool status:
  • return value:

void setComboInt(const char * ctrl, int value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int value:
  • return value:

void setEditInt(const char * ctrl, int value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int value:
  • return value:

void setEditString(const char * ctrl, const char * str, const char * browse = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * str:
    3. [i] const char * browse = 0:
  • return value:

void setEditDouble(const char * ctrl, real value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] real value:
  • return value:

void setLabelString(const char * ctrl, const char * str)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * str:
  • return value:

void setLabelImage(const char * ctrl, const char * image, int width = -1, int height = -1)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * image:
    3. [i] int width = -1:
    4. [i] int height = -1:
  • return value:

void setRealVar(const char * ctrl, const RealVar * str)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const RealVar * str:
  • return value:

void clearCombo(const char * ctrl)

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

real getEditDouble(const char * ctrl,real null_value = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]real null_value = 0:
  • return value:

int getComboInt(const char * ctrl,int null_value = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]int null_value = 0:
  • return value:

const char * getComboString(const char * ctrl)

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

bool getChecked(const char * ctrl)

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

int getEditInt(const char * ctrl)

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

const char * getEditString(const char * ctrl)

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

void setGroupVisible(const char * grp,bool bVisible)

  • function:
  • parameters:
    1. [i]const char * grp:
    2. [i]bool bVisible:
  • return value:

bool getListChecked(const char * ctrl, int idx)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int idx:
  • return value:

void setListChecked(const char * ctrl, int idx, bool bCheck)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int idx:
    3. [i] bool bCheck:
  • return value:

void setListCurrent(const char * ctrl, int idx)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int idx:
  • return value:

void setListString(const char * ctrl, int idx, const char * str)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int idx:
    3. [i] const char * str:
  • return value:

const char * getListString(const char * ctrl, int idx)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int idx:
  • return value:

int getListItemValue(const char * ctrl, int index)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int index:
  • return value:

int getListItemRow(const char * ctrl, int value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int value:
  • return value:

int getListItemCount(const char * ctrl)

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

int getListCurrentRow(const char * ctrl)

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

void getRealVar(const char * wgtname,RealVar * v)

  • function:
  • parameters:
    1. [i]const char * wgtname:
    2. [i]RealVar * v:
  • return value:

void clearChildren(const char * parent)

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

void clearContent(const char * ctrl)

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

void setCurrentSub(const char * ctrl, const char * subName, const char * url, const char * subBuddy = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * subName:
    3. [i] const char * url:
    4. [i] const char * subBuddy = 0:
  • return value:

void reloadSub(const char * ctrl, const char * subName, const char * url)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * subName:
    3. [i] const char * url:
  • return value:

bool getPanelChecked(const char * ctrl)

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

void setPanelChecked(const char * ctrl, bool bCheck)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] bool bCheck:
  • return value:

void setTableFromString(const char * tblCtrl, const char * str, const Recti * rect = 0)

  • function:
  • parameters:
    1. [i]const char * tblCtrl:
    2. [i] const char * str:
    3. [i] const Recti * rect = 0:
  • return value:

void setTableFromClipboard(const char * tblCtrl, const Recti * rect = 0)

  • function:
  • parameters:
    1. [i]const char * tblCtrl:
    2. [i] const Recti * rect = 0:
  • return value:

void getTableToClipboard(const char * tblCtrl, const Recti * rect = 0)

  • function:
  • parameters:
    1. [i]const char * tblCtrl:
    2. [i] const Recti * rect = 0:
  • return value:

void setTableRowCount(const char * tblCtrl, int rowCount)

  • function:
  • parameters:
    1. [i]const char * tblCtrl:
    2. [i] int rowCount:
  • return value:

int getTableRowCount(const char * tblCtrl)

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

void setTableColCount(const char * tblCtrl, int colCount)

  • function:
  • parameters:
    1. [i]const char * tblCtrl:
    2. [i] int colCount:
  • return value:

int getTableColCount(const char * tblCtrl)

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

void addTableComboOption(const char * ctrl, int row, int col, const char * o, int v)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] const char * o:
    5. [i] int v:
  • return value:

void setTableChecked(const char * ctrl,int row, int col, bool status)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]int row:
    3. [i] int col:
    4. [i] bool status:
  • return value:

void setTableComboInt(const char * ctrl, int row, int col, int value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] int value:
  • return value:

void setTableEditableCombo(const char * ctrl, int row, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
  • return value:

void setTableComboOptions(const char * ctrl, int row, int col, vector<string> * options, const char * curText = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] vector<string> * options:
    5. [i] const char * curText = 0:
  • return value:

void setTableEditInt(const char * ctrl, int row, int col, int value, bool bEditable = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] int value:
    5. [i] bool bEditable = true:
  • return value:

void setTableEditString(const char * ctrl, int row, int col, const char * str, bool bEditable = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] const char * str:
    5. [i] bool bEditable = true:
  • return value:

void setTableEditPath(const char * ctrl, int row, int col, const char * browse, const char * str)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] const char * browse:
    5. [i] const char * str:
  • return value:

void setTableEditDouble(const char * ctrl, int row, int col, real value, bool bEditable = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] real value:
    5. [i] bool bEditable = true:
  • return value:

void setTableLabelString(const char * ctrl, int row, int col, const char * str)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] const char * str:
  • return value:

real getTableEditDouble(const char * ctrl, int row, int col, real null_value = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] real null_value = 0:
  • return value:

int getTableComboInt(const char * ctrl, int row, int col, int null_value = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
    4. [i] int null_value = 0:
  • return value:

const char * getTableComboString(const char * ctrl, int row, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
  • return value:

bool getTableChecked(const char * ctrl, int row, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
  • return value:

int getTableEditInt(const char * ctrl, int row, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
  • return value:

const char * getTableEditString(const char * ctrl, int row, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int row:
    3. [i] int col:
  • return value:

int getTableCurrentRow(const char * ctrl)

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

void adjustTableView(const char * ctrl)

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

void removeTableRow(const char * ctrl, int loc, int rowCount = 1)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int loc:
    3. [i] int rowCount = 1:
  • return value:

void insertTableRow(const char * ctrl, int loc, int rows = 1)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int loc:
    3. [i] int rows = 1:
  • return value:

bool getTableSelectionRange(const char * ctrl, Recti * rect)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] Recti * rect:
  • return value:

void setTreeColCount(const char * tblCtrl, int colCount)

  • function:
  • parameters:
    1. [i]const char * tblCtrl:
    2. [i] int colCount:
  • return value:

int getTreeColCount(const char * tblCtrl)

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

void insertTreeEditString(const char * ctrl, const XTreeIndex * ti, int col, const char * str, bool bEditable = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
    4. [i] const char * str:
    5. [i] bool bEditable = true:
  • return value:

void setTreeChecked(const char * ctrl, const XTreeIndex * ti, int col, bool status)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
    4. [i] bool status:
  • return value:

void setTreeCurrent(const char * ctrl, const XTreeIndex * ti)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
  • return value:

void setTreeEditInt(const char * ctrl, const XTreeIndex * ti, int col, int value, bool bEditable = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
    4. [i] int value:
    5. [i] bool bEditable = true:
  • return value:

void setTreeEditString(const char * ctrl, const XTreeIndex * ti, int col, const char * str, bool bEditable = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
    4. [i] const char * str:
    5. [i] bool bEditable = true:
  • return value:

void setTreeEditDouble(const char * ctrl, const XTreeIndex * ti, int col, real value, bool bEditable = true)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
    4. [i] real value:
    5. [i] bool bEditable = true:
  • return value:

real getTreeEditDouble(const char * ctrl, const XTreeIndex * ti, int col, real null_value = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
    4. [i] real null_value = 0:
  • return value:

bool getTreeChecked(const char * ctrl, const XTreeIndex * ti, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
  • return value:

int getTreeEditInt(const char * ctrl, const XTreeIndex * ti, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
  • return value:

const char * getTreeEditString(const char * ctrl, const XTreeIndex * ti, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
  • return value:

void openTreeEditor(const char * ctrl, const XTreeIndex * ti, int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
    3. [i] int col:
  • return value:

int getTreeCurrentIndex(const char * ctrl, XTreeIndex * ti)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] XTreeIndex * ti:
  • return value:

int getTreeItemValue(const char * ctrl, XTreeIndex * ti,int col)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] XTreeIndex * ti:
    3. [i]int col:
  • return value:

int getTreeChildCount(const char * ctrl, const XTreeIndex * ti)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XTreeIndex * ti:
  • return value:

void removeTreeItem(const char * ctrl, XTreeIndex * ti)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] XTreeIndex * ti:
  • return value:

void moveTreeItem(const char * ctrl, XTreeIndex * from, XTreeIndex * to)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] XTreeIndex * from:
    3. [i] XTreeIndex * to:
  • return value:

void setCurveData(const char * ctrl, const XDataXY * xyc)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XDataXY * xyc:
  • return value:

void setHeaderTitle(const char * ctrl, const char * title, int index = 0, int width = -1)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * title:
    3. [i] int index = 0:
    4. [i] int width = -1:
  • return value:

void setControlSize(const char * ctrl, int width, int height)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int width:
    3. [i] int height:
  • return value:

void getFieldData(const char * ctrl, XDataField * fd)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] XDataField * fd:
  • return value:

void setFieldData(const char * ctrl, const XDataField * fd)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const XDataField * fd:
  • return value:

void layoutBegin()

  • function:
  • parameters: NULL
  • return value:

void layoutEnd()

  • function:
  • parameters: NULL
  • return value:

const char * getOpenFile(const char * title,const char * description, const char * filter, const char * dir = NULL, const char * buddy = NULL)

  • function:
  • parameters:
    1. [i]const char * title:
    2. [i]const char * description:
    3. [i] const char * filter:
    4. [i] const char * dir = NULL:
    5. [i] const char * buddy = NULL:
  • return value:

const char * getSaveFile(const char * title, const char * description, const char * filter, const char * dir = NULL, const char * buddy = NULL)

  • function:
  • parameters:
    1. [i]const char * title:
    2. [i] const char * description:
    3. [i] const char * filter:
    4. [i] const char * dir = NULL:
    5. [i] const char * buddy = NULL:
  • return value:

const char * getDir(const char * title, const char * defaultDir = “”, const char * buddy = NULL)

  • function:
  • parameters:
    1. [i]const char * title:
    2. [i] const char * defaultDir = “”:
    3. [i] const char * buddy = NULL:
  • return value:

bool getColor(uint8* out_rgba,uint8 * initial = 0)

  • function:
  • parameters:
    1. [i]uint8* out_rgba:
    2. [i]uint8 * initial = 0:
  • return value:

bool getImageSize(const char * img, int * w, int * h)

  • function:
  • parameters:
    1. [i]const char * img:
    2. [i] int * w:
    3. [i] int * h:
  • return value:

void popSubDialog(const char * dlg_xml)

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

void setMarkdownContent(const char * ctrl, const char * content)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * content:
  • return value:

void saveMarkdown(const char * ctrl, const char * fname)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * fname:
  • return value:

void loadMarkdown(const char * ctrl, const char * fname)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * fname:
  • return value:

void loadHtml(const char * ctrl, const char * fname)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * fname:
  • return value:

void reset()

  • function:
  • parameters: NULL
  • return value:

void show()

  • function:
  • parameters: NULL
  • return value:

void hide()

  • function:
  • parameters: NULL
  • return value:

void updateTo(void * param)

  • function:
  • parameters:
    1. [i]void * param:
  • return value:

void updateFrom(void * param)

  • function:
  • parameters:
    1. [i]void * param:
  • return value:

ICommand* getCurrentCmd()

  • function:
  • parameters: NULL
  • return value:

void setLineEditInputRule(const char * wgtname,const char * rule)

  • function:
  • parameters:
    1. [i]const char * wgtname:
    2. [i]const char * rule:
  • return value:

void setCurrentCommand(ICommand * pCmd)

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

MainFrame * getFrame()

  • function:
  • parameters: NULL
  • return value:

void init()

  • function:
  • parameters: NULL
  • return value:

void suspend()

  • function:
  • parameters: NULL
  • return value:

static QValidator * getRule(const char * ruleName)

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

QLabel * createWidgetLabel(const char * wgtname,const char * labelStr)

  • function:
  • parameters:
    1. [i]const char * wgtname:
    2. [i]const char * labelStr:
  • return value:

QComboBox * createTableCombo(const char * wgtname)

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

void initComboItems(const char * wgt, const XManager * mgr,int default_id = 0, TypeID filterType = DItem_Unknown)

  • function:
  • parameters:
    1. [i]const char * wgt:
    2. [i] const XManager * mgr:
    3. [i]int default_id = 0:
    4. [i] TypeID filterType = DItem_Unknown:
  • return value:

QWidget * getWidget(const char * name,TypeID type = Control_None)

  • function:
  • parameters:
    1. [i]const char * name:
    2. [i]TypeID type = Control_None:
  • return value:

const char * getWidgetName(QWidget * pw)

  • function:
  • parameters:
    1. [i]QWidget * pw:
  • return value:

QLayout * getLayout(const char * name)

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

void registerMap(const char * name,void * ptr)

  • function:
  • parameters:
    1. [i]const char * name:
    2. [i]void * ptr:
  • return value:

void loadFromXml(const char * config)

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

void removeItem(void * ptr)

  • function:
  • parameters:
    1. [i]void * ptr:
  • return value:

CmdWidget * createChildWidget(const char * xml,QLayout * lay)

  • function:
  • parameters:
    1. [i]const char * xml:
    2. [i]QLayout * lay:
  • return value:

CmdWidget * createSheetWidget(const char * sheet,QLayout * lay)

  • function:
  • parameters:
    1. [i]const char * sheet:
    2. [i]QLayout * lay:
  • return value:

void destroyChildWidget(CmdWidget * wgt)

  • function:
  • parameters:
    1. [i]CmdWidget * wgt:
  • return value:

QWidget * getWidgetWithoutException(const char * name)

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

void saveToXml(const char * fname)

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

ControlItem getControlItem(const char * name)

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

bool addInputString(const char * str)

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

void appendInputLine(const char * editName)

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

void accept ()

  • function:
  • parameters: NULL
  • return value:

void apply()

  • function:
  • parameters: NULL
  • return value:

void cancel()

  • function:
  • parameters: NULL
  • return value:

void setWndButtonVisible(int btnID, bool bVisible)

  • function:
  • parameters:
    1. [i]int btnID:
    2. [i] bool bVisible:
  • return value:

void setWndButtonEnable(int btnID, bool bEnable)

  • function:
  • parameters:
    1. [i]int btnID:
    2. [i] bool bEnable:
  • return value:

bool configControl(const char * name, const char * config)

  • function:
  • parameters:
    1. [i]const char * name:
    2. [i] const char * config:
  • return value:

bool exchangeColorData(const char * ctrl, RGBAColor & value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] RGBAColor & value:
  • return value:

bool exchangeEditData(const char * ctrl,float & value, float default_v = XREAL_MAX)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]float & value:
    3. [i] float default_v = XREAL_MAX:
  • return value:

bool exchangeEditData(const char * ctrl,double & value, double default_v = XREAL_MAX)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]double & value:
    3. [i] double default_v = XREAL_MAX:
  • return value:

bool exchangeUnitEditData(const char * ctrl, double & value, TypeID utype, double default_v = XREAL_MAX)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] double & value:
    3. [i] TypeID utype:
    4. [i] double default_v = XREAL_MAX:
  • return value:

bool exchangeEditDataWithUnitCombo(const char * valueEdit, const char * unitCombo, double & value, double default_v = XREAL_MAX)

  • function:
  • parameters:
    1. [i]const char * valueEdit:
    2. [i] const char * unitCombo:
    3. [i] double & value:
    4. [i] double default_v = XREAL_MAX:
  • return value:

bool exchangeEditData(const char * ctrl,RealVar & value, real default_v = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]RealVar & value:
    3. [i] real default_v = 0:
  • return value:

bool exchangeComboData(const char * ctrl,int & value,int default_v = 0)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]int & value:
    3. [i]int default_v = 0:
  • return value:

bool exchangeSpinData(const char * ctrl, int & value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] int & value:
  • return value:

bool exchangeCheckData(const char * ctrl,bool & value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]bool & value:
  • return value:

bool exchangeSubCheckData(const char * ctrl, const char * sub, bool & value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * sub:
    3. [i] bool & value:
  • return value:

bool exchangeRadioCheckData(const char * ctrl,int & value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]int & value:
  • return value:

bool exchangeEditData(const char * ctrl,int & value, int default_v = XINT_MAX)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]int & value:
    3. [i] int default_v = XINT_MAX:
  • return value:

bool exchangeEditData(const char * ctrl,char * value, const char * default_v = “”)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]char * value:
    3. [i] const char * default_v = “”:
  • return value:

bool exchangeFieldData(const char * ctrl,XDataField & value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]XDataField & value:
  • return value:

bool exchangeCurveData(const char * ctrl,XDataXY & value)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]XDataXY & value:
  • return value:

bool exchangeSheetData(const char * ctrl,const char * config)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i]const char * config:
  • return value:

bool exchangeLabelOption(const char * ctrl, const char * varName, LabelVarSection & varSection)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] const char * varName:
    3. [i] LabelVarSection & varSection:
  • return value:

bool exchangeLabelVar(const char * ctrl, LabelVar & varSection)

  • function:
  • parameters:
    1. [i]const char * ctrl:
    2. [i] LabelVar & varSection:
  • return value:

void setExchangeMode(DataExchangeMode bGetOrSet)

  • function:
  • parameters:
    1. [i]DataExchangeMode bGetOrSet:
  • return value:

DataExchangeMode getExchangeMode()

  • function:
  • parameters: NULL
  • return value:

void loadSheet(QTableWidget * wgt,const char * sheetFile)

  • function:
  • parameters:
    1. [i]QTableWidget * wgt:
    2. [i]const char * sheetFile:
  • return value:

void saveSheet(QTableWidget * wgt,const char * sheetFile)

  • function:
  • parameters:
    1. [i]QTableWidget * wgt:
    2. [i]const char * sheetFile:
  • return value:

void onViewChanged()

  • function:
  • parameters: NULL
  • return value:

void onPickChanged()

  • function:
  • parameters: NULL
  • return value:

void updateData(bool bSave)

  • function:
  • parameters:
    1. [i]bool bSave:
  • return value:

void connectSignalSlot()

  • function:
  • parameters: NULL
  • return value:

void linkWidget(QWidget * wgt, const char * to, const char * singal, const char * slot)

  • function:
  • parameters:
    1. [i]QWidget * wgt:
    2. [i] const char * to:
    3. [i] const char * singal:
    4. [i] const char * slot:
  • return value:

void registerConnect(QWidget * wgt, const char * connectStr)

  • function:
  • parameters:
    1. [i]QWidget * wgt:
    2. [i] const char * connectStr:
  • return value:

QWidget * addStackChild(QWidget * stack, const QString & url, const QString & name, const QString & linkBuddy)

  • function:
  • parameters:
    1. [i]QWidget * stack:
    2. [i] const QString & url:
    3. [i] const QString & name:
    4. [i] const QString & linkBuddy:
  • return value:

void showGroupByComoboOption(int)

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

void onTreeItemChild_NoAdjust(QTreeWidgetItem * item, int column)

  • function:
  • parameters:
    1. [i]QTreeWidgetItem * item:
    2. [i] int column:
  • return value:

void popDialog()

  • function:
  • parameters: NULL
  • return value:

void setCurrentWidget(int index)

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

void setCurrentWidget(QTreeWidgetItem * item, int column)

  • function:
  • parameters:
    1. [i]QTreeWidgetItem * item:
    2. [i] int column:
  • return value:

void setCurrentWidget(QTreeWidgetItem * current, QTreeWidgetItem * previous)

  • function:
  • parameters:
    1. [i]QTreeWidgetItem * current:
    2. [i] QTreeWidgetItem * previous:
  • return value:

void setCurrentWidget(QListWidgetItem * item)

  • function:
  • parameters:
    1. [i]QListWidgetItem * item:
  • return value:

void setCurrentWidget(QListWidgetItem * current, QListWidgetItem * previous)

  • function:
  • parameters:
    1. [i]QListWidgetItem * current:
    2. [i] QListWidgetItem * previous:
  • return value:

void setCurrentWidget()

  • function:
  • parameters: NULL
  • return value:

void onCloseTreeItemEditor()

  • function:
  • parameters: NULL
  • return value:

void onTabChange(int index)

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

void onDrop()

  • function:
  • parameters: NULL
  • return value:

void checkAll()

  • function:
  • parameters: NULL
  • return value:

void uncheckAll()

  • function:
  • parameters: NULL
  • return value:

void checkInverse()

  • function:
  • parameters: NULL
  • return value:

void controlChanged()

  • function:
  • parameters: NULL
  • return value:

void onEditTreeItem(QTreeWidgetItem * wti, int col)

  • function:
  • parameters:
    1. [i]QTreeWidgetItem * wti:
    2. [i] int col:
  • return value:

void onWidgetAction()

  • function:
  • parameters: NULL
  • return value:

void validateEdit(const QString & newStr)

  • function:
  • parameters:
    1. [i]const QString & newStr:
  • return value:

void resizeEvent ( QResizeEvent * event )

  • function:
  • parameters:
    1. [i] QResizeEvent * event :
  • return value:

void closeEvent ( QCloseEvent * event )

  • function:
  • parameters:
    1. [i] QCloseEvent * event :
  • return value:

void inform(QString msg)

  • function:
  • parameters:
    1. [i]QString msg:
  • return value:

void keyPressEvent(QKeyEvent *event)

  • function:
  • parameters:
    1. [i]QKeyEvent *event:
  • return value:

void moveEvent( QMoveEvent * event )

  • function:
  • parameters:
    1. [i] QMoveEvent * event :
  • return value:

bool event(QEvent *event)

  • function:
  • parameters:
    1. [i]QEvent *event:
  • return value:

void setCurrentWidget(const QString & stackName, const QString & subName, const QVariant & refUrl, const QString & buddyName = QString())

  • function:
  • parameters:
    1. [i]const QString & stackName:
    2. [i] const QString & subName:
    3. [i] const QVariant & refUrl:
    4. [i] const QString & buddyName = QString(:
  • return value:

void checkStackBuddies(const QString & stackName, const QString & cur)

  • function:
  • parameters:
    1. [i]const QString & stackName:
    2. [i] const QString & cur:
  • return value:

bool onAccept()

  • function:
  • parameters: NULL
  • return value:

void onCancel()

  • function:
  • parameters: NULL
  • return value:

void onApply()

  • function:
  • parameters: NULL
  • return value:

void onHelp()

  • function:
  • parameters: NULL
  • return value:

void onCollapsePanel(bool bOn)

  • function:
  • parameters:
    1. [i]bool bOn:
  • return value:

void onEnablePanel(bool bEnable)

  • function:
  • parameters:
    1. [i]bool bEnable:
  • return value:

void test()

  • function:
  • parameters: NULL
  • return value:

void invalidateLayout()

  • function:
  • parameters: NULL
  • return value:

void initComboOptions()

  • function:
  • parameters: NULL
  • return value:

QTreeWidgetItem * getTreeItem(QTreeWidget * tr, const XTreeIndex * ti, bool bCreateIfNone = true)

  • function:
  • parameters:
    1. [i]QTreeWidget * tr:
    2. [i] const XTreeIndex * ti:
    3. [i] bool bCreateIfNone = true:
  • return value:

QTreeWidgetItem * insertTreeItem(QTreeWidget * tr, const XTreeIndex * ti)

  • function:
  • parameters:
    1. [i]QTreeWidget * tr:
    2. [i] const XTreeIndex * ti:
  • return value:
class/ui/xcommandwnd.txt · Last modified: 2023/05/06 07:01 (external edit)