You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Github issue #56 is not a KDDW bug, it's how Qt works. QtWidgets don't
have focus scope. But let's workaround and handroll our own FocusScope.
Now the title bar can be colored differently if the dock widget it controls
contains any focused children.
This just implements half of the story. You have to focus a child
for the title bar to change color. Clicking the title bar directly
isn't done yet. Needs to be figured out. What do we focus when clicking it?
TitleBars usually don't care about keyboard focus. Probably we
just use the user's widget as a focus proxy.
Hi,
my goal is to have a different title bar color if the dock widget is "active".
I (re)implemented the "MyTitleBar" in the kddockwidgets example:
But this is not right. It changes the title bar color if the whole window is active. I would like to change the color for dock widget.
The following animation shows that only the whole window is changing the color and not the dock widget.
In Visual Studio it is possible to change the "active" color of each docking window.
![active_dock_widget_visual_studio](https://user-images.githubusercontent.com/3143027/89543047-c1213500-d800-11ea-92b4-4d97dec99f8d.gif)
Greetings,
Thomas
The text was updated successfully, but these errors were encountered: