mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05: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
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgssingleboxscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsSingleBoxScaleBarRenderer: QgsScaleBarRenderer
|
|
{
|
|
%Docstring
|
|
Scalebar style that draws a single box with alternating
|
|
color for the segments.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgssingleboxscalebarrenderer.h"
|
|
%End
|
|
public:
|
|
|
|
QgsSingleBoxScaleBarRenderer();
|
|
%Docstring
|
|
Constructor for QgsSingleBoxScaleBarRenderer.
|
|
%End
|
|
|
|
virtual QString id() const;
|
|
|
|
virtual QString visibleName() const;
|
|
|
|
virtual int sortKey() const;
|
|
|
|
virtual Flags flags() const;
|
|
|
|
virtual QgsSingleBoxScaleBarRenderer *clone() const /Factory/;
|
|
|
|
|
|
virtual void draw( QgsRenderContext &context,
|
|
const QgsScaleBarSettings &settings,
|
|
const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const;
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgssingleboxscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|