QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Signals | Public Member Functions | Protected Member Functions | List of all members
QgsSlider Class Reference

#include <qgsslider.h>

Inheritance diagram for QgsSlider:
Inheritance graph
[legend]

Signals

void valueChanged (const QVariant &)
 

Public Member Functions

 QgsSlider (Qt::Orientation orientation, QWidget *parent=nullptr)
 Constructor for QgsSlider. More...
 
 QgsSlider (QWidget *parent=nullptr)
 Constructor for QgsSlider. More...
 
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
 

Detailed Description

Definition at line 29 of file qgsslider.h.

Constructor & Destructor Documentation

◆ QgsSlider() [1/2]

QgsSlider::QgsSlider ( QWidget *  parent = nullptr)

Constructor for QgsSlider.

Definition at line 26 of file qgsslider.cpp.

◆ QgsSlider() [2/2]

QgsSlider::QgsSlider ( Qt::Orientation  orientation,
QWidget *  parent = nullptr 
)

Constructor for QgsSlider.

Definition at line 31 of file qgsslider.cpp.

Member Function Documentation

◆ paintEvent()

void QgsSlider::paintEvent ( QPaintEvent *  event)
overrideprotected

Definition at line 36 of file qgsslider.cpp.

◆ setMaximum()

void QgsSlider::setMaximum ( const QVariant &  max)

Definition at line 53 of file qgsslider.cpp.

◆ setMinimum()

void QgsSlider::setMinimum ( const QVariant &  min)

Definition at line 47 of file qgsslider.cpp.

◆ setSingleStep()

void QgsSlider::setSingleStep ( const QVariant &  step)

Definition at line 59 of file qgsslider.cpp.

◆ setValue()

void QgsSlider::setValue ( const QVariant &  value)

Definition at line 65 of file qgsslider.cpp.

◆ valueChanged

void QgsSlider::valueChanged ( const QVariant &  )
signal

◆ variantValue()

QVariant QgsSlider::variantValue ( ) const

Definition at line 111 of file qgsslider.cpp.


The documentation for this class was generated from the following files: