QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
qgsludialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsludialog.h - description
3
-------------------
4
begin : September 2004
5
copyright : (C) 2004 by Marco Hugentobler
6
email : marco.hugentobler@autoform.ch
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSLUDIALOG_H
19
#define QGSLUDIALOG_H
20
21
#include "ui_qgsludialogbase.h"
22
23
#include "qgis_gui.h"
24
#include "
qgis_sip.h
"
25
#include "
qgsguiutils.h
"
26
32
class
GUI_EXPORT
QgsLUDialog
:
public
QDialog,
private
Ui::QgsLUDialogBase
33
{
34
Q_OBJECT
35
public
:
36
QgsLUDialog
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
37
QString
lowerValue
()
const
;
38
43
double
lowerValueDouble
()
const
;
44
void
setLowerValue
(
const
QString &val );
45
QString
upperValue
()
const
;
46
51
double
upperValueDouble
()
const
;
52
void
setUpperValue
(
const
QString &val );
53
54
private
:
55
void
setDecimalPlaces(
QgsDoubleSpinBox
*widget,
double
value )
const
;
56
};
57
58
#endif
QgsDoubleSpinBox
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.
Definition
qgsdoublespinbox.h:46
QgsLUDialog::upperValue
QString upperValue() const
Definition
qgsludialog.cpp:41
QgsLUDialog::lowerValue
QString lowerValue() const
Definition
qgsludialog.cpp:31
QgsLUDialog::QgsLUDialog
QgsLUDialog(QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Definition
qgsludialog.cpp:22
QgsLUDialog::upperValueDouble
double upperValueDouble() const
Returns the upper value.
Definition
qgsludialog.cpp:46
QgsLUDialog::lowerValueDouble
double lowerValueDouble() const
Returns the lower value.
Definition
qgsludialog.cpp:36
QgsLUDialog::setLowerValue
void setLowerValue(const QString &val)
Definition
qgsludialog.cpp:51
QgsLUDialog::setUpperValue
void setUpperValue(const QString &val)
Definition
qgsludialog.cpp:62
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:52
qgsguiutils.h
Generated on
for QGIS API Documentation by
1.17.0