I'm trying to develop an option where according to some options the Dialog gets resized and some new objects appear on screen. What I'm trying is:
label1
->setObjectName
(QString::fromUtf8("label1"));
label1->setProperty("text", "Direction:");
label1
->setProperty
("geometry",
QRect(10,
70,
43,
13));
label1 = new QLabel(this);
label1->setObjectName(QString::fromUtf8("label1"));
label1->setProperty("text", "Direction:");
label1->setProperty("geometry", QRect(10, 70, 43, 13));
To copy to clipboard, switch view to plain text mode
This is from my last try, I've also attempted to do it with directly property changes, like: label1->setText("Direction:");
It does not return any error... it simple does nothing...
I don't wanna manage hidden objects for this, it is far better to make them dynamically but something is happening and I don't know what...
Bookmarks