23 #include "main.h" |
23 #include "main.h" |
24 #include "types.h" |
24 #include "types.h" |
25 |
25 |
26 class QAbstractButton; |
26 class QAbstractButton; |
27 class Ui_UnknownVersion; |
27 class Ui_UnknownVersion; |
|
28 class Ui_FindFile; |
28 |
29 |
|
30 // ============================================================================= |
|
31 // ----------------------------------------------------------------------------- |
29 class UnknownVersionPrompt : public QDialog { |
32 class UnknownVersionPrompt : public QDialog { |
30 Q_OBJECT |
33 Q_OBJECT |
31 |
34 |
32 public: |
35 public: |
33 explicit UnknownVersionPrompt (str fileName, str binaryName, bool isRelease, |
36 explicit UnknownVersionPrompt (str fileName, str binaryName, bool isRelease, |
37 public slots: |
40 public slots: |
38 void findBinary(); |
41 void findBinary(); |
39 void addBinary(); |
42 void addBinary(); |
40 |
43 |
41 private: |
44 private: |
42 Ui_UnknownVersion* ui; |
45 Ui_UnknownVersion* ui; |
43 QString m_binaryString; |
46 QString m_binaryString; |
44 bool m_isRelease; |
47 bool m_isRelease; |
|
48 }; |
|
49 |
|
50 // ============================================================================= |
|
51 // ----------------------------------------------------------------------------- |
|
52 class FindFilePrompt : public QDialog { |
|
53 Q_OBJECT |
|
54 |
|
55 public: |
|
56 explicit FindFilePrompt (QWidget* parent = 0, Qt::WindowFlags f = 0); |
|
57 virtual ~FindFilePrompt(); |
|
58 |
|
59 str path() const; |
|
60 |
|
61 public slots: |
|
62 void findDemo(); |
|
63 |
|
64 private: |
|
65 Ui_FindFile* m_ui; |
45 }; |
66 }; |
46 |
67 |
47 #endif // ZANDEMO_PROMPTS_H |
68 #endif // ZANDEMO_PROMPTS_H |