aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_fomod/src/fomodscreenshotdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/installer_fomod/src/fomodscreenshotdialog.h')
-rw-r--r--libs/installer_fomod/src/fomodscreenshotdialog.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libs/installer_fomod/src/fomodscreenshotdialog.h b/libs/installer_fomod/src/fomodscreenshotdialog.h
new file mode 100644
index 0000000..dfe2cfd
--- /dev/null
+++ b/libs/installer_fomod/src/fomodscreenshotdialog.h
@@ -0,0 +1,35 @@
+#pragma once
+
+#include <QDialog>
+#include <QString>
+
+#include <utility>
+#include <vector>
+
+namespace Ui
+{
+class FomodScreenshotDialog;
+}
+
+class FomodScreenshotDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit FomodScreenshotDialog(
+ QWidget* parent, std::vector<std::pair<QString, QString>> carouselImages,
+ int carouselIndex);
+ ~FomodScreenshotDialog();
+
+private slots:
+ void on_closeButton_clicked();
+ void on_navigateLeft_clicked();
+ void on_navigateRight_clicked();
+
+private:
+ void selectedScreenshotChanged();
+ int getSelectedScreenshot();
+
+ Ui::FomodScreenshotDialog* ui;
+ std::vector<std::pair<QString, QString>> m_carouselImages;
+};