Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
abstractdnditem.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
ABSTRACTDNDITEM_H
6
#
define
ABSTRACTDNDITEM_H
7
8
#
include
<
QtDesigner
/
sdk_global
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
DomUI;
13
class
QWidget
;
14
class
QPoint
;
15
16
class
QDESIGNER_SDK_EXPORT
QDesignerDnDItemInterface
17
{
18
public
:
19
Q_DISABLE_COPY_MOVE(QDesignerDnDItemInterface)
20
21
enum
DropType { MoveDrop, CopyDrop };
22
23
QDesignerDnDItemInterface() =
default
;
24
virtual
~QDesignerDnDItemInterface() =
default
;
25
26
virtual
DomUI *domUi()
const
= 0;
27
virtual
QWidget *widget()
const
= 0;
28
virtual
QWidget *decoration()
const
= 0;
29
virtual
QPoint hotSpot()
const
= 0;
30
virtual
DropType type()
const
= 0;
31
virtual
QWidget *source()
const
= 0;
32
};
33
34
QT_END_NAMESPACE
35
36
#
endif
// ABSTRACTDNDITEM_H
QDesignerDnDItemInterface
Definition
abstractdnditem.h:17
QPainter::QWidget
friend class QWidget
Definition
qpainter.h:432
QPoint
\inmodule QtCore\reentrant
Definition
qpoint.h:30
qttools
src
designer
src
lib
sdk
abstractdnditem.h
Generated on
for Qt by
1.18.0