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
29
class
KRITALIBKIS_EXPORT
GroupLayer
:
public
Node
30
{
31
Q_OBJECT
32
Q_DISABLE_COPY(
GroupLayer
)
33
34
public
:
35
explicit
GroupLayer
(
KisImageSP
image, QString name, QObject *parent = 0);
36
explicit
GroupLayer
(
KisGroupLayerSP
layer, QObject *parent = 0);
37
~GroupLayer
()
override
;
38
public
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
Node.h
GroupLayer
The GroupLayer class A group layer is a layer that can contain other layers. In Krita,...
Definition
GroupLayer.h:30
KisSharedPtr< KisImage >
Node
Definition
Node.h:24
Node::type
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
Node::GroupLayer
friend class GroupLayer
Definition
Node.h:698
kis_types.h
libkis.h
libs
libkis
GroupLayer.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52