QGIS API Documentation 3.43.0-Master (37eec98dbf6)
|
A custom QSlider with additional refinements. More...
#include <qgsslider.h>
Signals | |
void | valueChanged (const QVariant &) |
Public Member Functions | |
QgsSlider (Qt::Orientation orientation, QWidget *parent=nullptr) | |
Constructor for QgsSlider. | |
QgsSlider (QWidget *parent=nullptr) | |
Constructor for QgsSlider. | |
void | setMaximum (const QVariant &max) |
void | setMinimum (const QVariant &min) |
void | setSingleStep (const QVariant &step) |
void | setValue (const QVariant &value) |
QVariant | variantValue () const |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) override |
A custom QSlider with additional refinements.
Definition at line 33 of file qgsslider.h.
QgsSlider::QgsSlider | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsSlider.
Definition at line 28 of file qgsslider.cpp.
QgsSlider::QgsSlider | ( | Qt::Orientation | orientation, |
QWidget * | parent = nullptr |
||
) |
Constructor for QgsSlider.
Definition at line 34 of file qgsslider.cpp.
|
overrideprotected |
Definition at line 40 of file qgsslider.cpp.
void QgsSlider::setMaximum | ( | const QVariant & | max | ) |
Definition at line 56 of file qgsslider.cpp.
void QgsSlider::setMinimum | ( | const QVariant & | min | ) |
Definition at line 50 of file qgsslider.cpp.
void QgsSlider::setSingleStep | ( | const QVariant & | step | ) |
Definition at line 62 of file qgsslider.cpp.
void QgsSlider::setValue | ( | const QVariant & | value | ) |
Definition at line 68 of file qgsslider.cpp.
|
signal |
QVariant QgsSlider::variantValue | ( | ) | const |
Definition at line 107 of file qgsslider.cpp.