====== XPickWnd ====== **//Inherited from//** [[class::xwnd|XWnd]], **//Inherited by//** NULL **//Friend class//** NULL **//Description//** **//Members//** * XPickView * [[xpickwnd#m_plistview|m_pListView]] * QListWidget * [[xpickwnd#m_pgrplist|m_pGrpList]] * QHBoxLayout * [[xpickwnd#m_proleslayout|m_pRolesLayout]] * QLabel * [[xpickwnd#m_plabel|m_pLabel]] * vector [[xpickwnd#m_prolelist|m_pRoleList]] * TreeNode * [[xpickwnd#m_plabelitem|m_pLabelItem]] * int [[xpickwnd#m_ipickmode|m_iPickMode]] * int [[xpickwnd#m_imethod|m_iMethod]] * double [[xpickwnd#m_dangletol|m_dAngleTol]] **//Public interface//** * [[xpickwnd#xpickwnd1|XPickWnd]](MainFrame * frame,QWidget * par) * [[xpickwnd#~xpickwnd|~XPickWnd]]() * void [[xpickwnd#initwindow|initWindow]]() * void [[xpickwnd#reset|reset]]() * void [[xpickwnd#setlabelitem|setLabelItem]](TreeNode * pItem) * void [[xpickwnd#showlabel|showLabel]]() * void [[xpickwnd#hidelabel|hideLabel]]() * void [[xpickwnd#oncontrolevent|onControlEvent]](const char * ctrlName, TypeID event = Event_Any) * void [[xpickwnd#ondataexchange|onDataExchange]](const char * dixdiag = 0) * void [[xpickwnd#updategrouplist|updateGroupList]](XManager * grpMgr) * void [[xpickwnd#updaterole|updateRole]]() * void [[xpickwnd#updatelabel|updateLabel]]() * XPickView * [[xpickwnd#getview|getView]]() * void [[xpickwnd#clear|clear]]() * void [[xpickwnd#onrolechanged|onRoleChanged]](int roleIndex) * void [[xpickwnd#onroletoggled|onRoleToggled]]() * void [[xpickwnd#oninitgroup|onInitGroup]]() * void [[xpickwnd#onselectconormal|onSelectCoNormal]]() * void [[xpickwnd#onselectcylinder|onSelectCylinder]]() * void [[xpickwnd#onselectgroup|onSelectGroup]]() * void [[xpickwnd#onapply|onApply]]() * void [[xpickwnd#onbacktonormal|onBackToNormal]]() ---- {{anchor:m_plistview}} **XPickView * m_pListView** {{anchor:m_pgrplist}} **QListWidget * m_pGrpList** {{anchor:m_proleslayout}} **QHBoxLayout * m_pRolesLayout** {{anchor:m_plabel}} **QLabel * m_pLabel** {{anchor:m_prolelist}} **vector m_pRoleList** {{anchor:m_plabelitem}} **TreeNode * m_pLabelItem** {{anchor:m_ipickmode}} **int m_iPickMode** {{anchor:m_imethod}} **int m_iMethod** {{anchor:m_dangletol}} **double m_dAngleTol** ---- {{anchor:xpickwnd1}} **XPickWnd(MainFrame * frame,QWidget * par)** *function: *parameters: - [i]MainFrame * frame: - [i]QWidget * par: *return value: {{anchor:~xpickwnd}} **~XPickWnd()** *function: *parameters: NULL *return value: {{anchor:initwindow}} **void initWindow()** *function: *parameters: NULL *return value: {{anchor:reset}} **void reset()** *function: *parameters: NULL *return value: {{anchor:setlabelitem}} **void setLabelItem(TreeNode * pItem)** *function: *parameters: - [i]TreeNode * pItem: *return value: {{anchor:showlabel}} **void showLabel()** *function: *parameters: NULL *return value: {{anchor:hidelabel}} **void hideLabel()** *function: *parameters: NULL *return value: {{anchor:oncontrolevent}} **void onControlEvent(const char * ctrlName, TypeID event = Event_Any)** *function: *parameters: - [i]const char * ctrlName: - [i] TypeID event = Event_Any: *return value: {{anchor:ondataexchange}} **void onDataExchange(const char * dixdiag = 0)** *function: *parameters: - [i]const char * dixdiag = 0: *return value: {{anchor:updategrouplist}} **void updateGroupList(XManager * grpMgr)** *function: *parameters: - [i]XManager * grpMgr: *return value: {{anchor:updaterole}} **void updateRole()** *function: *parameters: NULL *return value: {{anchor:updatelabel}} **void updateLabel()** *function: *parameters: NULL *return value: {{anchor:getview}} **XPickView * getView()** *function: *parameters: NULL *return value: {{anchor:clear}} **void clear()** *function: *parameters: NULL *return value: {{anchor:onrolechanged}} **void onRoleChanged(int roleIndex)** *function: *parameters: - [i]int roleIndex: *return value: {{anchor:onroletoggled}} **void onRoleToggled()** *function: *parameters: NULL *return value: {{anchor:oninitgroup}} **void onInitGroup()** *function: *parameters: NULL *return value: {{anchor:onselectconormal}} **void onSelectCoNormal()** *function: *parameters: NULL *return value: {{anchor:onselectcylinder}} **void onSelectCylinder()** *function: *parameters: NULL *return value: {{anchor:onselectgroup}} **void onSelectGroup()** *function: *parameters: NULL *return value: {{anchor:onapply}} **void onApply()** *function: *parameters: NULL *return value: {{anchor:onbacktonormal}} **void onBackToNormal()** *function: *parameters: NULL *return value: