I was poking around DockWidgetPanel to see if there is an obvious way for DockDocumentPanel or DockWidgetPanel to have its own taskbar button when it is undocked and I couldn't find any. Since Visual Studio supports it (undocking a window that is displaying an open file makes it both floating and assigns it a dedicated button on the taskbar).
Is there a way to achieve the same functionality with QTitanDocking?
Thank you so much in advance.
Last edit: 3 months 4 days ago by swe. Reason: Added more clarification.
Thank you so much for your reply.
Editing my own post, since I had initially attached two screenshots, but I was able to see only one of them after posting my reply. Attaching the screenshot where I have undocked Demo1.cpp from Visual Studio and placed it right next to it. As you can see Visual Studio has assigned a dedicated taskbar button to Demo1.cpp's window, and Demo1.cpp can be minimized/maximized/restored moved around independently from Visual Studio's main window.
My question is if I can achieve the same result with a DockDocumentPanel. It would be ideal if I was able to also achieve it with a DockWidgetPanel too, but DockDocumentPanel is the priority. In the application that I'm working on I have both DockDocumentPanels, which host documents for editing, and DockWidgetPanels, which contain items like tree widgets. Ideally I would want to undock a DockWidgetPanel too and when it is undocked I want to see the same behavior as in the screenshot. And then when I dock it back into the main window, I obviously want the taskbar button to disappear.
How do I achieve this behavior with QtitanDocking?
Last edit: 3 months 3 days ago by swe. Reason: Added more clarification.
As far as I understand, you need the ability to add custom buttons to the title bar of the docked panel (WidgetPanel or DocumentPanel). Unfortunately, this feature has not yet been implemented. But it is in our plans and will be added in a major update in September 2021.