18 #ifndef QGSUNITSELECTIONWIDGET_H 19 #define QGSUNITSELECTIONWIDGET_H 23 #include "ui_qgsunitselectionwidget.h" 24 #include "ui_qgsmapunitscaledialog.h" 50 void configureMinComboBox();
51 void configureMaxComboBox();
73 void setUnits(
const QStringList& units,
int mapUnitIdx );
82 int getUnit()
const {
return mUnitCombo->currentIndex(); }
94 void setUnit(
int unitIndex );
119 void toggleUnitRangeButton();
123 #endif // QGSUNITSELECTIONWIDGET_H
OutputUnit
The unit of the output.
Map canvas is a class for displaying all GIS data types on a canvas.
QgsMapUnitScale getMapUnitScale() const
Returns the map unit scale.
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.