Answer the question
In order to leave comments, you need to log in
How to implement passing a value from a Qt form to a variable?
There is a form with a trivial spinBox on it.
How to extract its value from it and pass it to a variable in a child class?
Not using the header file that qt designer generates.
Answer the question
In order to leave comments, you need to log in
doc.qt.io/qt-5/qobject.html#findChild
doc.qt.io/qt-4.8/qspinbox.html#value-prop
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question