Krita Source Code Documentation
Loading...
Searching...
No Matches
dlg_layersplit.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6#ifndef DLG_LAYERSPLIT
7#define DLG_LAYERSPLIT
8
9#include <KoDialog.h>
10#include <KoColorSet.h>
11#include <KisPaletteChooser.h>
12#include <kis_types.h>
13
14#include "wdg_layersplit.h"
15
21{
22
23 Q_OBJECT
24
25public:
26
28 ~DlgLayerSplit() override;
29
30 bool createBaseGroup() const;
31 bool createSeparateGroups() const;
32 bool lockAlpha() const;
33 bool hideOriginal() const;
34 bool sortLayers() const;
35 bool disregardOpacity() const;
36 int fuzziness() const;
37 KoColorSetSP palette() const;
38
39private Q_SLOTS:
40
41 void slotApplyClicked();
43 void slotChangeMode(int);
44
45private:
46
47 friend class LayerSplit;
49
53};
54
55#endif // DLG_LAYERSPLIT
int fuzziness() const
KoColorSetSP m_palette
bool lockAlpha() const
KoColorSetSP palette() const
bool sortLayers() const
~DlgLayerSplit() override
WdgLayerSplit * m_page
void slotChangeMode(int)
bool disregardOpacity() const
bool createSeparateGroups() const
bool hideOriginal() const
KisPaletteChooser * m_colorSetChooser
void slotSetPalette(KoColorSetSP pal)
bool createBaseGroup() const
A dialog base class with standard buttons and predefined layouts.
Definition KoDialog.h:116