65 void fillDefaults (int newcam); |
66 void fillDefaults (int newcam); |
66 }; |
67 }; |
67 |
68 |
68 // ============================================================================= |
69 // ============================================================================= |
69 class LDrawPathDialog : public QDialog |
70 class LDrawPathDialog : public QDialog |
70 { Q_OBJECT |
71 { |
|
72 Q_OBJECT |
71 |
73 |
72 public: |
74 public: |
73 explicit LDrawPathDialog (const bool validDefault, QWidget* parent = null, Qt::WindowFlags f = 0); |
75 explicit LDrawPathDialog (const bool validDefault, QWidget* parent = null, Qt::WindowFlags f = 0); |
74 virtual ~LDrawPathDialog(); |
76 virtual ~LDrawPathDialog(); |
75 str filename() const; |
77 str filename() const; |
89 void slot_accept(); |
91 void slot_accept(); |
90 }; |
92 }; |
91 |
93 |
92 // ============================================================================= |
94 // ============================================================================= |
93 class OpenProgressDialog : public QDialog |
95 class OpenProgressDialog : public QDialog |
94 { Q_OBJECT |
96 { |
|
97 Q_OBJECT |
95 PROPERTY (public, int, Progress, NUM_OPS, STOCK_WRITE) |
98 PROPERTY (public, int, Progress, NUM_OPS, STOCK_WRITE) |
96 PROPERTY (public, int, NumLines, NUM_OPS, CUSTOM_WRITE) |
99 PROPERTY (public, int, NumLines, NUM_OPS, CUSTOM_WRITE) |
97 |
100 |
98 public: |
101 public: |
99 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
102 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
108 void updateValues(); |
111 void updateValues(); |
109 }; |
112 }; |
110 |
113 |
111 // ============================================================================= |
114 // ============================================================================= |
112 class ExtProgPathPrompt : public QDialog |
115 class ExtProgPathPrompt : public QDialog |
113 { Q_OBJECT |
116 { |
|
117 Q_OBJECT |
114 |
118 |
115 public: |
119 public: |
116 explicit ExtProgPathPrompt (str progName, QWidget* parent = 0, Qt::WindowFlags f = 0); |
120 explicit ExtProgPathPrompt (str progName, QWidget* parent = 0, Qt::WindowFlags f = 0); |
117 virtual ~ExtProgPathPrompt(); |
121 virtual ~ExtProgPathPrompt(); |
118 str getPath() const; |
122 str getPath() const; |