Krita Source Code Documentation
Loading...
Searching...
No Matches
GroupShape.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6#ifndef LIBKIS_GROUPSHAPE_H
7#define LIBKIS_GROUPSHAPE_H
8
9#include "kritalibkis_export.h"
10#include "libkis.h"
11#include "Shape.h"
12#include <kis_types.h>
13#include <KoShapeGroup.h>
14
20class KRITALIBKIS_EXPORT GroupShape : public Shape
21{
22 Q_OBJECT
23
24public:
25 explicit GroupShape(QObject *parent = 0);
26 GroupShape(KoShapeGroup *shape, QObject *parent = 0);
28public Q_SLOTS:
29
34 QString type() const override;
35
40 QList<Shape*> children();
41};
42
43#endif // LIBKIS_GROUPSHAPE_H
The GroupShape class A group shape is a vector object with child shapes.
Definition GroupShape.h:21
The Shape class The shape class is a wrapper around Krita's vector objects.
Definition Shape.h:38
virtual QString type() const
type
Definition Shape.cpp:63
friend class GroupShape
Definition Shape.h:202