Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/tool/kis_selection_tool_helper.h
Context not available. | |||||
19 | #define KIS_SELECTION_TOOL_HELPER_H | 19 | #define KIS_SELECTION_TOOL_HELPER_H | ||
---|---|---|---|---|---|
20 | 20 | | |||
21 | #include <kritaui_export.h> | 21 | #include <kritaui_export.h> | ||
22 | 22 | #include <QMenu> | |||
23 | #include <QPointer> | 23 | #include <QPointer> | ||
24 | 24 | | |||
25 | #include "kundo2magicstring.h" | 25 | #include "kundo2magicstring.h" | ||
Context not available. | |||||
49 | void cropPathIfNeeded(QPainterPath *path); | 49 | void cropPathIfNeeded(QPainterPath *path); | ||
50 | 50 | | |||
51 | bool tryDeselectCurrentSelection(const QRectF selectionViewRect, SelectionAction action); | 51 | bool tryDeselectCurrentSelection(const QRectF selectionViewRect, SelectionAction action); | ||
52 | QMenu* getSelectionContextMenu(); | ||||
53 | | ||||
52 | 54 | | |||
53 | private: | 55 | private: | ||
54 | QPointer<KisCanvas2> m_canvas; | 56 | QPointer<KisCanvas2> m_canvas; | ||
55 | KisImageSP m_image; | 57 | KisImageSP m_image; | ||
56 | KisLayerSP m_layer; | 58 | KisLayerSP m_layer; | ||
57 | KUndo2MagicString m_name; | 59 | KUndo2MagicString m_name; | ||
60 | QMenu* m_contextMenu; | ||||
58 | }; | 61 | }; | ||
59 | 62 | | |||
60 | 63 | | |||
Context not available. |