23#ifndef _SO_TAB_DIALOG_
24#define _SO_TAB_DIALOG_
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;
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();
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();
284 static void startCB3D(
void *,
SoDragger *inDragger );
285 static void finishCB3D(
void *,
SoDragger *inDragger );
286 void draggerStartCallback3D();
287 void draggerFinishCallback3D();
#define SO_DG_HEADER(className)
#define FIELD_SENSOR(field)
#define SO_DG_CATALOG_ENTRY_HEADER(resource)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
virtual int findChild(const SoDialogComponent *child) const
Finds index of given child within group.
virtual SoNode * getChild(int index) const
Returns pointer to child node with the given index.
Base class for nodekits that move in response to click-drag-release mouse events.
Renders a scene graph using Open Inventor's Render Engine.
Multiple-value field containing any number of two-dimensional vectors.
Abstract base class for all database nodes.
Maintains a list of pointers to nodes.
Sensor class that can be attached to Open Inventor nodes.
Field containing an enumerated value.
Field containing a int32_t integer.
Node representing a 3D geometric scaling.
Abstract base class for Open Inventor sensors.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Tab Dialog audit...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class that creat...
SoSFEnum tabsLocation
Specifies location of the tabs.
@ LEFT
Tabs appear vertically on the left side of controls.
@ BOTTOM
Tabs appear at the bottom of the control.
@ RIGHT
Tabs appear vertically on the right side of controls.
@ TOP
Tabs appear at the top of the control (default).
void removeAuditor(SoTabDialogAuditor *auditor)
Removes the specified TabDialogAuditor from the auditor list.
SoSFInt32 selectedPage
Specifies currently selected tab page.
SoTabDialog()
Constructor.
void addAuditor(SoTabDialogAuditor *auditor)
Adds a TabDialogAuditor to current TabDialog component.
Node representing a 3D translation.