122 virtual void destroyWidget();
123 void eventNotify(
unsigned int event, uintptr_t lParam);
124 static void initClass();
125 static void exitClass();
126 virtual void updateFromSensor(
SoSensor* sensor);
128 virtual void resetSize();
130 void updateLabelWidget();
131 void updateRadioButtonsWidget();
140 int m_arrayNumButtons;
147 SoWidget m_labelTextWidget;
148 SoWidget m_labelFrameWidget;
149 SbBool m_itemsChangeFromSensor;
151 void computeNewButtonsHeight(
SbVec2i32 &rSize);
152 void createLabelWidget();
153 void createRadioButtonsWidget(
int index);
154 virtual SbVec2i32 getComponentInitSize();
159 virtual void changeLabelVisibility();
160 virtual void changeLabelAlignment();
161 virtual void changeEnable();
162 virtual void changeWidgetEnable(
SbBool state);
163 virtual void changeLabel();
164 virtual void changeEdgeStyle();
165 virtual void changeSelectedItem();
167 void changeItemText(
int index,
SbString newText);
172 static char* DialogRadioButtons;
173 static void change3DSkin();
174 static SbBool isSkinLoaded();
175 static void setSkinLoaded(
SbBool loaded);
178 SO_DG_CATALOG_ENTRY_HEADER( frameSep );
179 SO_DG_CATALOG_ENTRY_HEADER( frame );
180 SO_DG_CATALOG_ENTRY_HEADER( labelSep );
181 SO_DG_CATALOG_ENTRY_HEADER( labelSwitch );
182 SO_DG_CATALOG_ENTRY_HEADER( labelProp );
183 SO_DG_CATALOG_ENTRY_HEADER( itemsSep );
184 SO_DG_CATALOG_ENTRY_HEADER( itemSep );
185 SO_DG_CATALOG_ENTRY_HEADER( itemFrameSep );
186 SO_DG_CATALOG_ENTRY_HEADER( itemFrame );
187 SO_DG_CATALOG_ENTRY_HEADER( itemBtnSep );
188 SO_DG_CATALOG_ENTRY_HEADER( itemBtnSwtch );
189 SO_DG_CATALOG_ENTRY_HEADER( stateOff );
190 SO_DG_CATALOG_ENTRY_HEADER( stateOn );
191 SO_DG_CATALOG_ENTRY_HEADER( itemTextSep );
192 SO_DG_CATALOG_ENTRY_HEADER( itemTextProp );
194 SoScale *radioLabelFrameScale, *radioItemFrameScale, *radioItemButtonScale;
196 SoTranslation *radioLabelFrameTranslation, *radioTranslation, *radioItemTranslation;
197 SoTranslation *radioItemButtonTranslation, *radioItemTextTranslation;
198 SoTransform *radioLabelFrameTransform, *radioItemFrameTransform;
204 static SbBool m_isSkinLoaded;
208 void create3DDialogRadioButtons();
209 void update3DRadioButtons();
210 void update3DLabel();
213 void change3DItems();
214 virtual void change3DSelectedItem();
217 virtual void change3DLabelVisibility();
220 virtual void change3DLabel();
221 virtual void change3DLabelAlignment();
223 static void finishCB3D(
void *,
SoDragger *inDragger );
224 void draggerFinishCallback3D();