Forum
Sign Up

QtitanDocking2.3.0+QtitanRibbon5.0.0 content of document panel not shown

2 months 3 weeks ago #1 by Jörn
I use QtitanRibbon 5.0.0beta2 and QtitanDocking 2.3.0.
I added two DocumentPanel. When i click on the tab of the documents nothing happens. Always the content of panel 2 is shown. But i cannot switch between panel 1 and 2.

Here is the code:
#include <QtitanRibbon.h>
#include <QtitanDocking.h>

GuiTest::GuiTest(QWidget *parent)
: RibbonMainWindow(parent)
{
QLatin1String m_defaultStyle("windowsvista");
qApp->style()->setObjectName(m_defaultStyle);

ui.setupUi(this);

setWindowTitle("QtitanRibbon + QtitanDocking");

ribbonBar()->setFrameThemeEnabled(true);
ribbonBar()->setTitleBarVisible(true);

QWidget *widget = new QWidget;
DockPanelManager *dockPanelManager = new DockPanelManager(widget);
dockPanelManager->setDockPanelTransparentWhileDragging(true);
dockPanelManager->setArrowMarkersShown(true);
dockPanelManager->setDockPanelFullContentsWhileDraggingShown(true);
setCentralWidget(widget);

dockPanelManager->centralLayoutPanel();

////// 2 - Creating a ribbon
ribbonBar()->setFrameThemeEnabled();
ribbonBar()->addPage("&Buttons1");

////// 3 - Creating a dockBarManager
DockBarManager* managerBar = new DockBarManager(widget);
DockToolBar* tooBar = managerBar->addToolBar("My Toolbar", Qtitan::DockBarTop);
tooBar->addAction("Button");

////// 4 - Creating a panelManager
DockWidgetPanel* dockPanel1 = dockPanelManager->addDocumentPanel("My Panel_1");
dockPanel1->setWidget(new QLabel("panel1"));
DockWidgetPanel* dockPanel2 = dockPanelManager->addDocumentPanel("My Panel_2");
dockPanel2->setWidget(new QLabel("panel2"));
}

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

More
2 months 3 weeks ago #2 by Developer Machines
Please find a bug-fix in your email box. The bugfix will be available in the next update. We are sorry for this inconvenience.

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 MachinesEduard
Time to create page: 0.123 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 )