From e0b8c355e5f05398174abd8e70f0694f07a9821c Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 2 Dec 2016 12:39:04 +0100 Subject: Add configuration option for copy dirs Copy dirs are destination directories for copy operations. They will be used later on to copy files or to check if a file has already been copied. --- configurationwidget.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configurationwidget.h') diff --git a/configurationwidget.h b/configurationwidget.h index 53fb230..df69652 100644 --- a/configurationwidget.h +++ b/configurationwidget.h @@ -5,6 +5,8 @@ class QLineEdit; class QPushButton; +class QListView; +class QStandardItemModel; class ConfigurationWidget : public QDialog { Q_OBJECT @@ -18,6 +20,10 @@ class ConfigurationWidget : public QDialog { void browseFfProbe(); void browseFfMpeg(); void browseMkvInfo(); + void browseCopyDir(); + void addCopyDir(); + void removeCopyDir(); + void selectCopyDir(const QModelIndex &cur, const QModelIndex &prev); private: void readSettings(); @@ -28,8 +34,11 @@ class ConfigurationWidget : public QDialog { QLineEdit *mFfProbe; QLineEdit *mFfMpeg; QLineEdit *mMkvInfo; + QLineEdit *mDir; QPushButton *mAccept; QPushButton *mCancel; + QListView *mCopyDirV; + QStandardItemModel *mCopyDirM; }; #endif // CONFIGURATIONWIDGET_H -- cgit v1.2.3-70-g09d2