summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/drawpad.h
Unidiff
Diffstat (limited to 'noncore/graphics/drawpad/drawpad.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/drawpad/drawpad.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/drawpad.h b/noncore/graphics/drawpad/drawpad.h
index ce62802..8e29c61 100644
--- a/noncore/graphics/drawpad/drawpad.h
+++ b/noncore/graphics/drawpad/drawpad.h
@@ -29,24 +29,26 @@ class QWidgetStack;
29class DrawPad : public QMainWindow 29class DrawPad : public QMainWindow
30{ 30{
31 Q_OBJECT 31 Q_OBJECT
32 32
33public: 33public:
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 bool antiAliasing();
42
41private slots: 43private slots:
42 void newPage(); 44 void newPage();
43 void clearPage(); 45 void clearPage();
44 void deletePage(); 46 void deletePage();
45 47
46 void setPointTool(); 48 void setPointTool();
47 void setLineTool(); 49 void setLineTool();
48 void setRectangleTool(); 50 void setRectangleTool();
49 void setFilledRectangleTool(); 51 void setFilledRectangleTool();
50 void setEllipseTool(); 52 void setEllipseTool();
51 void setFilledEllipseTool(); 53 void setFilledEllipseTool();
52 void setTextTool(); 54 void setTextTool();
@@ -65,24 +67,26 @@ private slots:
65 void importPage(); 67 void importPage();
66 void exportPage(); 68 void exportPage();
67 void thumbnailView(); 69 void thumbnailView();
68 void pageInformation(); 70 void pageInformation();
69 71
70private: 72private:
71 DrawPadCanvas* m_pDrawPadCanvas; 73 DrawPadCanvas* m_pDrawPadCanvas;
72 74
73 Tool* m_pTool; 75 Tool* m_pTool;
74 QPen m_pen; 76 QPen m_pen;
75 QBrush m_brush; 77 QBrush m_brush;
76 78
79 QAction* m_pAntiAliasingAction;
80
77 QAction* m_pUndoAction; 81 QAction* m_pUndoAction;
78 QAction* m_pRedoAction; 82 QAction* m_pRedoAction;
79 83
80 QAction* m_pFirstPageAction; 84 QAction* m_pFirstPageAction;
81 QAction* m_pPreviousPageAction; 85 QAction* m_pPreviousPageAction;
82 QAction* m_pNextPageAction; 86 QAction* m_pNextPageAction;
83 QAction* m_pLastPageAction; 87 QAction* m_pLastPageAction;
84 88
85 QAction* m_pPointToolAction; 89 QAction* m_pPointToolAction;
86 QAction* m_pLineToolAction; 90 QAction* m_pLineToolAction;
87 QAction* m_pRectangleToolAction; 91 QAction* m_pRectangleToolAction;
88 QAction* m_pFilledRectangleToolAction; 92 QAction* m_pFilledRectangleToolAction;