summaryrefslogtreecommitdiffstats
path: root/configurationdialog.h
blob: 36f63f89807d02e21b03ddf6cde4b93bcf04e92e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef CONFIGURATIONDIALOG_H
#define CONFIGURATIONDIALOG_H

#include <QDialog>

class QLineEdit;
class QCheckBox;
class QLabel;

class ConfigurationDialog : public QDialog {
    Q_OBJECT
    public:
        explicit ConfigurationDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);

    public slots:
        virtual void accept();
        void chooseColor(QWidget *label);

    private:
        void readSettings();
        QLineEdit *mDbHost;
        QLineEdit *mDbUser;
        QLineEdit *mDbPass;
        QLineEdit *mDbName;
        QLabel *mBaseColorL;
        QLabel *mAltColorL;
        QCheckBox *mUseAltColors;
};

#endif // CONFIGURATIONDIALOG_H