src/dialogs.h

changeset 337
4e05207c76c9
parent 335
30c11cff511d
child 370
843b3dbbd849
equal deleted inserted replaced
336:9dd47cc12ab8 337:4e05207c76c9
35 class RadioBox; 35 class RadioBox;
36 class CheckBoxGroup; 36 class CheckBoxGroup;
37 class QLabel; 37 class QLabel;
38 class QAbstractButton; 38 class QAbstractButton;
39 class Ui_OverlayUI; 39 class Ui_OverlayUI;
40 class Ui_LDPathUI;
40 41
41 class OverlayDialog : public QDialog 42 class OverlayDialog : public QDialog
42 { 43 {
43 Q_OBJECT 44 Q_OBJECT
44 45
63 void slot_dimensionsChanged(); 64 void slot_dimensionsChanged();
64 void fillDefaults( int newcam ); 65 void fillDefaults( int newcam );
65 }; 66 };
66 67
67 // ============================================================================= 68 // =============================================================================
68 class LDrawPathDialog : public QDialog { 69 class LDrawPathDialog : public QDialog
70 {
69 Q_OBJECT 71 Q_OBJECT
70 72
71 public: 73 public:
72 explicit LDrawPathDialog (const bool validDefault, QWidget* parent = null, Qt::WindowFlags f = 0); 74 explicit LDrawPathDialog( const bool validDefault, QWidget* parent = null, Qt::WindowFlags f = 0 );
73 str filename () const; 75 virtual ~LDrawPathDialog();
74 void setPath (str path); 76 str filename() const;
77 void setPath( str path );
75 78
76 private: 79 private:
77 Q_DISABLE_COPY (LDrawPathDialog) 80 Q_DISABLE_COPY( LDrawPathDialog )
78
79 QLabel* lb_resolution;
80 QLineEdit* le_path;
81 QPushButton* btn_findPath, *btn_cancel;
82 QDialogButtonBox* dbb_buttons;
83 const bool m_validDefault; 81 const bool m_validDefault;
84 82 Ui_LDPathUI* ui;
85 QPushButton* okButton (); 83 QPushButton* okButton();
84 QPushButton* cancelButton();
86 85
87 private slots: 86 private slots:
88 void slot_findPath (); 87 void slot_findPath();
89 void slot_tryConfigure (); 88 void slot_tryConfigure();
90 void slot_exit (); 89 void slot_exit();
91 }; 90 };
92 91
93 // ============================================================================= 92 // =============================================================================
94 class OpenProgressDialog : public QDialog { 93 class OpenProgressDialog : public QDialog {
95 Q_OBJECT 94 Q_OBJECT

mercurial