QGIS API Documentation 3.43.0-Master (c67cf405802)
|
A widget which lets the user select from scale calculation methods. More...
#include <qgsscalemethodwidget.h>
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 |
A widget which lets the user select from scale calculation methods.
Definition at line 34 of file qgsscalemethodwidget.h.
QgsScaleMethodWidget::QgsScaleMethodWidget | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsScaleMethodWidget, with the specified parent widget.
Definition at line 25 of file qgsscalemethodwidget.cpp.
|
signal |
Emitted when the selected method is changed.
Qgis::ScaleCalculationMethod QgsScaleMethodWidget::scaleMethod | ( | ) | const |
Returns the selected scale method.
Definition at line 67 of file qgsscalemethodwidget.cpp.
void QgsScaleMethodWidget::setScaleMethod | ( | Qgis::ScaleCalculationMethod | method | ) |
Sets the selected blend mode.
Definition at line 72 of file qgsscalemethodwidget.cpp.
|
readwrite |
Definition at line 38 of file qgsscalemethodwidget.h.