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
11
17{
18 Q_OBJECT
19public:
26 KisImageFromClipboardWidget(QWidget *parent, const QString & imageName, const QLatin1String &dialogType);
28
29protected:
30
31 void showEvent(QShowEvent *event) override;
32 bool shouldSaveImageDimensions() const override;
33
34private Q_SLOTS:
36 void createImage() override;
38 void enableImageCreation(const QImage &);
39};
40
41#endif
42
void showEvent(QShowEvent *event) override
KisImageFromClipboardWidget(QWidget *parent, const QString &imageName, const QLatin1String &dialogType)