18 #ifndef QGSUNITSELECTIONWIDGET_H 19 #define QGSUNITSELECTIONWIDGET_H 23 #include "ui_qgsunitselectionwidget.h" 24 #include "ui_qgsmapunitscaledialog.h" 41 void configureMinComboBox();
42 void configureMaxComboBox();
59 void setUnits(
const QStringList& units,
int mapUnitIdx );
62 int getUnit()
const {
return mUnitCombo->currentIndex(); }
64 void setUnit(
int unitIndex );
75 void toggleUnitRangeButton();
78 #endif // QGSUNITSELECTIONWIDGET_H 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.