27 #ifndef GEOMBASE_SKELETON_H
28 #define GEOMBASE_SKELETON_H
36 class SalomeApp_DoubleSpinBox;
46 # define COORD_MIN -1e+15
47 # define COORD_MAX +1e+15
48 # define MAX_NUMBER 100000
49 # define DBL_DIGITS_DISPLAY 16
64 void initSpinBox( QSpinBox*,
int,
int,
int = 1 );
65 void initSpinBox( SalomeApp_DoubleSpinBox*,
double,
double,
double = 0.1,
const char* =
"length_precision" );
67 void updateAttributes( GEOM::GEOM_Object_ptr,
const QStringList& );
69 void closeEvent( QCloseEvent* );
70 void keyPressEvent( QKeyEvent* );
74 void initName(
const QString& = QString() );
82 int getConstructorId()
const;
85 void setConstructorId(
const int );
88 void unsetConstructorId();
90 void showOnlyPreviewControl();
92 void setHelpFileName(
const QString& );
96 QPushButton* buttonCancel()
const;
97 QPushButton* buttonOk()
const;
98 QPushButton* buttonApply()
const;
99 QPushButton* buttonHelp()
const;
108 QString myHelpContext;
112 virtual void ClickOnCancel();
113 virtual void processPreview();
114 void LineEditReturnPressed();
115 void DeactivateActiveDialog();
116 void ActivateThisDialog();
117 virtual void ClickOnHelp();
120 void constructorsClicked(
int );
123 #endif // GEOMBASE_SKELETON_H