blob: 6a7d78bb33af2982319928a792d2582d25395477 (
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
31
32
33
34
|
#ifndef CONFIGURATIONDIALOG_H
#define CONFIGURATIONDIALOG_H
#include <QDialog>
class QLineEdit;
class QCheckBox;
class QLabel;
class QRadioButton;
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);
void selectBeet(bool checked);
private:
void readSettings();
QLineEdit *mDbHost;
QLineEdit *mDbUser;
QLineEdit *mDbPass;
QLineEdit *mDbName;
QLabel *mBaseColorL;
QLabel *mAltColorL;
QCheckBox *mUseAltColors;
QRadioButton *mUseBeetRB;
QLineEdit *mScanDir;
};
#endif // CONFIGURATIONDIALOG_H
|