Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_canvas_drop.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 L. E. Segovia <amy@amyspark.me>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KIS_CANVAS_DROP_H
8#define KIS_CANVAS_DROP_H
9
10#include <QMenu>
11#include <QMimeData>
12#include <QPoint>
13
14class KisCanvasDrop : private QMenu
15{
16 Q_OBJECT
17
18public:
32
33 KisCanvasDrop(QWidget *parent = nullptr);
34
35 Action dropAs(const QMimeData &data, QPoint pos);
36
37private:
38 class Private;
39 Private *const d;
40};
41
42#endif // KIS_CANVAS_DROP_H
KisCanvasDrop(QWidget *parent=nullptr)
Action dropAs(const QMimeData &data, QPoint pos)
Private *const d