I want to understand if the following sequence is possible? If yes, how can we achieve the same?
- MainWindow Qt GUI has a QPushButton
- While we click on the QPushButton, it must open another Qt GUI Window (a different class, say 'DialogClass')
- In the newly opened Qt GUI Window we have a QLineEdit and QPushButton
- While we enter data in the QLineEdit and click on the QPushButton (of the DialogClass) the MainWindow class should receive the data entered in QLineEdit
Any help on this item will be appreciated. Thanks in advance!