Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

    Hi,

    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