QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsScaleMethodWidget Class Reference

A widget which lets the user select from scale calculation methods. More...

#include <qgsscalemethodwidget.h>

Inheritance diagram for QgsScaleMethodWidget:

Signals

void methodChanged ()
 Emitted when the selected method is changed.

Public Member Functions

 QgsScaleMethodWidget (QWidget *parent=nullptr)
 Constructor for QgsScaleMethodWidget, with the specified parent widget.
Qgis::ScaleCalculationMethod scaleMethod () const
 Returns the selected scale method.
void setScaleMethod (Qgis::ScaleCalculationMethod method)
 Sets the selected blend mode.

Properties

Qgis::ScaleCalculationMethod scaleMethod

Detailed Description

A widget which lets the user select from scale calculation methods.

Since
QGIS 3.44

Definition at line 35 of file qgsscalemethodwidget.h.

Constructor & Destructor Documentation

◆ QgsScaleMethodWidget()

QgsScaleMethodWidget::QgsScaleMethodWidget ( QWidget * parent = nullptr)

Constructor for QgsScaleMethodWidget, with the specified parent widget.

Definition at line 28 of file qgsscalemethodwidget.cpp.

Member Function Documentation

◆ methodChanged

void QgsScaleMethodWidget::methodChanged ( )
signal

Emitted when the selected method is changed.

◆ scaleMethod()

Qgis::ScaleCalculationMethod QgsScaleMethodWidget::scaleMethod ( ) const

Returns the selected scale method.

See also
setScaleMethod()
methodChanged()

Definition at line 70 of file qgsscalemethodwidget.cpp.

◆ setScaleMethod()

void QgsScaleMethodWidget::setScaleMethod ( Qgis::ScaleCalculationMethod method)

Sets the selected blend mode.

See also
scaleMethod()
methodChanged()

Definition at line 75 of file qgsscalemethodwidget.cpp.

Property Documentation

◆ scaleMethod

Qgis::ScaleCalculationMethod QgsScaleMethodWidget::scaleMethod
readwrite

Definition at line 39 of file qgsscalemethodwidget.h.


The documentation for this class was generated from the following files: