d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Adding Two Qsliders Together?
Add Reply New Topic New Poll
Member
Posts: 20,319
Joined: Jun 23 2007
Gold: 3.01
Nov 15 2013 07:38pm
have two Sliders/spinboxes and basically need to output the total

got the spinboxes working fine, just don't know how about output the total of the two

Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Nov 15 2013 08:03pm
AFAIK from researching google (you can thank me later), QSlider inherits from QAbstractSlider which contains a getter called 'value()' which returns int.

Quote
value : int
This property holds the slider's current value.
The slider forces the value to be within the legal range: minimum <= value <= maximum.
Changing the value also changes the sliderPosition.



So maybe use that.

This post was edited by Eep on Nov 15 2013 08:03pm
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll