Rev | Line | |
---|
[1054] | 1 | #ifndef BGIMAGEPAGE2_H
|
---|
| 2 | #define BGIMAGEPAGE2_H
|
---|
| 3 |
|
---|
| 4 | #include <QWizardPage>
|
---|
| 5 | #include <QBitmap>
|
---|
[1093] | 6 | #include <QDateTime>
|
---|
[1054] | 7 |
|
---|
| 8 | #include "utilvago.h"
|
---|
| 9 |
|
---|
| 10 | namespace Ui {
|
---|
| 11 | class BGImagePage2;
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | class BGImagePage2 : public QWizardPage
|
---|
| 15 | {
|
---|
| 16 | Q_OBJECT
|
---|
| 17 |
|
---|
| 18 | public:
|
---|
[1093] | 19 | explicit BGImagePage2(QWidget *parent = 0);
|
---|
[1054] | 20 | ~BGImagePage2();
|
---|
| 21 |
|
---|
| 22 | private slots:
|
---|
| 23 | void on_pbBrowse_clicked();
|
---|
| 24 |
|
---|
| 25 | private:
|
---|
| 26 |
|
---|
| 27 | Ui::BGImagePage2 *ui;
|
---|
| 28 | bool validateField(QString &field);
|
---|
| 29 | bool validatePage();
|
---|
| 30 | void setImage(const QString &imagePath, const QImage &image);
|
---|
| 31 | void initializePage();
|
---|
| 32 | };
|
---|
| 33 |
|
---|
| 34 | #endif // BGIMAGEPAGE2_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.