QGIS API Documentation  2.99.0-Master (e077efd)
Signals | Public Member Functions | Protected Slots | 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 (QWidget *parent=nullptr)
 
 QgsSlider (Qt::Orientation orientation, QWidget *parent=nullptr)
 
void setMaximum (const QVariant &max)
 
void setMinimum (const QVariant &min)
 
void setSingleStep (const QVariant &step)
 
void setValue (const QVariant &value)
 
QVariant variantValue () const
 

Protected Slots

void valueChanged (int)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event) override
 

Detailed Description

Definition at line 26 of file qgsslider.h.

Constructor & Destructor Documentation

§ QgsSlider() [1/2]

QgsSlider::QgsSlider ( QWidget *  parent = nullptr)

Definition at line 26 of file qgsslider.cpp.

§ QgsSlider() [2/2]

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

Definition at line 31 of file qgsslider.cpp.

Member Function Documentation

§ paintEvent()

void QgsSlider::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual

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 [1/2]

void QgsSlider::valueChanged ( const QVariant &  )
signal

§ valueChanged [2/2]

void QgsSlider::valueChanged ( int  value)
protectedslot

Definition at line 116 of file qgsslider.cpp.

§ variantValue()

QVariant QgsSlider::variantValue ( ) const

Definition at line 111 of file qgsslider.cpp.


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