-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve central widget handling #225
Comments
The goal of "Central Widget" is to have "central document mode", like you'll see in IDEs, there you also can't remove the tabbar. I guess you don't want your central widget to be detachable ? |
No, there's only one widget. I would like something close to |
Ok, that's doable. |
Think about it more as "this is my main widget/view" rather than "this is my central widget/view", and the rest is docks around (left/right/top/bottom). |
makes sense |
Right now, the central widget (like in QApplication) is a DockWidget, and it's not entirely obvious how the API should be use:
At this point, it shows the central widget with a tabBar, so one has to do something like this to hide it:
API issue: it would be nice to have a simpler API, like there is one in QApplication (hiding the fact that you need to create a KDDockWidget).
Also, it would be nice to have a bit more choices on the mainwindow type, I can see 4 as now:
IMO you can't remove the tabBar if there's only one widget, as it may be needed, that's why I'm thinking of a new mode.
The text was updated successfully, but these errors were encountered: