summaryrefslogtreecommitdiffstats
path: root/moviemetadatapage.h
blob: 6fccee9fa08951ba4cabb063cacf4ac5131081ed (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
/*
  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();
        virtual void setGuessedSubject(const QString subject);

    private:
        void setupGui();
        /* defined in archiveview.h */
        MetadataEditorWidget *mWidget;
        QCheckBox *mMetadataEnabled;
        QString mGuessedSubject;
};

#endif // MOVIEMETADATAPAGE_H