Quote Originally Posted by pastor View Post
You have to create a connection from clicked() signal in the QPushButton object to the method in the receiver object. Please see description of QObject::connect() n Qt Assistant for more details.
I had connections and the buttons work fine if they are not inside the QGroupBox. Once inside the QGroupBox, they no longer work because Designer does not generate code to add them to the layout, and to set the QGroupBox's layout. Instead, I have to do the following manually:

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

I can certainly do this for all the group boxes I'm using, but it's tedious and something for which I'd hope to get some help from Designer to increase my productivity.

So the question is: Should Designer be generating this code for me, or do I have to do it manually? If Designer should be generating this code, could there be something in the objects' properties that needs to be set differently?

Thanks,
Martin