Krita Source Code Documentation
Loading...
Searching...
No Matches
KoKeepShapesSelectedCommand.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef KOKEEPSHAPESSELECTEDCOMMAND_H
8
#define KOKEEPSHAPESSELECTEDCOMMAND_H
9
10
#include "
kis_command_utils.h
"
11
#include <kritaflake_export.h>
12
13
class
KoSelectedShapesProxy
;
14
class
KoSelection
;
15
class
KoShape
;
16
17
class
KRITAFLAKE_EXPORT
KoKeepShapesSelectedCommand
:
public
KisCommandUtils::FlipFlopCommand
18
{
19
public
:
20
KoKeepShapesSelectedCommand
(
const
QList<KoShape*>
&selectedBefore,
21
const
QList<KoShape*>
&selectedAfter,
22
KoSelectedShapesProxy
*selectionProxy,
23
bool
isFinalizing,
24
KUndo2Command
*parent);
25
26
protected
:
27
void
partB
()
override
;
28
29
private
:
30
QList<KoShape*>
m_selectedBefore
;
31
QList<KoShape*>
m_selectedAfter
;
32
KoSelectedShapesProxy
*
m_selectionProxy
;
33
};
34
35
#endif
// KOKEEPSHAPESSELECTEDCOMMAND_H
KUndo2Command
Definition
kundo2stack.h:87
KoKeepShapesSelectedCommand
Definition
KoKeepShapesSelectedCommand.h:18
KoKeepShapesSelectedCommand::m_selectionProxy
KoSelectedShapesProxy * m_selectionProxy
Definition
KoKeepShapesSelectedCommand.h:32
KoKeepShapesSelectedCommand::m_selectedBefore
QList< KoShape * > m_selectedBefore
Definition
KoKeepShapesSelectedCommand.h:30
KoKeepShapesSelectedCommand::m_selectedAfter
QList< KoShape * > m_selectedAfter
Definition
KoKeepShapesSelectedCommand.h:31
KoSelectedShapesProxy
The KoSelectedShapesProxy class is a special interface of KoCanvasBase to have a stable connection to...
Definition
KoSelectedShapesProxy.h:23
KoSelection
Definition
KoSelection.h:38
KoShape
Definition
KoShape.h:92
QList
Definition
KisQStringListFwd.h:16
kis_command_utils.h
KisCommandUtils::FlipFlopCommand
Definition
kis_command_utils.h:97
KisCommandUtils::FlipFlopCommand::partB
virtual void partB()
Definition
kis_command_utils.cpp:172
libs
flake
commands
KoKeepShapesSelectedCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52