7#ifndef KOSHAPEREORDERCOMMAND_H
8#define KOSHAPEREORDERCOMMAND_H
10#include "kritaflake_export.h"
12#include <boost/operators.hpp>
24 struct KRITAFLAKE_EXPORT
IndexedShape : boost::less_than_comparable<IndexedShape> {
109 void redo()
override;
111 void undo()
override;
KRITAFLAKE_EXPORT QDebug operator<<(QDebug dbg, const KoShapeReorderCommand::IndexedShape &indexedShape)
bool operator<(KoSnapStrategy::SnapType lhs, KoSnapStrategy::SnapType rhs)
This command allows you to change the zIndex of a number of shapes.
KoShapeReorderCommandPrivate *const d
MoveShapeType
An enum for defining what kind of reordering to use.
@ RaiseShape
raise the selected shape to the level that it is above the shape that is on top of it.
@ LowerShape
Lower the selected shape to the level that it is below the shape that is below it.
@ BringToFront
Raise the selected shape to be on top of all shapes.