author | leseb <leseb> | 2002-03-27 17:09:29 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-03-27 17:09:29 (UTC) |
commit | 4372bb8e59eb4b0d2fa5fba8f6525dc14873f239 (patch) (unidiff) | |
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) (show 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 @@ | |||
13 | 13 | ||
14 | #ifndef NEWPAGEDIALOG_H | 14 | #ifndef NEWPAGEDIALOG_H |
15 | #define NEWPAGEDIALOG_H | 15 | #define NEWPAGEDIALOG_H |
16 | 16 | ||
17 | #include <qdialog.h> | 17 | #include <qdialog.h> |
18 | 18 | ||
19 | class QButtonGroup; | ||
19 | class QSpinBox; | 20 | class QSpinBox; |
20 | 21 | ||
21 | class NewPageDialog : public QDialog | 22 | class NewPageDialog : public QDialog |
22 | { | 23 | { |
23 | Q_OBJECT | 24 | Q_OBJECT |
24 | 25 | ||
25 | public: | 26 | public: |
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 | ||
35 | private: | 35 | private: |
36 | QSpinBox* m_pWidthSpinBox; | 36 | QSpinBox* m_pWidthSpinBox; |
37 | QSpinBox* m_pHeightSpinBox; | 37 | QSpinBox* m_pHeightSpinBox; |
38 | |||
39 | QColor m_foregroundColor; | ||
40 | QColor m_backgroundColor; | ||
41 | |||
42 | QButtonGroup* m_pContentButtonGroup; | ||
38 | }; | 43 | }; |
39 | 44 | ||
40 | #endif // NEWPAGEDIALOG_H | 45 | #endif // NEWPAGEDIALOG_H |