QGIS API Documentation 3.43.0-Master (c67cf405802)
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#include "qgsguiutils.h"
23#include "qgis_gui.h"
24#include "qgis_sip.h"
25
31class GUI_EXPORT QgsLUDialog : public QDialog, private Ui::QgsLUDialogBase
32{
33 Q_OBJECT
34 public:
35 QgsLUDialog( QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
36 QString lowerValue() const;
37
42 double lowerValueDouble() const;
43 void setLowerValue( const QString &val );
44 QString upperValue() const;
45
50 double upperValueDouble() const;
51 void setUpperValue( const QString &val );
52
53 private:
54 void setDecimalPlaces( QgsDoubleSpinBox *widget, double value ) const;
55};
56
57#endif
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.
A dialog for setting a lower and upper range value.
Definition qgsludialog.h:32
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53