QGIS API Documentation 3.43.0-Master (c67cf405802)
Signals | Public Member Functions | Properties | List of all members
QgsScaleMethodWidget Class Reference

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

#include <qgsscalemethodwidget.h>

Inheritance diagram for QgsScaleMethodWidget:
Inheritance graph
[legend]

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 34 of file qgsscalemethodwidget.h.

Constructor & Destructor Documentation

◆ QgsScaleMethodWidget()

QgsScaleMethodWidget::QgsScaleMethodWidget ( QWidget *  parent = nullptr)

Constructor for QgsScaleMethodWidget, with the specified parent widget.

Definition at line 25 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 67 of file qgsscalemethodwidget.cpp.

◆ setScaleMethod()

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

Sets the selected blend mode.

See also
scaleMethod()
methodChanged()

Definition at line 72 of file qgsscalemethodwidget.cpp.

Property Documentation

◆ scaleMethod

Qgis::ScaleCalculationMethod QgsScaleMethodWidget::scaleMethod
readwrite

Definition at line 38 of file qgsscalemethodwidget.h.


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