If you want to add buttons you can do this in a method in your main class:
@
void addButto()
{
QPushButton *button = new QPushButton(this);
button->setText(tr("fancy button"));
// add the button to a layout here
connect(button, SIGNAL(clicked()), this, SLOT(fancyButtonClicked()));
}
@
Although it's hard to understand what you want to do in your user interface. It's makes a big difference if you show a button (that a user can click on) or if you show a label (that displays a bunch of text or image). And if you click the first button over and over, you get a big bunch of new buttons and labels... looks a bit weird to me.
Also, the method that creates the new buttons or labels belongs into that class, that is the "controller" of your user interface or the respective part of it.