QGIS/python/gui/auto_generated/layout/qgslayoutdesignerinterface.sip.in

81 lines
2.3 KiB
Plaintext
Raw Normal View History

2017-07-03 12:14:56 +10:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/layout/qgslayoutdesignerinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsLayoutDesignerInterface: QObject
{
%Docstring
2017-12-15 10:36:55 -04:00
A common interface for layout designer dialogs and widgets.
2017-07-03 12:14:56 +10:00
2017-12-15 10:36:55 -04:00
Provides a common interface and stable API for layout designer dialogs and widgets.
This interface can be used by plugins and scripts to interact with
open layout designer dialogs.
2017-07-03 12:14:56 +10:00
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgslayoutdesignerinterface.h"
%End
public:
QgsLayoutDesignerInterface( QObject *parent /TransferThis/ = 0 );
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsLayoutDesignerInterface.
2017-07-03 12:14:56 +10:00
%End
virtual QgsLayout *layout() = 0;
%Docstring
Returns the current layout displayed in the designer.
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`view`
2017-07-03 12:14:56 +10:00
%End
virtual QgsMasterLayoutInterface *masterLayout() = 0;
%Docstring
Returns the master layout displayed in the designer.
.. seealso:: :py:func:`layout`
%End
2017-07-05 18:02:06 +10:00
virtual QgsLayoutView *view() = 0;
%Docstring
2017-12-15 10:36:55 -04:00
Returns the layout view utilized by the designer.
.. seealso:: :py:func:`layout`
2017-07-05 18:02:06 +10:00
%End
2017-12-12 19:08:44 +10:00
virtual QgsMessageBar *messageBar() = 0;
%Docstring
2017-12-16 08:16:52 +10:00
Returns the designer's message bar.
2017-12-12 19:08:44 +10:00
%End
2018-06-22 09:42:51 +10:00
virtual void selectItems( const QList< QgsLayoutItem * > &items ) = 0;
%Docstring
2017-12-15 10:36:55 -04:00
Selects the specified ``items``.
%End
2017-07-03 12:14:56 +10:00
public slots:
virtual void close() = 0;
%Docstring
2017-12-15 10:36:55 -04:00
Closes the layout designer.
2017-07-03 12:14:56 +10:00
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/layout/qgslayoutdesignerinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/