Changeset View
Changeset View
Standalone View
Standalone View
libs/basicflakes/tools/KoCreatePathTool.h
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 89 | protected: | |||
---|---|---|---|---|---|
90 | /** | 90 | /** | ||
91 | * This method is called to paint the path. Decorations are drawn by KoCreatePathTool afterwards. | 91 | * This method is called to paint the path. Decorations are drawn by KoCreatePathTool afterwards. | ||
92 | */ | 92 | */ | ||
93 | virtual void paintPath(KoPathShape& pathShape, QPainter &painter, const KoViewConverter &converter); | 93 | virtual void paintPath(KoPathShape& pathShape, QPainter &painter, const KoViewConverter &converter); | ||
94 | 94 | | |||
95 | void endPath(); | 95 | void endPath(); | ||
96 | void endPathWithoutLastPoint(); | 96 | void endPathWithoutLastPoint(); | ||
97 | void cancelPath(); | 97 | void cancelPath(); | ||
98 | void removeLastPoint(); | ||||
98 | 99 | | |||
99 | /// reimplemented | 100 | /// reimplemented | ||
100 | virtual QList<QPointer<QWidget> > createOptionWidgets(); | 101 | virtual QList<QPointer<QWidget> > createOptionWidgets(); | ||
101 | 102 | | |||
102 | private: | 103 | private: | ||
103 | KoShapeStroke *createStroke(); | 104 | KoShapeStroke *createStroke(); | ||
104 | 105 | | |||
105 | Q_DECLARE_PRIVATE(KoCreatePathTool) | 106 | Q_DECLARE_PRIVATE(KoCreatePathTool) | ||
106 | Q_PRIVATE_SLOT(d_func(), void angleDeltaChanged(int)) | 107 | Q_PRIVATE_SLOT(d_func(), void angleDeltaChanged(int)) | ||
107 | Q_PRIVATE_SLOT(d_func(), void angleSnapChanged(int)) | 108 | Q_PRIVATE_SLOT(d_func(), void angleSnapChanged(int)) | ||
108 | }; | 109 | }; | ||
109 | #endif | 110 | #endif |