Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_delegated_tool_policies.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
9#include <QWidget>
10
11#include <KoCanvasBase.h>
12#include <KoShapeManager.h>
13#include <KoSelection.h>
14
15
17{
18 canvas->shapeManager()->selection()->deselectAll();
19 canvas->canvasWidget()->update();
20}
21
virtual KoShapeManager * shapeManager() const =0
virtual QWidget * canvasWidget()=0
void deselectAll()
clear the selections list
KoSelection * selection
static void onActivate(KoCanvasBase *canvas)