diff options
| author | Tannin <devnull@localhost> | 2014-01-05 18:50:56 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-01-05 18:50:56 +0100 |
| commit | db09b806b9e765b5cb49a9a80f74a4440fff3027 (patch) | |
| tree | 47d8bc442416698d2e5b34c49d7ddd3b6efd04ce /src/previewdialog.h | |
| parent | 859c0aed984240467e9e59f72aa4c9714df9fb0b (diff) | |
- Mod Organizer can now display most image types (including dds) and txt files from the data
tree, presenting a comparison of variants in case of overwritten files
Diffstat (limited to 'src/previewdialog.h')
| -rw-r--r-- | src/previewdialog.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/previewdialog.h b/src/previewdialog.h new file mode 100644 index 00000000..0011bc50 --- /dev/null +++ b/src/previewdialog.h @@ -0,0 +1,36 @@ +#ifndef PREVIEWDIALOG_H
+#define PREVIEWDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+class PreviewDialog;
+}
+
+class PreviewDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit PreviewDialog(const QString &fileName, QWidget *parent = 0);
+ ~PreviewDialog();
+
+ void addVariant(const QString &modName, QWidget *widget);
+ int numVariants() const;
+
+private slots:
+
+ void on_variantsStack_currentChanged(int arg1);
+
+ void on_closeButton_clicked();
+
+ void on_previousButton_clicked();
+
+ void on_nextButton_clicked();
+
+private:
+
+ Ui::PreviewDialog *ui;
+};
+
+#endif // PREVIEWDIALOG_H
|
