2019-12-04 08:39:59 +10:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2019-12-11 06:43:20 +10:00
|
|
|
* src/gui/labeling/qgslabelobstaclesettingswidget.h *
|
2019-12-04 08:39:59 +10:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsLabelObstacleSettingsWidget : QgsLabelSettingsWidgetBase
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
A widget for customising label obstacle settings.
|
|
|
|
|
|
|
|
.. versionadded:: 3.12
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgslabelobstaclesettingswidget.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsLabelObstacleSettingsWidget( QWidget *parent /TransferThis/ = 0, QgsVectorLayer *vl = 0 );
|
|
|
|
%Docstring
|
|
|
|
Constructor for QgsLabelObstacleSettingsWidget.
|
|
|
|
|
|
|
|
:param parent: parent widget
|
|
|
|
:param vl: associated vector layer
|
|
|
|
%End
|
|
|
|
|
2019-12-04 11:17:41 +10:00
|
|
|
void setSettings( const QgsLabelObstacleSettings &settings );
|
2019-12-04 08:39:59 +10:00
|
|
|
%Docstring
|
|
|
|
Sets the obstacle ``settings`` to show in the widget.
|
|
|
|
|
|
|
|
.. seealso:: :py:func:`settings`
|
|
|
|
%End
|
|
|
|
|
|
|
|
QgsLabelObstacleSettings settings() const;
|
|
|
|
%Docstring
|
|
|
|
Returns the obstacle settings defined by the widget.
|
|
|
|
|
|
|
|
.. seealso:: :py:func:`setSettings`
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual void setGeometryType( QgsWkbTypes::GeometryType type );
|
|
|
|
|
|
|
|
|
2019-12-04 12:06:11 +10:00
|
|
|
virtual void updateDataDefinedProperties( QgsPropertyCollection &properties );
|
|
|
|
|
|
|
|
|
2019-12-04 08:39:59 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2019-12-11 06:43:20 +10:00
|
|
|
* src/gui/labeling/qgslabelobstaclesettingswidget.h *
|
2019-12-04 08:39:59 +10:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|