Slider Class Reference

The Slider JavaScript class. A simplified Slider Qt widget. More...

Public Slots

void valueChanged (int value)
 set the value in the slider, triggering the callback More...
 

Properties

int value
 value of the slider More...
 
int minimum
 minimum value of the slider More...
 
int maximum
 maximum value of the slider More...
 
String orientation
 horizontal or vertical More...
 
String callback
 use this to assign the name of another function. This function will be triggered automatically when the slider value is modified More...
 

Detailed Description

The Slider JavaScript class. A simplified Slider Qt widget.

Member Function Documentation

◆ valueChanged

void Slider::valueChanged ( int  value)
slot

set the value in the slider, triggering the callback

Property Documentation

◆ callback

String Slider::callback
readwrite

use this to assign the name of another function. This function will be triggered automatically when the slider value is modified

◆ maximum

int Slider::maximum
readwrite

maximum value of the slider

◆ minimum

int Slider::minimum
readwrite

minimum value of the slider

◆ orientation

String Slider::orientation
readwrite

horizontal or vertical

◆ value

int Slider::value
readwrite

value of the slider