#include <KoToolBase_p.h>
Definition at line 23 of file KoToolBase_p.h.
◆ KoToolBasePrivate()
◆ ~KoToolBasePrivate()
| virtual KoToolBasePrivate::~KoToolBasePrivate |
( |
| ) |
|
|
inlinevirtual |
Definition at line 35 of file KoToolBase_p.h.
36 {
38 if (optionWidget) {
39 optionWidget->setParent(0);
40 delete optionWidget;
41 }
42 }
44 }
References optionWidgets.
◆ connectSignals()
| void KoToolBasePrivate::connectSignals |
( |
| ) |
|
|
inline |
Definition at line 46 of file KoToolBase_p.h.
47 {
50 Q_ASSERT_X(crp, "KoToolBase::KoToolBase", "No Canvas KoResourceManager");
51 if (crp)
52 q->connect(crp, SIGNAL(canvasResourceChanged(
int,
const QVariant &)),
53 SLOT(canvasResourceChanged(int, const QVariant &)));
54
56 if (scrm) {
57 q->connect(scrm, SIGNAL(resourceChanged(
int,
const QVariant &)),
58 SLOT(documentResourceChanged(int, const QVariant &)));
59 }
60 }
61 }
QPointer< KoShapeController > shapeController
QPointer< KoCanvasResourceProvider > resourceManager
References canvas, q, KoCanvasBase::resourceManager, and KoCanvasBase::shapeController.
◆ canvas
the canvas interface this tool will work for.
Definition at line 73 of file KoToolBase_p.h.
◆ currentCursor
| QCursor KoToolBasePrivate::currentCursor |
◆ factory
◆ isActivated
| bool KoToolBasePrivate::isActivated |
◆ isInTextMode
| bool KoToolBasePrivate::isInTextMode |
◆ isOpacityPresetMode
| bool KoToolBasePrivate::isOpacityPresetMode {false} |
Whether the opacity is preset or tool.
Definition at line 78 of file KoToolBase_p.h.
◆ lastDecorationsRect
| QRectF KoToolBasePrivate::lastDecorationsRect |
◆ maskSyntheticEvents
| bool KoToolBasePrivate::maskSyntheticEvents {false} |
Whether this tool masks synthetic events.
Definition at line 75 of file KoToolBase_p.h.
◆ optionWidgets
the optionwidgets associated with this tool
Definition at line 68 of file KoToolBase_p.h.
◆ optionWidgetsCreated
| bool KoToolBasePrivate::optionWidgetsCreated {false} |
◆ toolCanvasResources
The documentation for this class was generated from the following file: