summaryrefslogtreecommitdiffstats
path: root/moviepropertiesdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'moviepropertiesdialog.h')
-rw-r--r--moviepropertiesdialog.h32
1 files changed, 32 insertions, 0 deletions
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 <QDialog>
+
+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