QGIS API Documentation  2.6.0-Brighton
 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 setScaleVisiblity (bool hasScaleVisibility)
 set if scale visibility is enabled
void setMinimumScale (double minScale)
 set minimum scale (true scale, not scale denominator)
void setMaximumScale (double maxScale)
 set maximum scale (true scale, not scale denominator)

Public Member Functions

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

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

double QgsScaleVisibilityDialog::maximumScale ( )

return maximum scale (true scale, not scale denominator)

double QgsScaleVisibilityDialog::minimumScale ( )

return minimum scale (true scale, not scale denominator)

void QgsScaleVisibilityDialog::setMaximumScale ( double  maxScale)
slot

set maximum scale (true scale, not scale denominator)

void QgsScaleVisibilityDialog::setMinimumScale ( double  minScale)
slot

set minimum scale (true scale, not scale denominator)

void QgsScaleVisibilityDialog::setScaleVisiblity ( bool  hasScaleVisibility)
slot

set if scale visibility is enabled


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