How to get values from the slider in pyside?
Hello beautiful people,
I'm a total newbi and am kind of stuck. I downloaded the slider example "from here":http://qt.gitorious.org/pyside/pyside-examples/blobs/blame/ce9b2dfe456f38a166314dc2807a6b27cd944127/examples/widgets/sliders.py and sobered it down to just the sliders. The code I've got right now is as follows: http://pastebin.com/EkXxdPee
I now want to read the values from the slider and send them over to another program using zeromq. I can't however, find where I can read out the values the slider produces. Could anybody help me out a bit by pointing on which lines I could get the values from the slider?
All tips are welcome!
Does nobody know anything about this?
If you want to get the value of a slider, just use the value() function. For example:
sliderValue = self.slider.value()