Krita Source Code Documentation
Loading...
Searching...
No Matches
KoInteractionToolPrivate Class Reference

#include <KoInteractionTool_p.h>

+ Inheritance diagram for KoInteractionToolPrivate:

Public Member Functions

 KoInteractionToolPrivate (KoToolBase *qq, KoCanvasBase *canvas)
 
 ~KoInteractionToolPrivate ()
 
- Public Member Functions inherited from KoToolBasePrivate
void connectSignals ()
 
 KoToolBasePrivate (KoToolBase *qq, KoCanvasBase *canvas_)
 
virtual ~KoToolBasePrivate ()
 

Public Attributes

KoInteractionStrategycurrentStrategy
 
QList< QSharedPointer< KoInteractionStrategyFactory > > interactionFactories
 
QPointF lastPoint
 
- Public Attributes inherited from KoToolBasePrivate
KoCanvasBasecanvas
 the canvas interface this tool will work for.
 
QCursor currentCursor
 
KoToolFactoryBasefactory {0}
 
bool isActivated
 
bool isInTextMode
 
bool isOpacityPresetMode {false}
 Whether the opacity is preset or tool.
 
QRectF lastDecorationsRect
 
bool maskSyntheticEvents {false}
 Whether this tool masks synthetic events.
 
QList< QPointer< QWidget > > optionWidgets
 the optionwidgets associated with this tool
 
bool optionWidgetsCreated {false}
 
KoToolBaseq
 
ToolCanvasResources toolCanvasResources
 

Detailed Description

Definition at line 15 of file KoInteractionTool_p.h.

Constructor & Destructor Documentation

◆ KoInteractionToolPrivate()

KoInteractionToolPrivate::KoInteractionToolPrivate ( KoToolBase * qq,
KoCanvasBase * canvas )
inline

Definition at line 18 of file KoInteractionTool_p.h.

21 {
22 }
KoInteractionStrategy * currentStrategy
KoToolBasePrivate(KoToolBase *qq, KoCanvasBase *canvas_)
KoCanvasBase * canvas
the canvas interface this tool will work for.

◆ ~KoInteractionToolPrivate()

KoInteractionToolPrivate::~KoInteractionToolPrivate ( )
inline

Definition at line 24 of file KoInteractionTool_p.h.

24 {
25 delete currentStrategy;
26 }

References currentStrategy.

Member Data Documentation

◆ currentStrategy

KoInteractionStrategy* KoInteractionToolPrivate::currentStrategy

Definition at line 29 of file KoInteractionTool_p.h.

◆ interactionFactories

QList<QSharedPointer<KoInteractionStrategyFactory> > KoInteractionToolPrivate::interactionFactories

Definition at line 30 of file KoInteractionTool_p.h.

◆ lastPoint

QPointF KoInteractionToolPrivate::lastPoint

Definition at line 28 of file KoInteractionTool_p.h.


The documentation for this class was generated from the following file: