18 #ifndef QGSUNITSELECTIONWIDGET_H 19 #define QGSUNITSELECTIONWIDGET_H 26 #include "ui_qgsunitselectionwidget.h" 27 #include "ui_qgsmapunitscalewidgetbase.h" 45 Q_PROPERTY(
QgsMapUnitScale mapUnitScale READ mapUnitScale WRITE setMapUnitScale NOTIFY mapUnitScaleChanged )
88 void configureMinComboBox();
89 void configureMaxComboBox();
90 void settingsChanged();
94 bool mBlockSignals =
true;
175 void setUnits(
const QStringList &units,
int mapUnitIdx );
185 int getUnit()
const {
return mUnitCombo->currentIndex(); }
199 void setUnit(
int unitIndex )
SIP_PYNAME( setUnitIndex );
226 void toggleUnitRangeButton();
236 #endif // QGSUNITSELECTIONWIDGET_H
QList< QgsUnitTypes::RenderUnit > RenderUnitList
List of render 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.
RenderUnit
Rendering size units.