blob: df696521539cd45bea41772bfb5ac6fb17789ffa (
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
44
|
#ifndef CONFIGURATIONWIDGET_H
#define CONFIGURATIONWIDGET_H
#include <QDialog>
class QLineEdit;
class QPushButton;
class QListView;
class QStandardItemModel;
class ConfigurationWidget : public QDialog {
Q_OBJECT
public:
explicit ConfigurationWidget(QWidget *parent = 0, Qt::WindowFlags f = 0);
public slots:
virtual void accept();
private slots:
void browseFfProbe();
void browseFfMpeg();
void browseMkvInfo();
void browseCopyDir();
void addCopyDir();
void removeCopyDir();
void selectCopyDir(const QModelIndex &cur, const QModelIndex &prev);
private:
void readSettings();
QLineEdit *mDbHost;
QLineEdit *mDbUser;
QLineEdit *mDbPass;
QLineEdit *mDbName;
QLineEdit *mFfProbe;
QLineEdit *mFfMpeg;
QLineEdit *mMkvInfo;
QLineEdit *mDir;
QPushButton *mAccept;
QPushButton *mCancel;
QListView *mCopyDirV;
QStandardItemModel *mCopyDirM;
};
#endif // CONFIGURATIONWIDGET_H
|