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

#include <qgsscalevisibilitydialog.h>

Public Slots

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

Public Member Functions

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

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

Definition at line 24 of file qgsscalevisibilitydialog.cpp.

Member Function Documentation

bool QgsScaleVisibilityDialog::hasScaleVisibility ( )

return if scale visibilty is enabled

Definition at line 63 of file qgsscalevisibilitydialog.cpp.

double QgsScaleVisibilityDialog::maximumScale ( )

return maximum scale (true scale, not scale denominator)

Definition at line 83 of file qgsscalevisibilitydialog.cpp.

double QgsScaleVisibilityDialog::minimumScale ( )

return minimum scale (true scale, not scale denominator)

Definition at line 73 of file qgsscalevisibilitydialog.cpp.

void QgsScaleVisibilityDialog::setMaximumScale ( double  maxScale)
slot

set maximum scale (true scale, not scale denominator)

Definition at line 78 of file qgsscalevisibilitydialog.cpp.

void QgsScaleVisibilityDialog::setMinimumScale ( double  minScale)
slot

set minimum scale (true scale, not scale denominator)

Definition at line 68 of file qgsscalevisibilitydialog.cpp.

void QgsScaleVisibilityDialog::setScaleVisiblity ( bool  hasScaleVisibility)
slot

set if scale visibility is enabled

Definition at line 58 of file qgsscalevisibilitydialog.cpp.


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