QGIS API Documentation
3.99.0-Master (c22de0620c0)
Loading...
Searching...
No Matches
src
gui
layout
qgslayoutqptdrophandler.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgslayoutqptdrophandler.h
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
#ifndef QGSLAYOUTQPTDROPHANDLER_H
17
#define QGSLAYOUTQPTDROPHANDLER_H
18
19
// We don't want to expose this in the public API
20
21
#include "qgis_gui.h"
22
#include "
qgslayoutcustomdrophandler.h
"
23
24
#define SIP_NO_FILE
25
33
class
GUI_EXPORT
QgsLayoutQptDropHandler
:
public
QgsLayoutCustomDropHandler
34
{
35
Q_OBJECT
36
37
public
:
39
QgsLayoutQptDropHandler
( QObject *parent =
nullptr
);
40
41
using
QgsLayoutCustomDropHandler::handleFileDrop
;
42
bool
handleFileDrop
(
QgsLayoutDesignerInterface
*iface, QPointF point,
const
QString &file )
override
;
43
};
44
45
#endif
// QGSLAYOUTQPTDROPHANDLER_H
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:27
QgsLayoutCustomDropHandler::QgsLayoutCustomDropHandler
QgsLayoutCustomDropHandler(QObject *parent=nullptr)
Constructor for QgsLayoutCustomDropHandler.
Definition
qgslayoutcustomdrophandler.cpp:22
QgsLayoutDesignerInterface
A common interface for layout designer dialogs and widgets.
Definition
qgslayoutdesignerinterface.h:56
QgsLayoutQptDropHandler::QgsLayoutQptDropHandler
QgsLayoutQptDropHandler(QObject *parent=nullptr)
constructor
Definition
qgslayoutqptdrophandler.cpp:31
qgslayoutcustomdrophandler.h
Generated on
for QGIS API Documentation by
1.15.0