QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
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 
17 
19  : QObject( parent )
20 {
21 
22 }
23 
25 {
26  return false;
27 }
A common interface for layout designer dialogs and widgets.
QgsLayoutCustomDropHandler(QObject *parent=nullptr)
Constructor for QgsLayoutCustomDropHandler.
virtual bool handleFileDrop(QgsLayoutDesignerInterface *iface, const QString &file)
Called when the specified file has been dropped onto a QGIS layout.