API Documentation
Loading...
Searching...
No Matches
QCustomSlider Class Reference

The slider is the classic widget for controlling a bounded value. It lets the user move a slider handle along a horizontal or vertical groove and translates the handle's position. More...

#include <QCustomSlider.h>

Inheritance diagram for QCustomSlider:
[legend]
Collaboration diagram for QCustomSlider:
[legend]

Signals

void edited (fltp08 percent)
 
void editedingFinished ()
 

Public Member Functions

fltp08 getValue () const
 
 QCustomSlider (Qt::Orientation orientation, QWidget *parent=nullptr)
 
 QCustomSlider (QWidget *parent=nullptr)
 
void setMaximum (fltp08 value)
 
void setMinimum (fltp08 value)
 
void setRange (fltp08 min, fltp08 max)
 
void setValue (fltp08 value)
 

Protected Slots

void onEditedSlot ()
 

Protected Member Functions

void init ()
 
fltp08 sliderScale () const
 

Detailed Description

The slider is the classic widget for controlling a bounded value. It lets the user move a slider handle along a horizontal or vertical groove and translates the handle's position.


into a percent value 0.0 to 1.0.

Constructor & Destructor Documentation

◆ QCustomSlider() [1/2]

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

◆ QCustomSlider() [2/2]

QCustomSlider ( QWidget * parent = nullptr)
inline

Member Function Documentation

◆ edited

void edited ( fltp08 percent)
signal

◆ editedingFinished

void editedingFinished ( )
signal

◆ getValue()

fltp08 getValue ( ) const
inline

◆ init()

void init ( )
protected

◆ onEditedSlot

void onEditedSlot ( )
protectedslot

◆ setMaximum()

void setMaximum ( fltp08 value)
inline

◆ setMinimum()

void setMinimum ( fltp08 value)
inline

◆ setRange()

void setRange ( fltp08 min,
fltp08 max )

◆ setValue()

void setValue ( fltp08 value)
inline

◆ sliderScale()

fltp08 sliderScale ( ) const
inlineprotected

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