Diffstat (limited to 'noncore/graphics/drawpad/newpagedialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/newpagedialog.h | 17 |
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 @@ -17,4 +17,5 @@ #include <qdialog.h> +class QButtonGroup; class QSpinBox; @@ -24,16 +25,20 @@ class NewPageDialog : public QDialog public: - NewPageDialog(QWidget* parent = 0, const char* name = 0); + NewPageDialog(uint width, uint height, const QColor& foregroundColor, + const QColor& backgroundColor, QWidget* parent = 0, const char* name = 0); ~NewPageDialog(); - void setWidth(int width); - void setHeight(int height); - - int width(); - int height(); + uint selectedWidth(); + uint selectedHeight(); + const QColor& selectedColor(); private: QSpinBox* m_pWidthSpinBox; QSpinBox* m_pHeightSpinBox; + + QColor m_foregroundColor; + QColor m_backgroundColor; + + QButtonGroup* m_pContentButtonGroup; }; |