summaryrefslogtreecommitdiffstats
path: root/smdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'smdialog.h')
-rw-r--r--smdialog.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/smdialog.h b/smdialog.h
index cef5b27..4b2e935 100644
--- a/smdialog.h
+++ b/smdialog.h
@@ -8,7 +8,11 @@
#ifndef SMDIALOG_H
#define SMDIALOG_H
-#include <QtWidgets/QDialog>
+#include <QDialog>
+
+class QLineEdit;
+class QSpinBox;
+class QPushButton;
class SmDialog : public QDialog {
Q_OBJECT
@@ -19,4 +23,21 @@ class SmDialog : public QDialog {
virtual void showEvent(QShowEvent *);
};
+class SeriesPartsDialog : public SmDialog {
+ Q_OBJECT
+ public:
+ explicit SeriesPartsDialog(QWidget *parent, Qt::WindowFlags f = 0);
+ QString subtitle() const;
+ int partNo() const;
+ void setSubtitle(const QString &subtitle);
+ void setPartno(int partNo);
+
+ private:
+ QLineEdit *mSubtitle;
+ QSpinBox *mPartno;
+ QPushButton *mOk;
+ QPushButton *mCancel;
+
+};
+
#endif // SMDIALOG_H