#ifndef MOVIEPROPERTIESDIALOG_H #define MOVIEPROPERTIESDIALOG_H #include 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