Krita Source Code Documentation
Loading...
Searching...
No Matches
GroupLayer.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_GROUPLAYER_H
7#define LIBKIS_GROUPLAYER_H
8
9#include <QObject>
10#include "Node.h"
11
12#include <kis_types.h>
13
14#include "kritalibkis_export.h"
15#include "libkis.h"
16
29class KRITALIBKIS_EXPORT GroupLayer : public Node
30{
31 Q_OBJECT
32 Q_DISABLE_COPY(GroupLayer)
33
34public:
35 explicit GroupLayer(KisImageSP image, QString name, QObject *parent = 0);
36 explicit GroupLayer(KisGroupLayerSP layer, QObject *parent = 0);
37 ~GroupLayer() override;
38public Q_SLOTS:
39
46 virtual QString type() const override;
47
60 void setPassThroughMode(bool passthrough);
61
66 bool passThroughMode() const;
67};
68
69#endif // LIBKIS_GROUPLAYER_H
70
The GroupLayer class A group layer is a layer that can contain other layers. In Krita,...
Definition GroupLayer.h:30
Definition Node.h:24
virtual QString type() const
type Krita has several types of nodes, split in layers and masks. Group layers can contain other laye...
Definition Node.cpp:463
friend class GroupLayer
Definition Node.h:698