From 295b8e2b197e689380002ccfe77fe4fb56c544d6 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 4 Apr 2018 11:50:43 +0200 Subject: Implement MoviePropertiesDialog Try to replace all those editing dialogs with one exhausting dialog. For now, it's just the layout. It does nothing yet. --- moviepropertiesdialog.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 moviepropertiesdialog.h (limited to 'moviepropertiesdialog.h') diff --git a/moviepropertiesdialog.h b/moviepropertiesdialog.h new file mode 100644 index 0000000..63b03bf --- /dev/null +++ b/moviepropertiesdialog.h @@ -0,0 +1,32 @@ +#ifndef MOVIEPROPERTIESDIALOG_H +#define MOVIEPROPERTIESDIALOG_H + +#include + +class QLineEdit; +class QRadioButton; +class SmView; +class QStandardItemModel; + +class MoviePropertiesDialog : public QDialog { + public: + explicit MoviePropertiesDialog(QWidget *parent = nullptr); + void setPartsId(int id); + + 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 -- cgit v1.2.3-70-g09d2