QGIS/python/core/auto_generated/labeling/qgslabeling.sip.in

57 lines
1.8 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/labeling/qgslabeling.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsLabeling
{
%Docstring
Contains constants and enums relating to labeling.
.. versionadded:: 3.12
%End
%TypeHeaderCode
#include "qgslabeling.h"
%End
public:
enum class LinePlacementFlag
{
OnLine,
AboveLine,
BelowLine,
MapOrientation,
};
typedef QFlags<QgsLabeling::LinePlacementFlag> LinePlacementFlags;
2020-05-02 08:39:12 +10:00
enum PolygonPlacementFlag
{
AllowPlacementOutsideOfPolygon,
AllowPlacementInsideOfPolygon,
};
typedef QFlags<QgsLabeling::PolygonPlacementFlag> PolygonPlacementFlags;
};
QFlags<QgsLabeling::LinePlacementFlag> operator|(QgsLabeling::LinePlacementFlag f1, QFlags<QgsLabeling::LinePlacementFlag> f2);
QFlags<QgsLabeling::PolygonPlacementFlag> operator|(QgsLabeling::PolygonPlacementFlag f1, QFlags<QgsLabeling::PolygonPlacementFlag> f2);
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/labeling/qgslabeling.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/