QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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.
 
 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
 

Detailed Description

Definition at line 32 of file qgsslider.h.

Constructor & Destructor Documentation

◆ QgsSlider() [1/2]

QgsSlider::QgsSlider ( QWidget *  parent = nullptr)

Constructor for QgsSlider.

Definition at line 28 of file qgsslider.cpp.

◆ QgsSlider() [2/2]

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

Constructor for QgsSlider.

Definition at line 33 of file qgsslider.cpp.

Member Function Documentation

◆ paintEvent()

void QgsSlider::paintEvent ( QPaintEvent *  event)
overrideprotected

Definition at line 38 of file qgsslider.cpp.

◆ setMaximum()

void QgsSlider::setMaximum ( const QVariant &  max)

Definition at line 55 of file qgsslider.cpp.

◆ setMinimum()

void QgsSlider::setMinimum ( const QVariant &  min)

Definition at line 49 of file qgsslider.cpp.

◆ setSingleStep()

void QgsSlider::setSingleStep ( const QVariant &  step)

Definition at line 61 of file qgsslider.cpp.

◆ setValue()

void QgsSlider::setValue ( const QVariant &  value)

Definition at line 67 of file qgsslider.cpp.

◆ valueChanged

void QgsSlider::valueChanged ( const QVariant &  )
signal

◆ variantValue()

QVariant QgsSlider::variantValue ( ) const

Definition at line 109 of file qgsslider.cpp.


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