Unsolved Transfer data between Forms
-
How can I transfer data between forms ?. Ex...from MainWindow to Dialog......or Dialog_A to Dialog_B.
Someone have a exemplo to learn -
Hi,
What kind of data do you have in mind ?
The usual way with Qt is to use signals and slots but it also depends on how you use your dialogs .
-
Class constructor parameters is an option.
Another option is to usesetProperty
method for QObject derived classes when creating object, before callingshow()
-
Hi
Is it related to this one?
https://forum.qt.io/topic/64609/signal-and-slot-passing-data-between-forms/3 -
@mrjj
Yes.... -
I have a Dialog with a TableView.....that contains names.....and I wish open another dialog to edit the selected name when I click a pushbutton 'edit'.