i need to insert objects into a groupbox dynamically, but somehow they dont appear...
i tried this so far:
first:
Qt Code:
  1. KURLLabel *label = new KURLLabel(secGroup, "test");
  2. label->setText("woooha"));
To copy to clipboard, switch view to plain text mode 
then
Qt Code:
  1. KURLLabel *label = new KURLLabel(secGroup, "test");
  2. QGridLayout *layo = new QGridLayout(secGroup->layout());
  3. layo->addWidget( label, 0, 0 );
  4. 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!