In Designer with Qt 4.4.3, I'm creating QPushButtons inside a QGBoxLayout, which is in turn inside a QGroupBox. The ui_*.h file that is generated contains these objects, but I have to manually connect the pushbuttons to the layout, and the layout to the group box in my code or the pushbuttons don't work:

speedHorizontalLayout->addWidget(speed1PushButton);
speedHorizontalLayout->addWidget(speedPoint1PushButton);
speedHorizontalLayout->addWidget(speedPoint01PushButton);
speedGroupBox->setLayout(speedHorizontalLayout);

Am I doing something wrong, or is this a possible bug?

Thanks,
Martin