diff options
Diffstat (limited to 'archiveview.h')
-rw-r--r-- | archiveview.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/archiveview.h b/archiveview.h index 41c86c3..fa9a1d5 100644 --- a/archiveview.h +++ b/archiveview.h @@ -88,6 +88,7 @@ class ArchiveTree : public SmTreeView { void editActors(); void editGenres(); void editMetadata(); + void editSeriesPart(); private: void impossible(const QString msg = tr("Unable to perform function!")); @@ -216,6 +217,23 @@ class MetadataEditor : public QDialog { }; +class PartEditor : public QDialog { + Q_OBJECT + public: + explicit PartEditor(QWidget *parent = 0, Qt::WindowFlags f = 0); + void setPartNo(int partNo); + int partNo() const; + void setSubtitle(const QString &subtitle); + QString subtitle() const; + + + private: + QSpinBox *mPartNo; + QLineEdit *mSubtitle; + QPushButton *mCancel; + QPushButton *mAccept; +}; + class FileNoDelegate : public QStyledItemDelegate { Q_OBJECT public: |