Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_qmic_synchronize_layers_command.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2013 Lukáš Tvrdý <lukast.dev@gmail.com>
3 * SPDX-FileCopyrightText: 2022 L. E. Segovia <amy@amyspark.me>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8#ifndef _KIS_GMIC_SYNCHRONIZE_LAYERS_COMMAND
9#define _KIS_GMIC_SYNCHRONIZE_LAYERS_COMMAND
10
11#include <kundo2command.h>
12
13#include <kis_image.h>
14#include <kis_selection.h>
15#include <kis_node.h>
16#include <kis_types.h>
17#include <kis_command_utils.h>
18
19#include "kis_qmic_interface.h"
20
22{
23public:
26 KisImageWSP image,
27 const QRect &dstRect = QRect(),
28 KisSelectionSP selection = nullptr);
29
31
32 void redo() override;
33 void undo() override;
34
35private:
36 struct Private;
37 Private* const d;
38
40};
41
42#endif
Q_DISABLE_COPY(KisQmicSynchronizeLayersCommand)
KisQmicSynchronizeLayersCommand(KisNodeListSP nodes, QVector< KisQMicImageSP > images, KisImageWSP image, const QRect &dstRect=QRect(), KisSelectionSP selection=nullptr)