From 4372bb8e59eb4b0d2fa5fba8f6525dc14873f239 Mon Sep 17 00:00:00 2001 From: leseb Date: Wed, 27 Mar 2002 17:09:29 +0000 Subject: Import/export dialogs, improved new page dialog, new tools, ... --- (limited to 'noncore/graphics/drawpad/newpagedialog.h') 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 @@ -16,6 +16,7 @@ #include +class QButtonGroup; class QSpinBox; class NewPageDialog : public QDialog @@ -23,18 +24,22 @@ class NewPageDialog : public QDialog Q_OBJECT 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; }; #endif // NEWPAGEDIALOG_H -- cgit v0.9.0.2