author | kergoth <kergoth> | 2003-08-09 16:24:58 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-08-09 16:24:58 (UTC) |
commit | e16d333ec2e8509fc665921ca106c25325bae9e0 (patch) (unidiff) | |
tree | 9e9068190a15bc9b2a52ab33b40881128f732c0e /noncore/graphics/drawpad/drawpad.h | |
parent | 1c58d1407f9584fedcdae390a04e2b37e5853361 (diff) | |
download | opie-e16d333ec2e8509fc665921ca106c25325bae9e0.zip opie-e16d333ec2e8509fc665921ca106c25325bae9e0.tar.gz opie-e16d333ec2e8509fc665921ca106c25325bae9e0.tar.bz2 |
Merge from BRANCH_1_0
Diffstat (limited to 'noncore/graphics/drawpad/drawpad.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawpad.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/drawpad.h b/noncore/graphics/drawpad/drawpad.h index 7306228..2cae700 100644 --- a/noncore/graphics/drawpad/drawpad.h +++ b/noncore/graphics/drawpad/drawpad.h | |||
@@ -19,48 +19,49 @@ | |||
19 | #include <qpen.h> | 19 | #include <qpen.h> |
20 | 20 | ||
21 | class DrawPadCanvas; | 21 | class DrawPadCanvas; |
22 | class Tool; | 22 | class Tool; |
23 | 23 | ||
24 | class QAction; | 24 | class QAction; |
25 | class QColor; | 25 | class QColor; |
26 | class QSpinBox; | 26 | class QSpinBox; |
27 | class QToolButton; | 27 | class QToolButton; |
28 | class QWidgetStack; | 28 | class QWidgetStack; |
29 | 29 | ||
30 | class DrawPad : public QMainWindow | 30 | class DrawPad : public QMainWindow |
31 | { | 31 | { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | 33 | ||
34 | public: | 34 | public: |
35 | DrawPad(QWidget* parent = 0, const char* name = 0); | 35 | DrawPad(QWidget* parent = 0, const char* name = 0); |
36 | ~DrawPad(); | 36 | ~DrawPad(); |
37 | 37 | ||
38 | Tool* tool() { return m_pTool; } | 38 | Tool* tool() { return m_pTool; } |
39 | QPen pen() { return m_pen; } | 39 | QPen pen() { return m_pen; } |
40 | QBrush brush() { return m_brush; } | 40 | QBrush brush() { return m_brush; } |
41 | 41 | ||
42 | bool antiAliasing(); | 42 | bool antiAliasing(); |
43 | void finishStartup(); | ||
43 | 44 | ||
44 | private slots: | 45 | private slots: |
45 | void newPage(); | 46 | void newPage(); |
46 | void clearPage(); | 47 | void clearPage(); |
47 | void deletePage(); | 48 | void deletePage(); |
48 | 49 | ||
49 | void setPointTool(); | 50 | void setPointTool(); |
50 | void setLineTool(); | 51 | void setLineTool(); |
51 | void setRectangleTool(); | 52 | void setRectangleTool(); |
52 | void setFilledRectangleTool(); | 53 | void setFilledRectangleTool(); |
53 | void setEllipseTool(); | 54 | void setEllipseTool(); |
54 | void setFilledEllipseTool(); | 55 | void setFilledEllipseTool(); |
55 | void setTextTool(); | 56 | void setTextTool(); |
56 | void setFillTool(); | 57 | void setFillTool(); |
57 | void setEraseTool(); | 58 | void setEraseTool(); |
58 | 59 | ||
59 | void changePenWidth(int value); | 60 | void changePenWidth(int value); |
60 | void changePenColor(const QColor& color); | 61 | void changePenColor(const QColor& color); |
61 | void changeBrushColor(const QColor& color); | 62 | void changeBrushColor(const QColor& color); |
62 | 63 | ||
63 | void updateView(); | 64 | void updateView(); |
64 | 65 | ||
65 | void deleteAll(); | 66 | void deleteAll(); |
66 | void importPage(); | 67 | void importPage(); |