Diffstat (limited to 'noncore/graphics/drawpad/drawpad.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawpad.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/drawpad.h b/noncore/graphics/drawpad/drawpad.h index 62a73c9..e4fd831 100644 --- a/noncore/graphics/drawpad/drawpad.h +++ b/noncore/graphics/drawpad/drawpad.h | |||
@@ -36,24 +36,25 @@ public: | |||
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 setPointTool(); | 42 | void setPointTool(); |
43 | void setLineTool(); | 43 | void setLineTool(); |
44 | void setRectangleTool(); | 44 | void setRectangleTool(); |
45 | void setFilledRectangleTool(); | 45 | void setFilledRectangleTool(); |
46 | void setEllipseTool(); | 46 | void setEllipseTool(); |
47 | void setFilledEllipseTool(); | 47 | void setFilledEllipseTool(); |
48 | void setTextTool(); | ||
48 | void setFillTool(); | 49 | void setFillTool(); |
49 | void setEraseTool(); | 50 | void setEraseTool(); |
50 | 51 | ||
51 | void changePenWidth(int value); | 52 | void changePenWidth(int value); |
52 | void changePenColor(const QColor& color); | 53 | void changePenColor(const QColor& color); |
53 | void changeBrushColor(const QColor& color); | 54 | void changeBrushColor(const QColor& color); |
54 | void choosePenColor(); | 55 | void choosePenColor(); |
55 | void chooseBrushColor(); | 56 | void chooseBrushColor(); |
56 | 57 | ||
57 | void updateUndoRedoToolButtons(); | 58 | void updateUndoRedoToolButtons(); |
58 | void updateNavigationToolButtons(); | 59 | void updateNavigationToolButtons(); |
59 | void updateCaption(); | 60 | void updateCaption(); |
@@ -73,22 +74,24 @@ private: | |||
73 | 74 | ||
74 | QAction* m_pFirstPageAction; | 75 | QAction* m_pFirstPageAction; |
75 | QAction* m_pPreviousPageAction; | 76 | QAction* m_pPreviousPageAction; |
76 | QAction* m_pNextPageAction; | 77 | QAction* m_pNextPageAction; |
77 | QAction* m_pLastPageAction; | 78 | QAction* m_pLastPageAction; |
78 | 79 | ||
79 | QAction* m_pPointToolAction; | 80 | QAction* m_pPointToolAction; |
80 | QAction* m_pLineToolAction; | 81 | QAction* m_pLineToolAction; |
81 | QAction* m_pRectangleToolAction; | 82 | QAction* m_pRectangleToolAction; |
82 | QAction* m_pFilledRectangleToolAction; | 83 | QAction* m_pFilledRectangleToolAction; |
83 | QAction* m_pEllipseToolAction; | 84 | QAction* m_pEllipseToolAction; |
84 | QAction* m_pFilledEllipseToolAction; | 85 | QAction* m_pFilledEllipseToolAction; |
86 | QAction* m_pTextToolAction; | ||
85 | QAction* m_pFillToolAction; | 87 | QAction* m_pFillToolAction; |
86 | QAction* m_pEraseToolAction; | 88 | QAction* m_pEraseToolAction; |
87 | 89 | ||
90 | QToolButton* m_pLineToolButton; | ||
88 | QToolButton* m_pRectangleToolButton; | 91 | QToolButton* m_pRectangleToolButton; |
89 | QToolButton* m_pEllipseToolButton; | 92 | QToolButton* m_pEllipseToolButton; |
90 | QToolButton* m_pPenColorToolButton; | 93 | QToolButton* m_pPenColorToolButton; |
91 | QToolButton* m_pBrushColorToolButton; | 94 | QToolButton* m_pBrushColorToolButton; |
92 | }; | 95 | }; |
93 | 96 | ||
94 | #endif // DRAWPAD_H | 97 | #endif // DRAWPAD_H |