summaryrefslogtreecommitdiff
path: root/src/previewdialog.h
blob: 5dfb2b964ba6e0907480f84d0e96151f5f378014 (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
#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