|
| QgsHollowScaleBarRenderer ()=default |
| Constructor for QgsHollowScaleBarRenderer. More...
|
|
bool | applyDefaultSettings (QgsScaleBarSettings &settings) const override |
| Applies any default settings relating to the scalebar to the passed settings object. More...
|
|
QgsHollowScaleBarRenderer * | clone () const override |
| Returns a clone of the renderer. More...
|
|
void | draw (QgsRenderContext &context, const QgsScaleBarSettings &settings, const QgsScaleBarRenderer::ScaleBarContext &scaleContext) const override |
| Draws the scalebar using the specified settings and scaleContext to a destination render context. More...
|
|
Flags | flags () const override |
| Returns the scalebar rendering flags, which dictates the renderer's behavior. More...
|
|
QString | id () const override |
| Returns the unique ID for this renderer. More...
|
|
int | sortKey () const override |
| Returns a sorting key value, where renderers with a lower sort key will be shown earlier in lists. More...
|
|
QString | visibleName () const override |
| Returns the user friendly, translated name for the renderer. More...
|
|
| QgsScaleBarRenderer ()=default |
| Constructor for QgsScaleBarRenderer. More...
|
|
virtual | ~QgsScaleBarRenderer ()=default |
|
virtual bool | applyDefaultSettings (QgsScaleBarSettings &settings) const |
| Applies any default settings relating to the scalebar to the passed settings object. More...
|
|
virtual Q_DECL_DEPRECATED QSizeF | calculateBoxSize (const QgsScaleBarSettings &settings, const QgsScaleBarRenderer::ScaleBarContext &scaleContext) const |
| Calculates the required box size (in millimeters) for a scalebar using the specified settings and scaleContext. More...
|
|
virtual QSizeF | calculateBoxSize (QgsRenderContext &context, const QgsScaleBarSettings &settings, const QgsScaleBarRenderer::ScaleBarContext &scaleContext) const |
| Calculates the required box size (in millimeters) for a scalebar using the specified settings and scaleContext. More...
|
|
virtual QgsScaleBarRenderer * | clone () const =0 |
| Returns a clone of the renderer. More...
|
|
virtual void | draw (QgsRenderContext &context, const QgsScaleBarSettings &settings, const QgsScaleBarRenderer::ScaleBarContext &scaleContext) const =0 |
| Draws the scalebar using the specified settings and scaleContext to a destination render context. More...
|
|
virtual Flags | flags () const |
| Returns the scalebar rendering flags, which dictates the renderer's behavior. More...
|
|
virtual QString | id () const =0 |
| Returns the unique ID for this renderer. More...
|
|
Q_DECL_DEPRECATED QString | name () const |
| Returns the unique name for this style. More...
|
|
virtual int | sortKey () const |
| Returns a sorting key value, where renderers with a lower sort key will be shown earlier in lists. More...
|
|
virtual QString | visibleName () const =0 |
| Returns the user friendly, translated name for the renderer. More...
|
|