18 #ifndef QGSUNITSELECTIONWIDGET_H 19 #define QGSUNITSELECTIONWIDGET_H 23 #include "ui_qgsunitselectionwidget.h" 24 #include "ui_qgsmapunitscaledialog.h" 49 void configureMinComboBox();
50 void configureMaxComboBox();
71 void setUnits(
const QStringList& units,
int mapUnitIdx );
80 int getUnit()
const {
return mUnitCombo->currentIndex(); }
92 void setUnit(
int unitIndex );
117 void toggleUnitRangeButton();
121 #endif // QGSUNITSELECTIONWIDGET_H
OutputUnit
The unit of the output.
QgsMapUnitScale getMapUnitScale() const
Returns the map unit scale.
Map canvas is a class for displaying all GIS data types on a canvas.
void setMapUnitScale(const QgsMapUnitScale &scale)
Sets the map unit scale.
Dialog allowing the user to choose the minimum and maximum scale of an object in map units...
Struct for storing maximum and minimum scales for measurements in map units.