author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 02 Sep 2010 21:20:32 +0300 | |
changeset 34 | a33bf25e6f72 |
parent 33 | 3e2da88830cd |
permissions | -rw-r--r-- |
0 | 1 |
/**************************************************************************** |
2 |
** |
|
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
3 |
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 4 |
** All rights reserved. |
5 |
** Contact: Nokia Corporation (qt-info@nokia.com) |
|
6 |
** |
|
7 |
** This file is part of the documentation of the Qt Toolkit. |
|
8 |
** |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
9 |
** $QT_BEGIN_LICENSE:FDL$ |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
10 |
** Commercial Usage |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
11 |
** Licensees holding valid Qt Commercial licenses may use this file in |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
12 |
** accordance with the Qt Commercial License Agreement provided with the |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
13 |
** Software or, alternatively, in accordance with the terms contained in a |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
14 |
** written agreement between you and Nokia. |
0 | 15 |
** |
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
16 |
** GNU Free Documentation License |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
17 |
** Alternatively, this file may be used under the terms of the GNU Free |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
18 |
** Documentation License version 1.3 as published by the Free Software |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
19 |
** Foundation and appearing in the file included in the packaging of this |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
20 |
** file. |
0 | 21 |
** |
22 |
** If you have questions regarding the use of this file, please contact |
|
23 |
** Nokia at qt-info@nokia.com. |
|
24 |
** $QT_END_LICENSE$ |
|
25 |
** |
|
26 |
****************************************************************************/ |
|
27 |
||
28 |
/*! |
|
29 |
\class QDesignerDnDItemInterface |
|
30 |
\brief The QDesignerDnDItemInterface class provides an interface that is used to manage items |
|
31 |
during a drag and drop operation. |
|
32 |
\inmodule QtDesigner |
|
33 |
\internal |
|
34 |
*/ |
|
35 |
||
36 |
/*! |
|
37 |
\enum QDesignerDnDItemInterface::DropType |
|
38 |
||
39 |
This enum describes the result of a drag and drop operation. |
|
40 |
||
41 |
\value MoveDrop The item was moved. |
|
42 |
\value CopyDrop The item was copied. |
|
43 |
*/ |
|
44 |
||
45 |
/*! |
|
46 |
\fn QDesignerDnDItemInterface::QDesignerDnDItemInterface() |
|
47 |
||
48 |
Constructs a new interface to a drag and drop item. |
|
49 |
*/ |
|
50 |
||
51 |
/*! |
|
52 |
\fn QDesignerDnDItemInterface::~QDesignerDnDItemInterface() |
|
53 |
||
54 |
Destroys the interface to the item. |
|
55 |
*/ |
|
56 |
||
57 |
/*! |
|
58 |
\fn DomUI *QDesignerDnDItemInterface::domUi() const |
|
59 |
||
60 |
Returns a user interface object for the item. |
|
61 |
*/ |
|
62 |
||
63 |
/*! |
|
64 |
\fn QWidget *QDesignerDnDItemInterface::widget() const |
|
65 |
||
66 |
Returns the widget being copied or moved in the drag and drop operation. |
|
67 |
||
68 |
\sa source() |
|
69 |
*/ |
|
70 |
||
71 |
/*! |
|
72 |
\fn QWidget *QDesignerDnDItemInterface::decoration() const |
|
73 |
||
74 |
Returns the widget used to represent the item. |
|
75 |
*/ |
|
76 |
||
77 |
/*! |
|
78 |
\fn QPoint QDesignerDnDItemInterface::hotSpot() const |
|
79 |
||
80 |
Returns the cursor's hotspot. |
|
81 |
||
82 |
\sa QDrag::hotSpot() |
|
83 |
*/ |
|
84 |
||
85 |
/*! |
|
86 |
\fn DropType QDesignerDnDItemInterface::type() const |
|
87 |
||
88 |
Returns the type of drag and drop operation in progress. |
|
89 |
*/ |
|
90 |
||
91 |
/*! |
|
92 |
\fn QWidget *QDesignerDnDItemInterface::source() const |
|
93 |
||
94 |
Returns the widget that is the source of the drag and drop operation; i.e. the original |
|
95 |
container of the widget being dragged. |
|
96 |
||
97 |
\sa widget() |
|
98 |
*/ |