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
60 lines
2.1 KiB
Plaintext
60 lines
2.1 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgsnumericscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsNumericScaleBarRenderer: QgsScaleBarRenderer
|
|
{
|
|
%Docstring
|
|
A scale bar style that draws text in the form of '1:XXXXX'.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsnumericscalebarrenderer.h"
|
|
%End
|
|
public:
|
|
|
|
QgsNumericScaleBarRenderer();
|
|
%Docstring
|
|
Constructor for QgsNumericScaleBarRenderer.
|
|
%End
|
|
|
|
virtual QString id() const;
|
|
|
|
virtual QString visibleName() const;
|
|
|
|
virtual int sortKey() const;
|
|
|
|
virtual Flags flags() const;
|
|
|
|
virtual QgsNumericScaleBarRenderer *clone() const /Factory/;
|
|
|
|
|
|
virtual void draw( QgsRenderContext &context,
|
|
const QgsScaleBarSettings &settings,
|
|
const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const;
|
|
|
|
virtual QSizeF calculateBoxSize( QgsRenderContext &context,
|
|
const QgsScaleBarSettings &settings,
|
|
const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const;
|
|
|
|
virtual QSizeF calculateBoxSize( const QgsScaleBarSettings &settings, const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const /Deprecated/;
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgsnumericscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|