QGIS API Documentation
2.4.0-Chugiak
|
Dialog allowing the user to choose the minimum and maximum scale of an object in map units. More...
#include <qgsunitselectionwidget.h>
Public Member Functions | |
QgsMapUnitScaleDialog (QWidget *parent) | |
QgsMapUnitScale | getMapUnitScale () const |
Returns the map unit scale. More... | |
void | setMapUnitScale (const QgsMapUnitScale &scale) |
Sets the map unit scale. More... | |
Private Slots | |
void | configureMinComboBox () |
void | configureMaxComboBox () |
Dialog allowing the user to choose the minimum and maximum scale of an object in map units.
Definition at line 28 of file qgsunitselectionwidget.h.
QgsMapUnitScaleDialog::QgsMapUnitScaleDialog | ( | QWidget * | parent | ) |
Definition at line 21 of file qgsunitselectionwidget.cpp.
References configureMaxComboBox(), and configureMinComboBox().
|
privateslot |
Definition at line 52 of file qgsunitselectionwidget.cpp.
Referenced by QgsMapUnitScaleDialog().
|
privateslot |
Definition at line 43 of file qgsunitselectionwidget.cpp.
Referenced by QgsMapUnitScaleDialog().
QgsMapUnitScale QgsMapUnitScaleDialog::getMapUnitScale | ( | ) | const |
Returns the map unit scale.
Definition at line 61 of file qgsunitselectionwidget.cpp.
References QgsMapUnitScale::maxScale, and QgsMapUnitScale::minScale.
Referenced by QgsUnitSelectionWidget::showDialog().
void QgsMapUnitScaleDialog::setMapUnitScale | ( | const QgsMapUnitScale & | scale | ) |
Sets the map unit scale.
Definition at line 33 of file qgsunitselectionwidget.cpp.
References QgsMapUnitScale::maxScale, and QgsMapUnitScale::minScale.
Referenced by QgsUnitSelectionWidget::showDialog().