QGIS/python/gui/qgscomposerinterface.sip

62 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-05-23 14:39:33 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscomposerinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsComposerInterface: QObject
{
2017-05-23 14:39:33 +02:00
%Docstring
A common interface for composer dialogs.
Provides a common interface and stable API for composer editor dialogs.
This interface can be used by plugins and scripts to interact with
open composer dialogs.
.. versionadded:: 3.0
%End
%TypeHeaderCode
2017-05-23 14:39:33 +02:00
#include "qgscomposerinterface.h"
%End
public:
2017-05-23 14:39:33 +02:00
QgsComposerInterface( QObject *parent /TransferThis/ = 0 );
2017-05-23 14:39:33 +02:00
%Docstring
Constructor for QgsComposerInterface.
%End
virtual ~QgsComposerInterface();
2017-05-23 14:39:33 +02:00
virtual QgsComposerView *view() = 0;
2017-05-23 14:39:33 +02:00
%Docstring
Returns the composer's QgsComposerView editor widget.
:rtype: QgsComposerView
%End
virtual QgsComposition *composition() = 0;
2017-05-23 14:39:33 +02:00
%Docstring
Returns the composition displated in the composer.
:rtype: QgsComposition
%End
virtual void close() = 0;
2017-05-23 14:39:33 +02:00
%Docstring
Closes the composer window.
%End
};
2017-05-23 14:39:33 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscomposerinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/