author | leseb <leseb> | 2002-06-07 20:30:30 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-07 20:30:30 (UTC) |
commit | 9dcd598f9b815511cae884d26b18e3c8913b9fcf (patch) (unidiff) | |
tree | 4b18e7fa7c864b2dca4da76bc89c2a975e80a73c /noncore/graphics/drawpad/drawpad.h | |
parent | 640d964cfdc7467f6cacb513087cd3acda2c04f0 (diff) | |
download | opie-9dcd598f9b815511cae884d26b18e3c8913b9fcf.zip opie-9dcd598f9b815511cae884d26b18e3c8913b9fcf.tar.gz opie-9dcd598f9b815511cae884d26b18e3c8913b9fcf.tar.bz2 |
Make progress in thumbnail view
Diffstat (limited to 'noncore/graphics/drawpad/drawpad.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawpad.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/drawpad.h b/noncore/graphics/drawpad/drawpad.h index b0b3666..01061b4 100644 --- a/noncore/graphics/drawpad/drawpad.h +++ b/noncore/graphics/drawpad/drawpad.h | |||
@@ -30,42 +30,46 @@ class DrawPad : public QMainWindow | |||
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | 32 | ||
33 | public: | 33 | public: |
34 | DrawPad(QWidget* parent = 0, const char* name = 0); | 34 | DrawPad(QWidget* parent = 0, const char* name = 0); |
35 | ~DrawPad(); | 35 | ~DrawPad(); |
36 | 36 | ||
37 | Tool* tool() { return m_pTool; } | 37 | Tool* tool() { return m_pTool; } |
38 | QPen pen() { return m_pen; } | 38 | QPen pen() { return m_pen; } |
39 | QBrush brush() { return m_brush; } | 39 | QBrush brush() { return m_brush; } |
40 | 40 | ||
41 | private slots: | 41 | private slots: |
42 | void clearPage(); | ||
43 | void deletePage(); | ||
44 | |||
42 | void setPointTool(); | 45 | void setPointTool(); |
43 | void setLineTool(); | 46 | void setLineTool(); |
44 | void setRectangleTool(); | 47 | void setRectangleTool(); |
45 | void setFilledRectangleTool(); | 48 | void setFilledRectangleTool(); |
46 | void setEllipseTool(); | 49 | void setEllipseTool(); |
47 | void setFilledEllipseTool(); | 50 | void setFilledEllipseTool(); |
48 | void setTextTool(); | 51 | void setTextTool(); |
49 | void setFillTool(); | 52 | void setFillTool(); |
50 | void setEraseTool(); | 53 | void setEraseTool(); |
51 | 54 | ||
52 | void changePenWidth(int value); | 55 | void changePenWidth(int value); |
53 | void changePenColor(const QColor& color); | 56 | void changePenColor(const QColor& color); |
54 | void changeBrushColor(const QColor& color); | 57 | void changeBrushColor(const QColor& color); |
55 | 58 | ||
56 | void updateUndoRedoToolButtons(); | 59 | void updateUndoRedoToolButtons(); |
57 | void updateNavigationToolButtons(); | 60 | void updateNavigationToolButtons(); |
58 | void updateCaption(); | 61 | void updateCaption(); |
59 | 62 | ||
63 | void deleteAll(); | ||
60 | void importPage(); | 64 | void importPage(); |
61 | void exportPage(); | 65 | void exportPage(); |
62 | void thumbnailView(); | 66 | void thumbnailView(); |
63 | 67 | ||
64 | private: | 68 | private: |
65 | DrawPadCanvas* m_pDrawPadCanvas; | 69 | DrawPadCanvas* m_pDrawPadCanvas; |
66 | 70 | ||
67 | Tool* m_pTool; | 71 | Tool* m_pTool; |
68 | QPen m_pen; | 72 | QPen m_pen; |
69 | QBrush m_brush; | 73 | QBrush m_brush; |
70 | 74 | ||
71 | QAction* m_pUndoAction; | 75 | QAction* m_pUndoAction; |