QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSUNITSELECTIONWIDGET_H
19 #define QGSUNITSELECTIONWIDGET_H
28 #include "ui_qgsunitselectionwidget.h"
29 #include "ui_qgsmapunitscalewidgetbase.h"
47 Q_PROPERTY(
QgsMapUnitScale mapUnitScale READ mapUnitScale WRITE setMapUnitScale NOTIFY mapUnitScaleChanged )
90 void configureMinComboBox();
91 void configureMaxComboBox();
92 void settingsChanged();
96 bool mBlockSignals =
true;
182 void setUnits(
const QStringList &units,
int mapUnitIdx );
192 int getUnit()
const {
return mUnitCombo->currentIndex(); }
206 void setUnit(
int unitIndex )
SIP_PYNAME( setUnitIndex );
234 bool showMapScaleButton()
const;
242 void setShowMapScaleButton(
bool show );
249 void toggleUnitRangeButton();
256 bool mShowMapScaleButton =
true;
260 #endif // QGSUNITSELECTIONWIDGET_H
RenderUnit
Rendering size units.
Map canvas is a class for displaying all GIS data types on a canvas.
A dialog which allows the user to choose the minimum and maximum scale of an object in map units and ...
Struct for storing maximum and minimum scales for measurements in map units.
QList< QgsUnitTypes::RenderUnit > RenderUnitList
List of render units.