173 virtual void destroyWidget();
174 virtual void eventNotify(
unsigned int event, uintptr_t param);
176 static void initClass();
177 static void exitClass();
178 virtual void updateFromSensor(
SoSensor* sensor);
179 void processEvent(
SbBool force);
181 void updateLabelWidget();
182 void updateEditTextWidget();
184 void applyDlgCptAuditor();
195 void createLabelWidget();
196 void createEditTextWidget();
197 virtual SbVec2i32 getComponentInitSize();
200 virtual void changeEditable();
201 virtual void changeMultiLine();
202 virtual void changeWrapLine();
203 virtual void changeEditText();
204 virtual void changeEnable();
205 virtual void changeWidgetEnable(
SbBool state);
206 virtual void changeLabel();
207 virtual void changeLabelAlignment();
208 virtual void changeLabelVisibility();
209 virtual void changeEdgeStyle();
211 virtual void setFocus();
222 static char* DialogEditText;
223 static void change3DSkin();
224 static SbBool isSkinLoaded();
225 static void setSkinLoaded(
SbBool loaded);
226 void insertCharTo3DText(
char c);
227 void removeCharIn3DText();
278 SoText3 *editTextText, *editTextLabel;
279 SoTranslation *editTextLabelTranslation, *editTextFrameTranslation;
280 SoTranslation *editTextTextTranslation, *scrollVCursorTranslation, *scrollHCursorTranslation;
281 SoTranslation *editTextDownTranslation, *editTextUpTranslation;
282 SoTranslation *editTextLeftTranslation, *editTextRightTranslation;
283 SoTranslation *editTextScrollVTranslation, *scrollVCursorPosTranslation, *editTextCaretTranslation;
284 SoTranslation *editTextScrollHTranslation, *scrollHCursorPosTranslation, *editTextScrollTextTranslation;
286 SoScale *editTextButtonScale, *editTextScrollVScale, *editTextScrollHScale;
287 SoScale *scrollVCursorScale, *scrollHCursorScale, *editTextCaretScale;
288 SoTransform *editTextFrameTransform, *scrollVFrameTransform, *scrollHFrameTransform;
289 SoClipPlane *editTextClipPlaneTop, *editTextClipPlaneBottom;
290 SoClipPlane *editTextClipPlaneLeft, *editTextClipPlaneRight;
295 SbVec3f m_initialVPos, m_initialHPos;
298 int m_current3DCaretPos;
302 void create3DDialogEditText();
303 void update3DEditText();
304 void update3DLabel();
305 void update3DCursors();
306 void update3DScrollBars();
307 void update3DTextPosition();
308 void update3DTextScrollPosition();
309 void move3DCursor(
float inc);
310 void move3DCaret(
int line,
int pos);
311 void update3DTextCache(
int prevLine);
314 void change3DEditText();
315 virtual void change3DLabelVisibility();
316 virtual void change3DLabel();
317 virtual void change3DLabelAlignment();
318 virtual void set3DInactive();
320 static void startCB3D(
void *,
SoDragger *inDragger );
321 static void motionCB3D(
void *,
SoDragger *inDragger );
322 static void finishCB3D(
void *,
SoDragger *inDragger );
324 void draggerStartCallback3D();
325 void draggerMotionCallback3D();
326 void draggerFinishCallback3D();
328 void finish3DEditing();
330 static SbBool m_isSkinLoaded;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Dialog EditText ...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Dialog EditText ...
void removeAuditor(SoDialogEditTextAuditor *auditor)
Removes the specified editTextAuditor from the auditor list.
SoSFBool editable
Allows writing in the edit zone.
void addAuditor(SoDialogEditTextAuditor *auditor)
Adds a dialogEditTextAuditor to the current editText component.
SoSFBool trigOnEnter
When trigOnEnter is TRUE, the associated auditor is called only when the <ENTER> key is pressed.
SoSFBool isNumeric
Specifies if typed text is numeric only.