QGIS/python/core/auto_generated/labeling/qgslabeling.sip.in
Nyall Dawson 0cd955743c Create QgsLabeling class for labeling related enums and constants,
and avoid inclusion of pal header in a public QGIS header

pal is an internal implementation detail -- it should not be exposed
publicly
2020-01-15 17:10:37 +13:00

47 lines
1.5 KiB
Plaintext

/************************************************************************
* 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;
};
QFlags<QgsLabeling::LinePlacementFlag> operator|(QgsLabeling::LinePlacementFlag f1, QFlags<QgsLabeling::LinePlacementFlag> 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 *
************************************************************************/