>3. Select both and then select Form -> Lay Out Horizontally from the >main menu of Designer
This creates a layout with your two widgets as its children. This layout you have just created has not been set as the layout of your QMainWindow subclass. The solution is real easy, just select your centralWidget (by clicking on empty space or from the object explorer tree to the right side) and then click 'Layout in a Grid' or whatever layout suits your needs.This will create and set a layout for the centralWidget with your existing horizontal layout as its child.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
