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

#include <qgsscalevisibilitydialog.h>

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

Public Slots

void setScaleVisiblity (bool hasScaleVisibility)
 set if scale visibility is enabled More...
 
void setMinimumScale (double minScale)
 set minimum scale (true scale, not scale denominator) More...
 
void setMaximumScale (double maxScale)
 set maximum scale (true scale, not scale denominator) More...
 

Public Member Functions

 QgsScaleVisibilityDialog (QWidget *parent=0, QString title=QString(), QgsMapCanvas *mapCanvas=0)
 
bool hasScaleVisibility ()
 return if scale visibilty is enabled More...
 
double minimumScale ()
 return minimum scale (true scale, not scale denominator) More...
 
double maximumScale ()
 return maximum scale (true scale, not scale denominator) More...
 

Private Attributes

QGroupBox * mGroupBox
 
QgsScaleRangeWidgetmScaleWidget
 

Detailed Description

Definition at line 24 of file qgsscalevisibilitydialog.h.

Constructor & Destructor Documentation

QgsScaleVisibilityDialog::QgsScaleVisibilityDialog ( QWidget *  parent = 0,
QString  title = QString(),
QgsMapCanvas mapCanvas = 0 
)
explicit

Member Function Documentation

bool QgsScaleVisibilityDialog::hasScaleVisibility ( )

return if scale visibilty is enabled

Definition at line 63 of file qgsscalevisibilitydialog.cpp.

References mGroupBox.

double QgsScaleVisibilityDialog::maximumScale ( )

return maximum scale (true scale, not scale denominator)

Definition at line 83 of file qgsscalevisibilitydialog.cpp.

References QgsScaleRangeWidget::maximumScale(), and mScaleWidget.

double QgsScaleVisibilityDialog::minimumScale ( )

return minimum scale (true scale, not scale denominator)

Definition at line 73 of file qgsscalevisibilitydialog.cpp.

References QgsScaleRangeWidget::minimumScale(), and mScaleWidget.

void QgsScaleVisibilityDialog::setMaximumScale ( double  maxScale)
slot

set maximum scale (true scale, not scale denominator)

Definition at line 78 of file qgsscalevisibilitydialog.cpp.

References mScaleWidget, and QgsScaleRangeWidget::setMaximumScale().

void QgsScaleVisibilityDialog::setMinimumScale ( double  minScale)
slot

set minimum scale (true scale, not scale denominator)

Definition at line 68 of file qgsscalevisibilitydialog.cpp.

References mScaleWidget, and QgsScaleRangeWidget::setMinimumScale().

void QgsScaleVisibilityDialog::setScaleVisiblity ( bool  hasScaleVisibility)
slot

set if scale visibility is enabled

Definition at line 58 of file qgsscalevisibilitydialog.cpp.

References mGroupBox.

Member Data Documentation

QGroupBox* QgsScaleVisibilityDialog::mGroupBox
private
QgsScaleRangeWidget* QgsScaleVisibilityDialog::mScaleWidget
private

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