Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
757 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2019 Tusooa Zhu <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KIS_DLG_CHANGE_CLONE_SOURCE_H_
#define KIS_DLG_CHANGE_CLONE_SOURCE_H_

#include "kis_types.h"
#include <KoDialog.h>

#include "ui_wdgchangeclonesource.h"

class QWidget;
class KisViewManager;

class KisDlgChangeCloneSource : public KoDialog
{
    Q_OBJECT

public:
    KisDlgChangeCloneSource(QList<KisCloneLayerSP> layers, KisViewManager *view, QWidget *parent = 0);

    ~KisDlgChangeCloneSource() override;

private:
    void updateTargetLayerList();

public Q_SLOTS:
    void slotCancelChangesAndSetNewTarget();

private:
    struct Private;
    const QScopedPointer<Private> d;
};

#endif // KIS_DLG_CHANGE_CLONE_SOURCE_H_