QGIS API Documentation
3.43.0-Master (9e873c7bc91)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
gui
layout
qgslayoutcustomdrophandler.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgslayoutcustomdrophandler.cpp
3
------------------------------
4
begin : December 2017
5
copyright : (C) 2017 by nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#include "
qgslayoutcustomdrophandler.h
"
17
#include "moc_qgslayoutcustomdrophandler.cpp"
18
#include <QPointF>
19
20
QgsLayoutCustomDropHandler::QgsLayoutCustomDropHandler
( QObject *parent )
21
: QObject( parent )
22
{
23
}
20
QgsLayoutCustomDropHandler::QgsLayoutCustomDropHandler
( QObject *parent ) {
…
}
24
25
bool
QgsLayoutCustomDropHandler::handleFileDrop
(
QgsLayoutDesignerInterface
*,
const
QString & )
26
{
27
return
false
;
28
}
25
bool
QgsLayoutCustomDropHandler::handleFileDrop
(
QgsLayoutDesignerInterface
*,
const
QString & ) {
…
}
29
30
bool
QgsLayoutCustomDropHandler::handleFileDrop
(
QgsLayoutDesignerInterface
*, QPointF,
const
QString & )
31
{
32
return
false
;
33
}
30
bool
QgsLayoutCustomDropHandler::handleFileDrop
(
QgsLayoutDesignerInterface
*, QPointF,
const
QString & ) {
…
}
34
35
bool
QgsLayoutCustomDropHandler::handlePaste
(
QgsLayoutDesignerInterface
*, QPointF,
const
QMimeData *, QList<QgsLayoutItem *> & )
36
{
37
return
false
;
38
}
35
bool
QgsLayoutCustomDropHandler::handlePaste
(
QgsLayoutDesignerInterface
*, QPointF,
const
QMimeData *, QList<QgsLayoutItem *> & ) {
…
}
QgsLayoutCustomDropHandler::handlePaste
virtual bool handlePaste(QgsLayoutDesignerInterface *iface, QPointF pastePoint, const QMimeData *data, QList< QgsLayoutItem * > &pastedItems)
Called when the specified MIME data has been pasted onto a QGIS layout.
Definition
qgslayoutcustomdrophandler.cpp:35
QgsLayoutCustomDropHandler::handleFileDrop
virtual Q_DECL_DEPRECATED bool handleFileDrop(QgsLayoutDesignerInterface *iface, const QString &file)
Called when the specified file has been dropped onto a QGIS layout.
Definition
qgslayoutcustomdrophandler.cpp:25
QgsLayoutCustomDropHandler::QgsLayoutCustomDropHandler
QgsLayoutCustomDropHandler(QObject *parent=nullptr)
Constructor for QgsLayoutCustomDropHandler.
Definition
qgslayoutcustomdrophandler.cpp:20
QgsLayoutDesignerInterface
A common interface for layout designer dialogs and widgets.
Definition
qgslayoutdesignerinterface.h:55
qgslayoutcustomdrophandler.h
Generated on Wed Mar 12 2025 12:18:25 for QGIS API Documentation by
1.9.8