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 *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-03-18 08:36:18 +10:00
|
|
|
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
|
|
|
|
|
2017-03-18 08:36:18 +10:00
|
|
|
%TypeHeaderCode
|
2017-05-23 14:39:33 +02:00
|
|
|
#include "qgscomposerinterface.h"
|
2017-03-18 08:36:18 +10:00
|
|
|
%End
|
|
|
|
public:
|
2017-05-23 14:39:33 +02:00
|
|
|
|
2017-03-18 10:46:19 +10:00
|
|
|
QgsComposerInterface( QObject *parent /TransferThis/ = 0 );
|
2017-05-23 14:39:33 +02:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsComposerInterface.
|
|
|
|
%End
|
2017-03-18 10:46:19 +10:00
|
|
|
|
2017-03-18 08:36:18 +10:00
|
|
|
virtual ~QgsComposerInterface();
|
2017-05-23 14:39:33 +02:00
|
|
|
|
2017-03-18 10:46:19 +10:00
|
|
|
virtual QgsComposerView *view() = 0;
|
2017-05-23 14:39:33 +02:00
|
|
|
%Docstring
|
|
|
|
Returns the composer's QgsComposerView editor widget.
|
|
|
|
:rtype: QgsComposerView
|
|
|
|
%End
|
|
|
|
|
2017-03-18 10:46:19 +10:00
|
|
|
virtual QgsComposition *composition() = 0;
|
2017-05-23 14:39:33 +02:00
|
|
|
%Docstring
|
|
|
|
Returns the composition displated in the composer.
|
|
|
|
:rtype: QgsComposition
|
|
|
|
%End
|
|
|
|
|
2017-03-18 10:46:19 +10:00
|
|
|
virtual void close() = 0;
|
2017-05-23 14:39:33 +02:00
|
|
|
%Docstring
|
|
|
|
Closes the composer window.
|
|
|
|
%End
|
2017-03-18 10:46:19 +10:00
|
|
|
|
2017-03-18 08:36:18 +10:00
|
|
|
};
|
|
|
|
|
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 *
|
|
|
|
************************************************************************/
|