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 |