Krita Source Code Documentation
Loading...
Searching...
No Matches
CssStylePresetEditDialog.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef CSSSTYLEPRESETEDITDIALOG_H
7#define CSSSTYLEPRESETEDITDIALOG_H
8
9#include <QObject>
10#include <KoDialog.h>
12#include <KisQQuickWidget.h>
14
16{
17 Q_OBJECT
18public:
19 CssStylePresetEditDialog(QWidget *parent = nullptr);
21
24
25 void setDpi(const double dpi);
26
27public Q_SLOTS:
29 QColor modalColorDialog(QColor oldColor);
30 void slotUpdateDirty();
31 void slotUpdateStoreDPI();
32
33private:
37 bool m_blockUpdates {false};
38};
39
40#endif // CSSSTYLEPRESETEDITDIALOG_H
CssStylePresetEditDialog(QWidget *parent=nullptr)
QColor modalColorDialog(QColor oldColor)
void setCurrentResource(KoCssStylePresetSP resource)
KoSvgTextPropertiesModel * m_model
The KisQQuickWidget class.
A dialog base class with standard buttons and predefined layouts.
Definition KoDialog.h:116
The KoSvgTextPropertiesModel class.