QGIS API Documentation  2.99.0-Master (c42dad3)
Public Slots | Public Member Functions | List of all members
QgsScaleVisibilityDialog Class Reference

#include <qgsscalevisibilitydialog.h>

Inheritance diagram for QgsScaleVisibilityDialog:
Inheritance graph
[legend]

Public Slots

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

Public Member Functions

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

Detailed Description

Definition at line 28 of file qgsscalevisibilitydialog.h.

Constructor & Destructor Documentation

§ QgsScaleVisibilityDialog()

QgsScaleVisibilityDialog::QgsScaleVisibilityDialog ( QWidget *  parent = nullptr,
const QString &  title = QString(),
QgsMapCanvas mapCanvas = nullptr 
)
explicit

Definition at line 24 of file qgsscalevisibilitydialog.cpp.

Member Function Documentation

§ hasScaleVisibility()

bool QgsScaleVisibilityDialog::hasScaleVisibility ( )

return if scale visibilty is enabled

Definition at line 62 of file qgsscalevisibilitydialog.cpp.

§ maximumScale()

double QgsScaleVisibilityDialog::maximumScale ( )

return maximum scale (true scale, not scale denominator)

Definition at line 82 of file qgsscalevisibilitydialog.cpp.

§ minimumScale()

double QgsScaleVisibilityDialog::minimumScale ( )

return minimum scale (true scale, not scale denominator)

Definition at line 72 of file qgsscalevisibilitydialog.cpp.

§ setMaximumScale

void QgsScaleVisibilityDialog::setMaximumScale ( double  maxScale)
slot

set maximum scale (true scale, not scale denominator)

Definition at line 77 of file qgsscalevisibilitydialog.cpp.

§ setMinimumScale

void QgsScaleVisibilityDialog::setMinimumScale ( double  minScale)
slot

set minimum scale (true scale, not scale denominator)

Definition at line 67 of file qgsscalevisibilitydialog.cpp.

§ setScaleVisiblity

void QgsScaleVisibilityDialog::setScaleVisiblity ( bool  hasScaleVisibility)
slot

set if scale visibility is enabled

Definition at line 57 of file qgsscalevisibilitydialog.cpp.


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