A layout can be defined as the sizing, spacing, and placement of content within a GUI window. It defines the visual structure of a user interface. Effective layout management would please users by assisting them in locating quickly what the users wants most from the application, and also helps in making out the differences between a good informative design and a confusing, puzzled designs of the application. Therefore, management of layout in a window style application is a crucial success factor for any GUI application. A good layout must have a priority focus, smooth flow, logical grouping, relative emphasis, and coordinated alignment.
In PySide, we follow two approaches to layout management. They are as follows: