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++
795 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2018 Sven Langkamp <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KISTRANSFORMTOOLACTIVATIONCOMMAND_H
#define KISTRANSFORMTOOLACTIVATIONCOMMAND_H

#include <QObject>
#include <kritaui_export.h>
#include <kundo2command.h>
#include "KisViewManager.h"

class KRITAUI_EXPORT KisTransformToolActivationCommand :  public QObject, public KUndo2Command
{
     Q_OBJECT
public:
    KisTransformToolActivationCommand(KisViewManager* view, KUndo2Command * parent = 0);
    ~KisTransformToolActivationCommand() override;

    void redo() override;
    void undo() override;


Q_SIGNALS:
    void requestTransformTool();

    
private:
    bool m_firstRedo;
    KisViewManager* m_view;
};

#endif // KISTRANSFORMTOOLACTIVATIONCOMMAND_H