QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
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
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
32class 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
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.
QString upperValue() const
QString lowerValue() const
QgsLUDialog(QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
double upperValueDouble() const
Returns the upper value.
double lowerValueDouble() const
Returns the lower value.
void setLowerValue(const QString &val)
void setUpperValue(const QString &val)
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53