689:397870c6ed38 | 690:9e9c52ca955e |
---|---|
14 * | 14 * |
15 * You should have received a copy of the GNU General Public License | 15 * You should have received a copy of the GNU General Public License |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ | 17 */ |
18 | 18 |
19 #ifndef LDFORGE_DIALOGS_H | 19 #pragma once |
20 #define LDFORGE_DIALOGS_H | |
21 | |
22 #include <QDialog> | 20 #include <QDialog> |
23 #include "Main.h" | 21 #include "Main.h" |
24 #include "Types.h" | 22 #include "Types.h" |
25 | 23 |
26 class Ui_ExtProgPath; | 24 class Ui_ExtProgPath; |
93 | 91 |
94 // ============================================================================= | 92 // ============================================================================= |
95 class OpenProgressDialog : public QDialog | 93 class OpenProgressDialog : public QDialog |
96 { | 94 { |
97 Q_OBJECT | 95 Q_OBJECT |
98 PROPERTY (public, int, Progress, NUM_OPS, STOCK_WRITE) | 96 PROPERTY (public, int, progress, setProgress, STOCK_WRITE) |
99 PROPERTY (public, int, NumLines, NUM_OPS, CUSTOM_WRITE) | 97 PROPERTY (public, int, numLines, setNumLines, CUSTOM_WRITE) |
100 | 98 |
101 public: | 99 public: |
102 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); | 100 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
103 virtual ~OpenProgressDialog(); | 101 virtual ~OpenProgressDialog(); |
104 | 102 |
139 private slots: | 137 private slots: |
140 void slot_mail(); | 138 void slot_mail(); |
141 }; | 139 }; |
142 | 140 |
143 void bombBox (const QString& message); | 141 void bombBox (const QString& message); |
144 | |
145 #endif // LDFORGE_DIALOGS_H |