blob: 90e5e476c218705b84b3ff03f9596bfe33ba8e02 (
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
35
36
37
38
39
40
41
42
43
|
#ifndef CONFIGURATIONWIDGET_H
#define CONFIGURATIONWIDGET_H
#include <QDialog>
#include <QVector>
#include <QColor>
class QLineEdit;
class ItemSelectionWidget;
class QLabel;
class QCheckBox;
class ConfigurationWidget : public QDialog {
Q_OBJECT
public:
explicit ConfigurationWidget(QWidget *parent = nullptr);
public slots:
virtual void accept();
private slots:
void browsePathforLE(QLineEdit *edit);
private:
void readSettings();
void chooseColor(QLabel *l, int colorIndex);
QLineEdit *mDbHost;
QLineEdit *mDbUser;
QLineEdit *mDbPass;
QLineEdit *mDbName;
QLineEdit *mFfProbe;
QLineEdit *mFfMpeg;
QLineEdit *mMkvInfo;
QLabel *mBaseColorL;
QLabel *mAltColorL;
QCheckBox *mUseAltColors;
ItemSelectionWidget *mCopyDirW;
ItemSelectionWidget *mFavDirW;
ItemSelectionWidget *mMimeTypeW;
QVector<QColor> mColors;
};
#endif // CONFIGURATIONWIDGET_H
|