Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSvgTextReorderShapeInsideCommand.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2025 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
#ifndef KOSVGTEXTREORDERSHAPEINSIDECOMMAND_H
7
#define KOSVGTEXTREORDERSHAPEINSIDECOMMAND_H
8
9
#include <
kundo2command.h
>
10
#include <kritaflake_export.h>
11
12
class
KoSvgTextShape
;
13
class
KoShape
;
14
21
class
KRITAFLAKE_EXPORT
KoSvgTextReorderShapeInsideCommand
:
public
KUndo2Command
22
{
23
public
:
24
enum
MoveShapeType
{
25
MoveEarlier
,
26
MoveLater
,
27
BringToFront
,
28
SendToBack
29
};
30
31
KoSvgTextReorderShapeInsideCommand
(
KoSvgTextShape
* textShape,
QList<KoShape*>
shape, MoveShapeType type,
KUndo2Command
*parent =
nullptr
);
32
~KoSvgTextReorderShapeInsideCommand
();
33
34
void
redo
()
override
;
35
void
undo
()
override
;
36
private
:
37
struct
Private
;
38
QScopedPointer<Private>
d
;
39
};
40
41
#endif
// KOSVGTEXTREORDERSHAPEINSIDECOMMAND_H
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoShape
Definition
KoShape.h:89
KoSvgTextReorderShapeInsideCommand
The KoSvgTextReorderShapeInsideCommand class Within a text shape, the order of the shapes inside dete...
Definition
KoSvgTextReorderShapeInsideCommand.h:22
KoSvgTextReorderShapeInsideCommand::MoveShapeType
MoveShapeType
Definition
KoSvgTextReorderShapeInsideCommand.h:24
KoSvgTextReorderShapeInsideCommand::MoveEarlier
@ MoveEarlier
Definition
KoSvgTextReorderShapeInsideCommand.h:25
KoSvgTextReorderShapeInsideCommand::BringToFront
@ BringToFront
Definition
KoSvgTextReorderShapeInsideCommand.h:27
KoSvgTextReorderShapeInsideCommand::MoveLater
@ MoveLater
Definition
KoSvgTextReorderShapeInsideCommand.h:26
KoSvgTextReorderShapeInsideCommand::d
QScopedPointer< Private > d
Definition
KoSvgTextReorderShapeInsideCommand.h:38
KoSvgTextShape
Definition
KoSvgTextShape.h:33
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
libs
flake
commands
KoSvgTextReorderShapeInsideCommand.h
Generated at
2026-01-15 02:30:07+01:00
from
Krita
branch
master
, commit
38b517ca06286bb65279453cbf9a2b4fbd1153d1