Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Event in scrollbar
jk_mk last edited by
In my application I want to use a verical scrollbar.Every time I change its value I want to run a function, and pass the scrollbar's value as a parameter inside this function.How could this be done? I have read several thinks, but where very general. Could someone give me a simple speciphic example?
Thanks in advance
giesbert last edited by
If you create the scrollbar as a widget, use signal / slot connections. This means, make yout function a slot with an int param,eter and connect it to valueChanged of the scrollbar
Eddy last edited by
We already gave you an example when you asked the same thing.
examples > widgets > sliders [doc.qt.nokia.com]
see your other post
andre last edited by
Indeed. Everall is referencing "this topic":http://developer.qt.nokia.com/forums/viewthread/6346/. Closed as duplicate.