Forum
Sign Up

DockWidgetPanel having its own entry in the taskbar

3 years 6 months ago - 3 years 5 months ago #1 by swe
Hi,

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 years 5 months ago by swe. Reason: Added more clarification.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #2 by Developer Machines
Could you attach a screenshot with taskbar (buttons) in the visual studio you are talking about?
The following user(s) said Thank You: swe

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago - 3 years 5 months ago #3 by swe
Hi,

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?
Attachments:
Last edit: 3 years 5 months ago by swe. Reason: Added more clarification.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #4 by Developer Machines
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.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.167 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )