UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QfSelectionField.H
1 /* QfSelectionField.H */
2 /* $Id: QfSelectionField.H,v 1.3 2001/10/30 11:21:13 vlad Exp $ */
3 #ifndef __QfSelectionField_H
4 #define __QfSelectionField_H
5 
6 #include <zm/QfTextField.H>
7 
8 /***********************************************************************
9  * Select something and display result in text field.
10  * Need to define selection button definition.
11  */
12 
14 {
15 private:
16 
17  /* Callback on button activation */
18  static void SelButtonCB (Widget w, XtPointer pUserData,
19  XtPointer pCallData);
20 
21 protected:
22 
23  /* Selection button */
24  Widget wSelButton;
25 
26  /* Build itself */
27  virtual void create_self (Widget wParent);
28 
29  /* Override reaction to button activation */
30  virtual void click_select ();
31 
32 public:
33 
34  QfSelectionField (char* szLabel, char* szString, int nMaxLen,
35  int nWidth = QfTEXT_FIELD_WIDTH);
36 
37 };
38 
39 #endif /* QfSelectionField.H */
Definition: QfTextField.H:14
Definition: QfSelectionField.H:13
virtual void create_self(Widget wParent)