QGIS/python/PyQt6/gui/auto_generated/tiledscene/qgstiledscenerendererwidget.sip.in
2024-08-13 20:28:55 +10:00

70 lines
2.2 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/tiledscene/qgstiledscenerendererwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsTiledSceneRendererWidget : QgsPanelWidget
{
%Docstring(signature="appended")
Base class for tiled scene 2D renderer settings widgets.
.. versionadded:: 3.34
%End
%TypeHeaderCode
#include "qgstiledscenerendererwidget.h"
%End
public:
QgsTiledSceneRendererWidget( QgsTiledSceneLayer *layer, QgsStyle *style );
%Docstring
Constructor for QgsTiledSceneRendererWidget, associated with the
specified ``layer`` and ``style`` database.
%End
virtual QgsTiledSceneRenderer *renderer() = 0 /Factory/;
%Docstring
Returns a new instance of a renderer as defined by the settings in the widget.
Caller takes ownership of the returned object.
%End
virtual void setContext( const QgsSymbolWidgetContext &context );
%Docstring
Sets the ``context`` in which the renderer widget is shown, e.g., the associated map canvas and expression contexts.
.. seealso:: :py:func:`context`
%End
QgsSymbolWidgetContext context() const;
%Docstring
Returns the context in which the renderer widget is shown, e.g., the associated map canvas and expression contexts.
.. seealso:: :py:func:`setContext`
%End
const QgsTiledSceneLayer *layer() const;
%Docstring
Returns the tiled scene layer associated with the widget.
%End
signals:
protected:
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/tiledscene/qgstiledscenerendererwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/