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