hi,
I am trying to pass the value of a QSpinBox to a global variable which will be passed to other c++ functions.All what i get is the initial value of the spinbox.
My QSpinBox is a member of a QMainwindow class.
i ve tried to do the assignment in the main function,in the constructor of the QMainWindow,and as a separate Slot and as a function(both members of the QMainWindow).It doesn t work.What should i do to get the changed value of the QSpinbox?
Bookmarks