I have created a test main window in Designer and place a bunch of UI elements in it. In struggling to get it working I find that the documentation states that you should not place a layout on the main window but place them on a widget that is defined as the central widget. I am not using a layout in this particular but in general is it best practice to create a main window with no UI on it (other than menu's, etc) and to place them all on a central widget?
As per the documentation for dialogs, I have created my main window in Designer and then subclassed it to add functionality to it. Are there any differences in doing this for main windows vs. dialogs?
Thanks.


Reply With Quote



Bookmarks