Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_dlg_layer_properties.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2005 Boudewijn Rempt <boud@valdyas.org>
3 * SPDX-FileCopyrightText: 2011 José Luis Vergara <pentalis@gmail.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7#ifndef KIS_DLG_LAYER_PROPERTIES_H_
8#define KIS_DLG_LAYER_PROPERTIES_H_
9
10#include <QCheckBox>
11#include <QScopedPointer>
12
13
14#include "kis_types.h"
15#include <KoDialog.h>
16
17#include "ui_wdglayerproperties.h"
18
19
20class QWidget;
21class QBitArray;
22class KisViewManager;
23class KisDocument;
24
25class WdgLayerProperties : public QWidget, public Ui::WdgLayerProperties
26{
27 Q_OBJECT
28
29public:
30 WdgLayerProperties(QWidget *parent) : QWidget(parent) {
31 setupUi(this);
32 }
33};
34
41{
42 Q_OBJECT
43
44public:
45 KisDlgLayerProperties(KisNodeList nodes, KisViewManager *view, QWidget *parent = 0, const char *name = 0, Qt::WindowFlags f = Qt::WindowFlags());
46
47 ~KisDlgLayerProperties() override;
48
49protected Q_SLOTS:
50 void updatePreview();
51
54
57
60
63
66
67private:
68 struct Private;
69 const QScopedPointer<Private> d;
70};
71
72#endif // KIS_DLG_LAYER_PROPERTIES_H_
73
const QScopedPointer< Private > d
KisDlgLayerProperties(KisNodeList nodes, KisViewManager *view, QWidget *parent=0, const char *name=0, Qt::WindowFlags f=Qt::WindowFlags())
A dialog base class with standard buttons and predefined layouts.
Definition KoDialog.h:116
WdgLayerProperties(QWidget *parent)