summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/drawpad.h
Unidiff
Diffstat (limited to 'noncore/graphics/drawpad/drawpad.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/drawpad.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/graphics/drawpad/drawpad.h b/noncore/graphics/drawpad/drawpad.h
index c57606c..7306228 100644
--- a/noncore/graphics/drawpad/drawpad.h
+++ b/noncore/graphics/drawpad/drawpad.h
@@ -38,52 +38,50 @@ public:
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 43
44private slots: 44private slots:
45 void newPage(); 45 void newPage();
46 void clearPage(); 46 void clearPage();
47 void deletePage(); 47 void deletePage();
48 48
49 void setPointTool(); 49 void setPointTool();
50 void setLineTool(); 50 void setLineTool();
51 void setRectangleTool(); 51 void setRectangleTool();
52 void setFilledRectangleTool(); 52 void setFilledRectangleTool();
53 void setEllipseTool(); 53 void setEllipseTool();
54 void setFilledEllipseTool(); 54 void setFilledEllipseTool();
55 void setTextTool(); 55 void setTextTool();
56 void setFillTool(); 56 void setFillTool();
57 void setEraseTool(); 57 void setEraseTool();
58 58
59 void changePenWidth(int value); 59 void changePenWidth(int value);
60 void changePenColor(const QColor& color); 60 void changePenColor(const QColor& color);
61 void changeBrushColor(const QColor& color); 61 void changeBrushColor(const QColor& color);
62 62
63 void updateUndoRedoToolButtons(); 63 void updateView();
64 void updateNavigationToolButtons();
65 void updateCaption();
66 64
67 void deleteAll(); 65 void deleteAll();
68 void importPage(); 66 void importPage();
69 void exportPage(); 67 void exportPage();
70 void thumbnailView(); 68 void thumbnailView();
71 void pageInformation(); 69 void pageInformation();
72 70
73private: 71private:
74 void loadConfig(); 72 void loadConfig();
75 void saveConfig(); 73 void saveConfig();
76 74
77 DrawPadCanvas* m_pDrawPadCanvas; 75 DrawPadCanvas* m_pDrawPadCanvas;
78 76
79 Tool* m_pTool; 77 Tool* m_pTool;
80 QPen m_pen; 78 QPen m_pen;
81 QBrush m_brush; 79 QBrush m_brush;
82 80
83 QAction* m_pAntiAliasingAction; 81 QAction* m_pAntiAliasingAction;
84 82
85 QAction* m_pUndoAction; 83 QAction* m_pUndoAction;
86 QAction* m_pRedoAction; 84 QAction* m_pRedoAction;
87 85
88 QAction* m_pFirstPageAction; 86 QAction* m_pFirstPageAction;
89 QAction* m_pPreviousPageAction; 87 QAction* m_pPreviousPageAction;