140 virtual void eventNotify(
unsigned int event, uintptr_t param);
142 static void initClass();
143 static void exitClass();
144 virtual void updateFromSensor(
SoSensor* sensor);
145 virtual void destroyWidget();
152 void changeTabSelectedPage(SoWidget widg);
153 void changeEnableChild(
int index);
154 void changePageLabel(
int index);
155 void updateSelectedPage();
156 void updateTabPageWidget(
int index);
157 void updateTabWidget();
161 virtual void removeChild(
int index);
163 virtual void removeAllChildren();
167 virtual void updateAfterSceneGraphChange();
170 virtual void internalRemoveChild(
int index ) { removeChild(index); }
172 virtual void internalRemoveAllChildren() { removeAllChildren(); }
173 virtual void internalAddChild(
SoNode *child ) { SoDialogGroup::internalAddChild(child); }
174 virtual int internalFindChild(
const SoNode *child )
const {
return SoDialogGroup::internalFindChild(child); }
175 virtual void internalInsertChild(
SoNode *child,
int newChildIndex ) { SoDialogGroup::internalInsertChild(child, newChildIndex); }
176 virtual SoNode *internalGetChild(
int index)
const {
return getChild(index); }
177 virtual void internalReplaceChild(
int index,
SoNode *newChild) { SoDialogGroup::internalReplaceChild(index,
dynamic_cast<SoDialogComponent*
>(newChild)); }
180 void* getLayout(
int index);
184 virtual void fixSizeWithBorder(
SbVec2i32 &size,
int revert = 1);
189 int m_previousSelected;
190 SoWidget m_tabWidget;
191 SoWidget m_arrowLeft;
192 SoWidget m_arrowRight;
193 SoWidget m_tabContainer;
196 void createTabWidget();
197 void createTabPageWidget(
int index);
198 void changeArrowState();
199 void updateMaskLine();
201 void drawItem(uintptr_t param);
203 virtual SbVec2i32 getComponentInitSize();
204 virtual void setChildrenComponentSize();
205 virtual void setChildrenLabelSize();
207 void changeFirstPageRight();
208 void changeFirstPageLeft();
209 virtual void changeSelectedPage();
210 virtual void changeEnable();
211 virtual void changeWidgetEnable(
SbBool state);
213 static void childrenSensor(
void *data,
SoSensor *sensor);
221 static char* TabDialog;
222 static void change3DSkin();
223 static SbBool isSkinLoaded();
224 static void setSkinLoaded(
SbBool loaded);
225 void change3DPages();
226 void applyDlgCptAuditor();
229 SO_DG_CATALOG_ENTRY_HEADER( pagesSep );
230 SO_DG_CATALOG_ENTRY_HEADER( pageSep );
231 SO_DG_CATALOG_ENTRY_HEADER( pageSwitch );
232 SO_DG_CATALOG_ENTRY_HEADER( labelSep );
233 SO_DG_CATALOG_ENTRY_HEADER( labelSwitch );
234 SO_DG_CATALOG_ENTRY_HEADER( selected );
235 SO_DG_CATALOG_ENTRY_HEADER( unselected );
236 SO_DG_CATALOG_ENTRY_HEADER( textSep );
237 SO_DG_CATALOG_ENTRY_HEADER( textProp );
238 SO_DG_CATALOG_ENTRY_HEADER( buttonsSep );
239 SO_DG_CATALOG_ENTRY_HEADER( lButtonSep );
240 SO_DG_CATALOG_ENTRY_HEADER( lButtonSwtch );
241 SO_DG_CATALOG_ENTRY_HEADER( lButtonPressed );
242 SO_DG_CATALOG_ENTRY_HEADER( lButtonReleased );
243 SO_DG_CATALOG_ENTRY_HEADER( rButtonSep );
244 SO_DG_CATALOG_ENTRY_HEADER( rButtonSwtch );
245 SO_DG_CATALOG_ENTRY_HEADER( rButtonPressed );
246 SO_DG_CATALOG_ENTRY_HEADER( rButtonReleased );
247 SO_DG_CATALOG_ENTRY_HEADER( frameSep );
248 SO_DG_CATALOG_ENTRY_HEADER( frame );
250 SoScale *tabFrameScale, *tabButtonsScale, *tabLabelFrameScale;
253 SoTranslation *tabFrameTranslation, *tabButtonsTranslation, *tabPageTranslation, *tabTextTranslation;
267 float m_mTabCacheDepth;
268 int m_prevNumOfChildren;
269 int m_frameLabelHeight;
271 SbBool m_changeComeFromCB;
272 static SbBool m_isSkinLoaded;
274 void create3DTabDialog();
275 void update3DTabDialog();
276 void change3DSelectedPage();
277 void update3DTabDialogPage(
int index);
278 void change3DFirstPageRight();
279 void change3DFirstPageLeft();
281 virtual void change3DPosition();
283 virtual void show3D(
SbBool show);
284 static void startCB3D(
void *,
SoDragger *inDragger );
285 static void finishCB3D(
void *,
SoDragger *inDragger );
286 void draggerStartCallback3D();
287 void draggerFinishCallback3D();