QGIS API Documentation
2.14.11-Essen
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
qgsscalevisibilitydialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsscalevisibilitydialog.cpp
3
--------------------------------------
4
Date : 20.05.2014
5
Copyright : (C) 2014 Denis Rouzaud
6
Email : denis.rouzaud@gmail.com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSSCALEVISIBILITYDIALOG_H
17
#define QGSSCALEVISIBILITYDIALOG_H
18
19
#include <QDialog>
20
#include <QGroupBox>
21
22
#include "
qgsscalerangewidget.h
"
23
24
class
GUI_EXPORT
QgsScaleVisibilityDialog
:
public
QDialog
25
{
26
Q_OBJECT
27
28
public
:
29
explicit
QgsScaleVisibilityDialog
(
QWidget
*parent =
nullptr
,
const
QString
& title =
QString
(),
QgsMapCanvas
* mapCanvas =
nullptr
);
30
32
bool
hasScaleVisibility();
33
35
double
minimumScale();
36
38
double
maximumScale();
39
40
41
public
slots:
43
void
setScaleVisiblity(
bool
hasScaleVisibility );
44
46
void
setMinimumScale(
double
minScale );
47
49
void
setMaximumScale(
double
maxScale );
50
51
52
private
:
53
QGroupBox
* mGroupBox;
54
QgsScaleRangeWidget
* mScaleWidget;
55
56
};
57
58
#endif // QGSSCALEVISIBILITYDIALOG_H
QWidget
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition:
qgsmapcanvas.h:105
QGroupBox
QString
QgsScaleVisibilityDialog
Definition:
qgsscalevisibilitydialog.h:24
QgsScaleRangeWidget
Definition:
qgsscalerangewidget.h:28
QDialog
qgsscalerangewidget.h
Generated on Wed Jan 25 2017 08:47:24 for QGIS API Documentation by
1.8.8