QGIS API Documentation  3.0.2-Girona (307d082)
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 (QWidget *parent=nullptr)
 Constructor for QgsSlider. More...
 
 QgsSlider (Qt::Orientation orientation, 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 25 of file qgsslider.cpp.

◆ QgsSlider() [2/2]

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

Constructor for QgsSlider.

Definition at line 30 of file qgsslider.cpp.

Member Function Documentation

◆ paintEvent()

void QgsSlider::paintEvent ( QPaintEvent *  event)
overrideprotected

Definition at line 35 of file qgsslider.cpp.

◆ setMaximum()

void QgsSlider::setMaximum ( const QVariant &  max)

Definition at line 52 of file qgsslider.cpp.

◆ setMinimum()

void QgsSlider::setMinimum ( const QVariant &  min)

Definition at line 46 of file qgsslider.cpp.

◆ setSingleStep()

void QgsSlider::setSingleStep ( const QVariant &  step)

Definition at line 58 of file qgsslider.cpp.

◆ setValue()

void QgsSlider::setValue ( const QVariant &  value)

Definition at line 64 of file qgsslider.cpp.

◆ valueChanged

void QgsSlider::valueChanged ( const QVariant &  )
signal

◆ variantValue()

QVariant QgsSlider::variantValue ( ) const

Definition at line 110 of file qgsslider.cpp.


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