Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_dlg_generator_layer.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2008 Boudewijn Rempt <boud@valdyas.org>
3 * SPDX-FileCopyrightText: 2020 L. E. Segovia <amy@amyspark.me>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7#ifndef KIS_DLG_GENERATORLAYER_H
8#define KIS_DLG_GENERATORLAYER_H
9
10#include <QDialog>
11#include <QString>
12
14class KisViewManager;
15
16#include "ui_wdgdlggeneratorlayer.h"
19
23class KisDlgGeneratorLayer : public QDialog
24{
25public:
26
27 Q_OBJECT
28
29public:
30
39 KisDlgGeneratorLayer(const QString &defaultLayerName, KisViewManager *arg_view,
40 QWidget *parent,
42 const KisFilterConfigurationSP previousConfig,
43 const KisStrokeId stroke);
44 ~KisDlgGeneratorLayer() override;
45
48 QString layerName() const;
49
50protected Q_SLOTS:
51 void slotNameChanged(const QString &);
52 void previewGenerator();
54 void saveLayer();
55 void restoreLayer();
56
57private:
58 Ui_WdgDlgGeneratorLayer dlgWidget;
63
69};
70
71#endif
KisFilterConfigurationSP configuration() const
void setConfiguration(const KisFilterConfigurationSP config)
KisThreadSafeSignalCompressor m_compressor
QWeakPointer< boost::none_t > m_updateCookie
Ui_WdgDlgGeneratorLayer dlgWidget
void slotNameChanged(const QString &)
KisDlgGeneratorLayer(const QString &defaultLayerName, KisViewManager *arg_view, QWidget *parent, KisGeneratorLayerSP glayer, const KisFilterConfigurationSP previousConfig, const KisStrokeId stroke)
KisFilterConfigurationSP configBefore