Forum
Sign Up

QtitanDocking 2.1.0: named panels cannot be saved

5 years 5 days ago - 5 years 5 days ago #1 by Jörn
I have added dockPanelManager::saveStateToDevice / dockPanelmanager::loadStateFromDevice() to Docking_SimplePanels example.
It does not work when the panel has a name.
panel_1 = dockPanelManager()->addDockPanel(tr("Panel 1"), LeftDockPanelArea);
//panel_1->setObjectName("one");
panel_1->setWidget(new CustomWidget("Custom Widget"));

panel_2 = dockPanelManager()->addDockPanel(tr("Panel 2"), RightDockPanelArea);
panel_2->setObjectName("two");
Q_UNUSED(panel_2);

panel_3 = dockPanelManager()->addDockPanel(tr("Panel 3"), BottomDockPanelArea);
//panel_3->setObjectName("three");
Q_UNUSED(panel_3);

Changes to panel_2 will not be restored.
Last edit: 5 years 5 days ago by Jörn.

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

More
4 years 11 months ago #2 by Eduard
Thank you. Bug fixed. The fix will be available in the next version.

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

  • Eduard
  • Eduard's Avatar
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.132 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 )