QGIS/python/gui/qgscomposerinterface.sip

58 lines
1.8 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
2017-12-15 10:36:55 -04:00
A common interface for composer dialogs.
2017-05-23 14:39:33 +02:00
2017-12-15 10:36:55 -04:00
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.
2017-05-23 14:39:33 +02:00
.. 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
2017-12-15 10:36:55 -04:00
Constructor for QgsComposerInterface.
2017-05-23 14:39:33 +02:00
%End
virtual QgsComposerView *view() = 0;
2017-05-23 14:39:33 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the composer's QgsComposerView editor widget.
2017-05-23 14:39:33 +02:00
%End
virtual QgsComposition *composition() = 0;
2017-05-23 14:39:33 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the composition displated in the composer.
2017-05-23 14:39:33 +02:00
%End
virtual void close() = 0;
2017-05-23 14:39:33 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Closes the composer window.
2017-05-23 14:39:33 +02:00
%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 *
************************************************************************/