Krita Source Code Documentation
Loading...
Searching...
No Matches
DeselectShapesActivationPolicy Struct Reference

#include <kis_delegated_tool_policies.h>

Static Public Member Functions

static void onActivate (KoCanvasBase *canvas)
 

Detailed Description

Definition at line 23 of file kis_delegated_tool_policies.h.

Member Function Documentation

◆ onActivate()

void DeselectShapesActivationPolicy::onActivate ( KoCanvasBase * canvas)
static

Definition at line 16 of file kis_delegated_tool_policies.cpp.

17{
18 canvas->shapeManager()->selection()->deselectAll();
19 canvas->canvasWidget()->update();
20}
virtual KoShapeManager * shapeManager() const =0
virtual QWidget * canvasWidget()=0
void deselectAll()
clear the selections list
KoSelection * selection

References KoCanvasBase::canvasWidget(), KoSelection::deselectAll(), KoShapeManager::selection, and KoCanvasBase::shapeManager().


The documentation for this struct was generated from the following files: