author | leseb <leseb> | 2002-03-27 17:09:29 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-03-27 17:09:29 (UTC) |
commit | 4372bb8e59eb4b0d2fa5fba8f6525dc14873f239 (patch) (side-by-side diff) | |
tree | 6947938ca5d22d3a373741ba3acfc20e8dd67729 /noncore/graphics/drawpad/newpagedialog.h | |
parent | fb056735d9a021787f83c6a791225a7ca70c1eb5 (diff) | |
download | opie-4372bb8e59eb4b0d2fa5fba8f6525dc14873f239.zip opie-4372bb8e59eb4b0d2fa5fba8f6525dc14873f239.tar.gz opie-4372bb8e59eb4b0d2fa5fba8f6525dc14873f239.tar.bz2 |
Import/export dialogs, improved new page dialog, new tools, ...
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 @@ -13,28 +13,33 @@ #ifndef NEWPAGEDIALOG_H #define NEWPAGEDIALOG_H #include <qdialog.h> +class QButtonGroup; class QSpinBox; 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 |