QWorkSpace parent type optional?
Hello,
Maybe this an odd question ...
Does QWorkSpace have to be the child of a QMainWindow? Or, does it make since for it to be the child of another widget, say a QGridLayout that would be the child of a QMainWindow?
I'm trying to build a main window that has an always-present tree-view to the left with a workspace to the right ... and the customary main window menus, toolbars, and status bar.
Thanks,
Ben
Re: QWorkSpace parent type optional?
Qt docs say:
Quote:
The workspace itself is an ordinary Qt widget. It has a standard constructor that takes a parent widget. Workspaces can be placed in any layout, but are typically given as the central widget in a QMainWindow