summaryrefslogtreecommitdiffstats
path: root/moviepropertiesdialog.h
blob: a409b0a8113155a57342a5ccb895281b01cfe399 (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 MOVIEPROPERTIESDIALOG_H
#define MOVIEPROPERTIESDIALOG_H

#include <QDialog>

class QLineEdit;
class QRadioButton;
class SmView;
class QStandardItemModel;

class MoviePropertiesDialog : public QDialog {
    public:
        explicit MoviePropertiesDialog(QWidget *parent = nullptr);

    public slots:
        void init(int seriesPartsId);

    private:
        void setupDialog();
        QLineEdit *mSeriesNameLE;
        QLineEdit *mSubtitleLE;
        QLineEdit *mCommentLE;
        QLineEdit *mReleaseYearLE;
        QLineEdit *mSeriesPartLE;
        QRadioButton *mTorrentRB;
        QRadioButton *mUsenetRB;
        SmView *mActorV;
        QStandardItemModel *mActorM;
        SmView *mGenreV;
        QStandardItemModel *mGenreM;
        int mSeriesPartsId;
};

#endif // MOVIEPROPERTIESDIALOG_H