mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
subclasses, so that the subclass itself can indicate what settings it respects and we can avoid all the hardcoded logic in the configuration widget
56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgshollowscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsHollowScaleBarRenderer: QgsScaleBarRenderer
|
|
{
|
|
%Docstring
|
|
Scalebar style that draws a single box with alternating color for the segments, with horizontal lines through
|
|
alternating segments. AKA "South African" style.
|
|
|
|
.. versionadded:: 3.14
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgshollowscalebarrenderer.h"
|
|
%End
|
|
public:
|
|
|
|
QgsHollowScaleBarRenderer();
|
|
%Docstring
|
|
Constructor for QgsHollowScaleBarRenderer.
|
|
%End
|
|
|
|
virtual QString id() const;
|
|
|
|
virtual QString visibleName() const;
|
|
|
|
virtual Flags flags() const;
|
|
|
|
virtual int sortKey() const;
|
|
|
|
virtual QgsHollowScaleBarRenderer *clone() const /Factory/;
|
|
|
|
|
|
virtual void draw( QgsRenderContext &context,
|
|
const QgsScaleBarSettings &settings,
|
|
const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const;
|
|
virtual bool applyDefaultSettings( QgsScaleBarSettings &settings ) const;
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgshollowscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|