summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/newpagedialog.h
Unidiff
Diffstat (limited to 'noncore/graphics/drawpad/newpagedialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/newpagedialog.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/noncore/graphics/drawpad/newpagedialog.h b/noncore/graphics/drawpad/newpagedialog.h
index a2b6b87..f418340 100644
--- a/noncore/graphics/drawpad/newpagedialog.h
+++ b/noncore/graphics/drawpad/newpagedialog.h
@@ -18,2 +18,3 @@
18 18
19class QButtonGroup;
19class QSpinBox; 20class QSpinBox;
@@ -25,10 +26,9 @@ class NewPageDialog : public QDialog
25public: 26public:
26 NewPageDialog(QWidget* parent = 0, const char* name = 0); 27 NewPageDialog(uint width, uint height, const QColor& foregroundColor,
28 const QColor& backgroundColor, QWidget* parent = 0, const char* name = 0);
27 ~NewPageDialog(); 29 ~NewPageDialog();
28 30
29 void setWidth(int width); 31 uint selectedWidth();
30 void setHeight(int height); 32 uint selectedHeight();
31 33 const QColor& selectedColor();
32 int width();
33 int height();
34 34
@@ -37,2 +37,7 @@ private:
37 QSpinBox* m_pHeightSpinBox; 37 QSpinBox* m_pHeightSpinBox;
38
39 QColor m_foregroundColor;
40 QColor m_backgroundColor;
41
42 QButtonGroup* m_pContentButtonGroup;
38}; 43};