M
M
mat0thew2015-04-28 19:52:23
Qt
mat0thew, 2015-04-28 19:52:23

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

1 answer(s)
A
Alexander Taratin, 2015-04-28
@Taraflex

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 question

Ask a Question

731 491 924 answers to any question