Hi, I'm writing some code that generates menus (QWidget) with buttons (QPushButtons) and labels (QLabel) from an XML file. Each menu has a QGridLayout and nested within those I have various other layouts of buttons and labels.
I'm wondering what techniques are used to to get the most precise control over the layout. Everything so far is very imprecise and I can't seem to find the right methods to control the layout the way I want.
If anyone could tell me the best ways to control layout through code, or point me to a tutorial for this, I would be very grateful...
Bookmarks