summaryrefslogtreecommitdiffstats
path: root/moviepropertiesdialog.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-04-04 11:50:43 +0200
committerArno <arno@disconnect.de>2018-04-04 11:50:43 +0200
commit295b8e2b197e689380002ccfe77fe4fb56c544d6 (patch)
tree60929a9b3ddbdd8a261f9159f1a774c47033665e /moviepropertiesdialog.h
parenta86cab595e880541b3fe717a1c382e4f39fc01d5 (diff)
downloadSheMov-295b8e2b197e689380002ccfe77fe4fb56c544d6.tar.gz
SheMov-295b8e2b197e689380002ccfe77fe4fb56c544d6.tar.bz2
SheMov-295b8e2b197e689380002ccfe77fe4fb56c544d6.zip
Implement MoviePropertiesDialog
Try to replace all those editing dialogs with one exhausting dialog. For now, it's just the layout. It does nothing yet.
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