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++
810 B
Raw Blame
/* This file is part of the KDE project
 * SPDX-FileCopyrightText: 2007 Jan Hambrecht <[email protected]>
 *
 * SPDX-License-Identifier: LGPL-2.0-or-later
 */

#ifndef TESTSHAPEREORDERCOMMAND_H
#define TESTSHAPEREORDERCOMMAND_H

#include <QObject>

class TestShapeReorderCommand : public QObject
{
    Q_OBJECT
public:
    TestShapeReorderCommand();
    ~TestShapeReorderCommand() override;
private Q_SLOTS:
    void testZIndexSorting();
    void testParentChildSorting();

    void testBringToFront();
    void testSendToBack();
    void testMoveUp();
    void testMoveDown();
    void testMoveUpOverlapping();
    void testMoveDownOverlapping();
    void testSendToBackChildren();
    void testNoCommand();
    void testMergeInShape();
    void testMergeInShapeDistant();
};

#endif // TESTSHAPEREORDERCOMMAND_H