Connect a slot of a window with a signal from another window

  • I have two simple windows one with a pushbutton and the other with a widget-Label to display a message, what I want is q pressing the pushbutton Window Button a message is displayed in another window called Mnesaje like I can do this ?

  • Lifetime Qt Champion


    Please, take a look at Qt's documentation chapter about "Signals and Slots" it's all explained there. There's also a lot of examples that you can follow as well as posts on this forum with the same question.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.