Unsolved How to assgin to another QLabel?
-
I want to know how can I assign new QLabel to another one created in Qt designer?
Example
// I can't see "Hi" label! QLabel *lb = new QLabel("Hi"); ui->label_title = lb;
-
Why do you want to do this? You can change everything about the label via the QLabel methods.
-
@bsomervi This is just an example. Actually I use it for out side widget
-
Hi,
@bsomervi has a point. Why do you need to "replace" that widget ?