1 ///////////////////////////////////////////////////////////
2 // File : SierpinskyGUI_RunDlg.h
3 // Author : Vadim SANDLER (OCN)
5 // Copyright (C) 2005 Open CASCADE
6 ///////////////////////////////////////////////////////////
8 #ifndef __SIERPINSKYGUI_RUNDLG_H
9 #define __SIERPINSKYGUI_RUNDLG_H
22 class SierpinskyGUI_RunDlg : public QDialog
28 SierpinskyGUI_RunDlg( QWidget* );
30 ~SierpinskyGUI_RunDlg();
32 // Progress thread calls this method to update progress bar state
33 void nextStep( const int );
36 // process progress event
37 void customEvent( QCustomEvent* );
40 void accept(); // Called when user presses 'Start' button
41 void stop(); // Called when user presses 'Stop' button
42 void onBrowse(); // Browse file
43 void updateState(); // Update widgets state
44 void toggled(); // Toggle 'Base points' mode
49 QtxDblSpinBox* myStartX;
50 QtxDblSpinBox* myStartY;
51 QCheckBox* myStartRandom;
60 QCheckBox* myBaseRandom;
61 QCheckBox* myBaseDefault;
66 QCheckBox* myJpegCheck;
67 QLineEdit* myJpegFile;
68 QPushButton* myJpegBtn;
70 QCheckBox* myMedCheck;
72 QPushButton* myMedBtn;
73 QtxDblSpinBox* myMedSize;
74 QCheckBox* myVisuCheck;
76 QPushButton* myStartBtn;
77 QPushButton* myCancelBtn;
79 QProgressBar* myProgress;
85 #endif // __SIERPINSKYGUI_RUNDLG_H