how to transfer data from one interface to another
Unsolved
Game Development
-
How do I transfer data from one interface to another, for example: from interface A to interface B, the name and race that are entered from interface A must appear on interface B.
how do i do it? -
@milhao Still not clear what you mean.
If you are asking how to access your UI then you do it like this:QString text = ui->textEdit->toPlainText();
So, you access the widgets via ui->
If this is not what you are asking then please explain better. -
Set layout to widget that is showing.
Then add qlinedit to the layout using add widget