17 * |
14 * |
18 * 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 |
19 * 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/>. |
20 */ |
17 */ |
21 |
18 |
|
19 #ifndef ZANDEMO_CONFIG_H |
|
20 #define ZANDEMO_CONFIG_H |
|
21 |
22 #include <QDialog> |
22 #include <QDialog> |
23 #include "main.h" |
23 #include "main.h" |
24 #include "types.h" |
24 #include "types.h" |
25 |
25 |
|
26 class QFormLayout; |
26 class QNetworkReply; |
27 class QNetworkReply; |
27 class QHBoxLayout; |
28 class QHBoxLayout; |
28 class QLabel; |
29 class QLabel; |
29 class QAbstractButton; |
30 class QAbstractButton; |
30 class QLineEdit; |
31 class QLineEdit; |
33 |
34 |
34 class ConfigBox : public QDialog { |
35 class ConfigBox : public QDialog { |
35 Q_OBJECT |
36 Q_OBJECT |
36 |
37 |
37 public: |
38 public: |
38 explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 ); |
39 explicit ConfigBox (QWidget* parent = null, Qt::WindowFlags f = 0); |
39 virtual ~ConfigBox(); |
40 virtual ~ConfigBox(); |
40 void addPath( str path ); |
41 void addPath (str path); |
41 void initFromSettings(); |
42 void initFromSettings(); |
42 void saveSettings(); |
43 void saveSettings(); |
43 void initVersions(); |
44 void initVersions(); |
44 |
45 |
45 static str getBinaryPath (QWidget* parent); |
46 static str getBinaryPath (QWidget* parent); |