summaryrefslogtreecommitdiffstats
path: root/configurationdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'configurationdialog.h')
-rw-r--r--configurationdialog.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/configurationdialog.h b/configurationdialog.h
new file mode 100644
index 0000000..fa91667
--- /dev/null
+++ b/configurationdialog.h
@@ -0,0 +1,44 @@
+/*
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version
+ 2 of the License, or (at your option) any later version.
+*/
+
+#ifndef CONFIGURATIONDIALOG_H
+#define CONFIGURATIONDIALOG_H
+
+#include <QDialog>
+
+class QPushButton;
+class QTabWidget;
+class QLineEdit;
+class QComboBox;
+
+class ConfigurationDialog : public QDialog {
+ Q_OBJECT
+ public:
+ ConfigurationDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
+ ~ConfigurationDialog() {};
+
+ private:
+ void readSettings();
+ void writeSettings();
+ QPushButton *mOk;
+ QPushButton *mCancel;
+ QPushButton *mAddPath;
+ QPushButton *mRemovePath;
+ QTabWidget *mTab;
+ QLineEdit *mPictureViewer;
+ QLineEdit *mPictureViewerArgs;
+ QLineEdit *mMovieViewer;
+ QLineEdit *mMovieViewerArgs;
+ QLineEdit *mArchiver;
+ QLineEdit *mArchiverArgs;
+ QLineEdit *mExtractPath;
+ QComboBox *mArchivePaths;
+ QStringList mPaths;
+};
+
+#endif
+