Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_image_from_clipboard_widget.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2005 Thomas Zander <zander@kde.org>
3 * SPDX-FileCopyrightText: 2005 C. Boemann <cbo@boemann.dk>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7#ifndef KIS_IMAGE_FROM_CLIPBOARD_WIDGET_H
8#define KIS_IMAGE_FROM_CLIPBOARD_WIDGET_H
9
10#include "kis_global.h"
13
19{
20 Q_OBJECT
21public:
33 KisImageFromClipboardWidget(QWidget *parent, qint32 defWidth, qint32 defHeight, double resolution, const QString & defColorModel, const QString & defColorDepth, const QString & defColorProfile, const QString & imageName);
35
36protected:
37
38 void showEvent(QShowEvent *event) override;
39
40private Q_SLOTS:
42 void createImage();
44 void enableImageCreation(const QImage &);
45};
46
47#endif
48
KisImageFromClipboardWidget(QWidget *parent, qint32 defWidth, qint32 defHeight, double resolution, const QString &defColorModel, const QString &defColorDepth, const QString &defColorProfile, const QString &imageName)
void showEvent(QShowEvent *event) override