You are not logged in.


Wednesday, September 20th 2017, 3:31am

Display the Value of one QLCDNumber on one UI form to another QLCDNUmber in another UI form

Hi I'm struggling a little bit trying to get two QLCDNumbers to display the same image. I have a second UI form which has 4 buttons 1 QLCDNumber and a Spreadsheet. What im trying to do is when ok is clicked the value from 2nd form is passed (Updated) to the first form.

I know i have to use signals and slots but i've tried a number of combinations including creating a function on both forms and trying to link them.

If someone could explain in general how to use any value or widget form one form to another would be very helpful as i can not find much on google.

Used tags

c++, qt5