Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_dlg_image_properties.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2004 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KIS_DLG_IMAGE_PROPERTIES_H_
7#define KIS_DLG_IMAGE_PROPERTIES_H_
8
9#include <KoDialog.h>
10#include <kis_types.h>
11#include "ui_wdgimageproperties.h"
12
14
15class KoColorSpace;
16class WdgImageProperties : public QWidget, public Ui::WdgImageProperties
17{
18 Q_OBJECT
19
20public:
21 WdgImageProperties(QWidget *parent) : QWidget(parent) {
22 setupUi(this);
23 }
24};
25
27{
28
29 Q_OBJECT
30
31public:
33 QWidget *parent = 0,
34 const char *name = 0);
35 ~KisDlgImageProperties() override;
36
37 bool convertLayerPixels() const;
38 const KoColorSpace * colorSpace() const;
39
40 virtual int exec() override;
41
42private Q_SLOTS:
43 void setAnnotation(const QString& type);
44 void setCurrentColor();
47
49private:
50
51 struct Private;
52 QScopedPointer<Private> d;
54};
55
56
57
58#endif // KIS_DLG_IMAGE_PROPERTIES_H_
59
void slotColorSpaceChanged(const KoColorSpace *)
void setAnnotation(const QString &type)
KisDlgImageProperties(KisImageWSP image, KisDisplayColorConverter *colorConverter, QWidget *parent=0, const char *name=0)
QScopedPointer< Private > d
const KoColorSpace * colorSpace() const
A dialog base class with standard buttons and predefined layouts.
Definition KoDialog.h:116
WdgImageProperties(QWidget *parent)