summaryrefslogtreecommitdiffstats
path: root/moviemetadatapage.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-11-03 08:11:39 +0100
committerArno <arno@disconnect.de>2018-11-03 08:11:39 +0100
commit9087a02adce547e8988a3ae904bf647ef5555b32 (patch)
tree8bd4853858e67ebee0bf8ffa8152e264da4237a6 /moviemetadatapage.h
parenta896d928412bc8f02131c8c6ab0d8c1ad4e4753f (diff)
downloadSheMov-9087a02adce547e8988a3ae904bf647ef5555b32.tar.gz
SheMov-9087a02adce547e8988a3ae904bf647ef5555b32.tar.bz2
SheMov-9087a02adce547e8988a3ae904bf647ef5555b32.zip
Put MovieMetadataPage in separate file
No functional changes, just code shuffle and reindention.
Diffstat (limited to 'moviemetadatapage.h')
-rw-r--r--moviemetadatapage.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/moviemetadatapage.h b/moviemetadatapage.h
new file mode 100644
index 0000000..a6cae80
--- /dev/null
+++ b/moviemetadatapage.h
@@ -0,0 +1,30 @@
+/*
+ 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 MOVIEMETADATAPAGE_H
+#define MOVIEMETADATAPAGE_H
+
+#include <QWizardPage>
+
+class MetadataEditorWidget;
+class QCheckBox;
+
+class MovieMetadataPage : public QWizardPage {
+ Q_OBJECT
+ public:
+ explicit MovieMetadataPage(QWidget *parent = nullptr);
+ MetadataEditorWidget *widget() { return mWidget; }
+ virtual void initializePage();
+
+ private:
+ void setupGui();
+ /* defined in archiveview.h */
+ MetadataEditorWidget *mWidget;
+ QCheckBox *mMetadataEnabled;
+};
+
+#endif // MOVIEMETADATAPAGE_H