thanks ginsengelf ..
look
Qt Code:
int hMax; hMax = slider_hueMax->value();To copy to clipboard, switch view to plain text mode
hMax will get the value only once when you call the above line .. if u want to test it every second u can use QTimer to check the value every second of the QSlider
but connect() will return the value whenver the user change or Qt change the QSlider value and that value is readily available in hMax .
every time the QSlider is called update() .. the connect respond with the QSlider signal emission which we can get it from SLOT()
Bookmarks