Quote Originally Posted by wysota View Post
You are surely doing something wrong. What does "don't work" mean in this case? You can't see the buttons or you can't press them or what? BTW. There is no such thing as QGBoxLayout. Did you mean QGridLayout? Could you post the UI file or at least its screenshot?
That was a typo - I meant QHBoxLayout.

The buttons are visible but can't be pressed. If you click on them, nothing at all happens.

As noted, Designer did not auto-generate the code to put the pieces together. I had to add the following code to add the buttons to the layout, and to set the layout for the group box:

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

It seems like adding the widgets to the layout and setting the group box's layout are things that Designer should do, but maybe they aren't.

Thanks,
Martin