QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
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#include "qgsguiutils.h"
23#include "qgis_gui.h"
24#include "qgis_sip.h"
25
30class GUI_EXPORT QgsLUDialog: public QDialog, private Ui::QgsLUDialogBase
31{
32 Q_OBJECT
33 public:
34 QgsLUDialog( QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
35 QString lowerValue() const;
36
41 double lowerValueDouble() const;
42 void setLowerValue( const QString &val );
43 QString upperValue() const;
44
49 double upperValueDouble() const;
50 void setUpperValue( const QString &val );
51
52 private:
53
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.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53