QGIS API Documentation
2.8.2-Wien
|
#include <qgsscalerangewidget.h>
Public Slots | |
void | setMaximumScale (double scale) |
void | setMinimumScale (double scale) |
void | setScaleRange (double min, double max) |
Public Member Functions | |
QgsScaleRangeWidget (QWidget *parent=0) | |
~QgsScaleRangeWidget () | |
double | maximumScale () |
return the maximum scale | |
double | maximumScaleDenom () |
return the maximum scale denominator ( = 1 / minimum scale ) | |
double | minimumScale () |
return the minimum scale | |
double | minimumScaleDenom () |
return the minimum scale denominator ( = 1 / maximum scale ) | |
void | reloadProjectScales () |
call to reload the project scales and apply them to the 2 scales combo boxes | |
void | setMapCanvas (QgsMapCanvas *mapCanvas) |
set the map canvas which will be used for the current scale buttons |
Definition at line 28 of file qgsscalerangewidget.h.
|
explicit |
Definition at line 21 of file qgsscalerangewidget.cpp.
QgsScaleRangeWidget::~QgsScaleRangeWidget | ( | ) |
Definition at line 68 of file qgsscalerangewidget.cpp.
double QgsScaleRangeWidget::maximumScale | ( | ) |
return the maximum scale
Definition at line 104 of file qgsscalerangewidget.cpp.
double QgsScaleRangeWidget::maximumScaleDenom | ( | ) |
return the maximum scale denominator ( = 1 / minimum scale )
Definition at line 114 of file qgsscalerangewidget.cpp.
double QgsScaleRangeWidget::minimumScale | ( | ) |
return the minimum scale
Definition at line 94 of file qgsscalerangewidget.cpp.
double QgsScaleRangeWidget::minimumScaleDenom | ( | ) |
return the minimum scale denominator ( = 1 / maximum scale )
Definition at line 109 of file qgsscalerangewidget.cpp.
void QgsScaleRangeWidget::reloadProjectScales | ( | ) |
call to reload the project scales and apply them to the 2 scales combo boxes
Definition at line 72 of file qgsscalerangewidget.cpp.
void QgsScaleRangeWidget::setMapCanvas | ( | QgsMapCanvas * | mapCanvas | ) |
set the map canvas which will be used for the current scale buttons
setMapCanvas set the map canvas which will be used for the current scale buttons if not set, the buttons are hidden.
Definition at line 83 of file qgsscalerangewidget.cpp.
|
slot |
Definition at line 99 of file qgsscalerangewidget.cpp.
|
slot |
Definition at line 89 of file qgsscalerangewidget.cpp.
|
slot |
Definition at line 119 of file qgsscalerangewidget.cpp.