i need to insert objects into a groupbox dynamically, but somehow they dont appear...
i tried this so far:
first:
KURLLabel *label = new KURLLabel(secGroup, "test");
label->setText("woooha"));
KURLLabel *label = new KURLLabel(secGroup, "test");
label->setText("woooha"));
To copy to clipboard, switch view to plain text mode
then
KURLLabel *label = new KURLLabel(secGroup, "test");
layo->addWidget( label, 0, 0 );
label->setText("woooha"));
KURLLabel *label = new KURLLabel(secGroup, "test");
QGridLayout *layo = new QGridLayout(secGroup->layout());
layo->addWidget( label, 0, 0 );
label->setText("woooha"));
To copy to clipboard, switch view to plain text mode
the gridlayout actually is there already and has one member before the code is executed...
how would i insert the label, so that it actually is there?
thanks!
Bookmarks