C
C
ceborgia2015-03-06 12:31:55
Qt
ceborgia, 2015-03-06 12:31:55

How to sum up two DoubleSpinBoxes and display the result in the third one?

I apologize in advance for what might be a stupid question. There are two DoubleSpinBox'a whose sum of values ​​must be passed to the third DoubleSpinBox.5a2d2c5a4c774b83a37f1c0e539ea96a.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2015-03-06
@ceborgia

Create a slot, bind it to the valueChanged() signals of the input spinboxes, sum the values ​​in the slot and pass it to the output spinbox.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question