blob: 2d37b57bd6741e5dbf25ef6a903a0186d9e8569b (
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
|
#ifndef MOVIEPROPERTIESDIALOG_H
#define MOVIEPROPERTIESDIALOG_H
#include <QDialog>
class QLineEdit;
class QRadioButton;
class SmView;
class QStandardItemModel;
class MoviePropertiesDialog : public QDialog {
public:
enum CustomRoles { ActorIdRole = Qt::UserRole + 1, GenreIdRole = Qt::UserRole + 2 };
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
|