UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
QfNumericField Class Reference
Inheritance diagram for QfNumericField:
QfTextField QfBrick

Classes

union  NumberValue
 

Public Member Functions

 QfNumericField (const char *szLabel, Int1 *pNumVar, Int1 vMin=SCHAR_MIN, Int1 vMax=SCHAR_MAX, int mNFOptions=0)
 
 QfNumericField (const char *szLabel, Int2 *pNumVar, Int2 vMin=SHRT_MIN, Int2 vMax=SHRT_MAX, int mNFOptions=0)
 
 QfNumericField (const char *szLabel, Int4 *pNumVar, Int4 vMin=INT_MIN, Int4 vMax=INT_MAX, int mNFOptions=0)
 
 QfNumericField (const char *szLabel, Real4 *pNumVar, Real4 vMin=-FLT_MAX, Real4 vMax=FLT_MAX, int mNFOptions=0)
 
 QfNumericField (const char *szLabel, Real8 *pNumVar, Real8 vMin=-DBL_MAX, Real8 vMax=DBL_MAX, int mNFOptions=0)
 
virtual void store_gui ()
 
virtual void load_gui ()
 
- Public Member Functions inherited from QfTextField
 QfTextField (const char *szLabel, char *szString, int nMaxLen, int nWidth=QfTEXT_FIELD_WIDTH)
 
virtual void add_callback (const QCallback &qcb)
 
void set_editable (Logic flag)
 
Logic get_editable ()
 
- Public Member Functions inherited from QfBrick
 QfBrick ()
 
virtual ~QfBrick ()
 
 operator Widget () const
 
Widget widget () const
 
virtual QfType type () const
 
virtual void manage ()
 
virtual void radio_sensitive ()
 
virtual void set_sensitive (Logic flag)
 
virtual Logic get_sensitive ()
 
virtual void be_radio_active (const QRadioActive &qra)
 
virtual void realized ()
 

Protected Member Functions

virtual void this_to_scaler (char *szBuf=NULL)
 
virtual void scaler_to_this ()
 
virtual void create_self (Widget wParent)
 
virtual int parse_input (char *szInput, Int4 *pIntNumber, Real8 *pRealNumber)
 
virtual int check_input (char *szInput)
 
virtual void numeric_range_fault ()
 
virtual void convert_to_number_fault (char *szInput)
 
- Protected Member Functions inherited from QfBrick
virtual void radio_activity ()
 

Static Protected Member Functions

static void verify_text_cb (Widget w, XtPointer pUserData, XtPointer pCallData)
 
static void scale_changed_cb (Widget w, XtPointer pUserData, XtPointer pCallData)
 

Protected Attributes

char szTextBuf [QfNUMERIC_FIELD_LENGTH+1]
 
AtomType eType
 
int nfOptions
 
Widget wScaler
 
union QfNumericField::NumberValue t
 
- Protected Attributes inherited from QfTextField
Widget wLabel
 
Widget wTextField
 
XmString xmsLabel
 
char * szExtBuf
 
int nMaxLen
 
int nColumns
 
- Protected Attributes inherited from QfBrick
Widget wSelf
 
QCBDescrAr cbList
 
QRadioActiveqRA
 

Member Function Documentation

virtual void QfNumericField::create_self ( Widget  wParent)
protectedvirtual

XToolkit object creation - producing Widget/Gadget: Phase 3.

Reimplemented from QfTextField.

virtual void QfNumericField::load_gui ( )
virtual

Load value(s) from GUI-independent buffers to display them and allow user to edit them.

Reimplemented from QfTextField.

virtual void QfNumericField::store_gui ( )
virtual

Store entered value(s) in GUI-independent buffers, that can be accessed externally.

Reimplemented from QfTextField.


The documentation for this class was generated from the following file: