QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Slots | List of all members
QgsMapUnitScaleDialog Class Reference

Dialog allowing the user to choose the minimum and maximum scale of an object in map units. More...

#include <qgsunitselectionwidget.h>

Inheritance diagram for QgsMapUnitScaleDialog:
Inheritance graph
[legend]
Collaboration diagram for QgsMapUnitScaleDialog:
Collaboration graph
[legend]

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

QgsMapUnitScaleDialog::QgsMapUnitScaleDialog ( QWidget *  parent)

Definition at line 21 of file qgsunitselectionwidget.cpp.

References configureMaxComboBox(), and configureMinComboBox().

Member Function Documentation

void QgsMapUnitScaleDialog::configureMaxComboBox ( )
privateslot

Definition at line 52 of file qgsunitselectionwidget.cpp.

Referenced by QgsMapUnitScaleDialog().

void QgsMapUnitScaleDialog::configureMinComboBox ( )
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().


The documentation for this class was generated from the following files: