A widget for setting a percentage value.
More...
#include <qgspercentagewidget.h>
|
void | setValue (double value) |
| Sets the current value to show in the widget, where value is a factor which ranges from 0.0 to 1.0.
|
|
|
void | valueChanged (double value) |
| Emitted when the value is changed in the widget, where value is a factor which ranges from 0.0 to 1.0.
|
|
A widget for setting a percentage value.
- Since
- QGIS 3.36
Definition at line 32 of file qgspercentagewidget.h.
◆ QgsPercentageWidget()
QgsPercentageWidget::QgsPercentageWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ setValue
void QgsPercentageWidget::setValue |
( |
double |
value | ) |
|
|
slot |
◆ value()
double QgsPercentageWidget::value |
( |
| ) |
const |
◆ valueChanged
void QgsPercentageWidget::valueChanged |
( |
double |
value | ) |
|
|
signal |
Emitted when the value is changed in the widget, where value is a factor which ranges from 0.0 to 1.0.
- See also
- setValue()
-
value()
◆ value
double QgsPercentageWidget::value |
|
readwrite |
The documentation for this class was generated from the following files: