19 #include <QLabel> |
19 #include <QLabel> |
20 #include <QFileDialog> |
20 #include <QFileDialog> |
21 #include <QFormLayout> |
21 #include <QFormLayout> |
22 #include <QProgressBar> |
22 #include <QProgressBar> |
23 #include <QMessageBox> |
23 #include <QMessageBox> |
24 #include <QUrl> |
|
25 #include <QNetworkAccessManager> |
|
26 #include <QNetworkRequest> |
|
27 #include <QNetworkReply> |
|
28 #include "config.h" |
24 #include "config.h" |
29 #include "ui_configbox.h" |
25 #include "ui_configbox.h" |
30 #include "misc.h" |
26 #include "misc.h" |
31 #include "demo.h" |
27 #include "demo.h" |
32 #include "build/moc_config.cpp" |
28 #include "build/moc_config.cpp" |
50 QLineEdit* m_editWidget; |
46 QLineEdit* m_editWidget; |
51 }; |
47 }; |
52 |
48 |
53 // ============================================================================= |
49 // ============================================================================= |
54 // ----------------------------------------------------------------------------- |
50 // ----------------------------------------------------------------------------- |
55 ConfigBox::ConfigBox (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f), |
51 ConfigBox::ConfigBox (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f) { |
56 m_nam (new QNetworkAccessManager (this)) { |
|
57 ui = new Ui_ConfigBox; |
52 ui = new Ui_ConfigBox; |
58 ui->setupUi (this); |
53 ui->setupUi (this); |
59 ui->updateProgress->hide(); |
54 ui->updateProgress->hide(); |
60 ui->updateLabel->hide(); |
55 ui->updateLabel->hide(); |
61 |
56 |