diff options
author | Arno <arno@disconnect.de> | 2018-04-04 18:52:09 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-04-04 18:52:09 +0200 |
commit | f48e27a63c59840979dd848893ffba3faefdfdde (patch) | |
tree | 71f1b6c59c3f75a11f38c6a2c703faa6250d72aa /moviepropertiesdialog.h | |
parent | 89c3587b8768bb49d7f82aa845781ee485df8370 (diff) | |
download | SheMov-f48e27a63c59840979dd848893ffba3faefdfdde.tar.gz SheMov-f48e27a63c59840979dd848893ffba3faefdfdde.tar.bz2 SheMov-f48e27a63c59840979dd848893ffba3faefdfdde.zip |
MoviePropertiesDialog: implement add actors and genres
Only adds items to the view, doesn't do any changes to the database yet.
Had to implement a custom InputDialog, because the standard InputDialog
doesn't have a setter for the completer.
Diffstat (limited to 'moviepropertiesdialog.h')
-rw-r--r-- | moviepropertiesdialog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/moviepropertiesdialog.h b/moviepropertiesdialog.h index 2d37b57..75aff95 100644 --- a/moviepropertiesdialog.h +++ b/moviepropertiesdialog.h @@ -7,6 +7,7 @@ class QLineEdit; class QRadioButton; class SmView; class QStandardItemModel; +class SmInputDialog; class MoviePropertiesDialog : public QDialog { public: @@ -18,6 +19,7 @@ class MoviePropertiesDialog : public QDialog { private: void setupDialog(); + void addItem(SmInputDialog *dlg, QStandardItemModel *model, QIcon icon); QLineEdit *mSeriesNameLE; QLineEdit *mSubtitleLE; QLineEdit *mCommentLE; @@ -30,6 +32,8 @@ class MoviePropertiesDialog : public QDialog { SmView *mGenreV; QStandardItemModel *mGenreM; int mSeriesPartsId; + SmInputDialog *mActorDlg; + SmInputDialog *mGenreDlg; }; #endif // MOVIEPROPERTIESDIALOG_H |