QtitanDataGridModel-view DataGrid component with rich functionality for Qt.C++ and PySideQtitanRibbonReplicates Microsoft RibbonUI interface for Qt.C++ and PySideQtitanNavigationDesignUIReplicates Microsoft Navigation Design interface for Qt.C++ and PySideQtitanChartCharts and Diagrams component for Qt.C++ and PySideQtitanDockingDockable Panels and Tool Bars for Qt.C++ and PySideQtitanFastInfosetXML Compressed format FastInfoset implementation for Qt.C++ and PySideRoadmap Development 2023
FireDataGridPowerful, modern, fast, DB-Aware Grid for Delphi-FiremonkeyFireDockingDelphi IDE/Visual Studio implementation of dock panels for Delphi-Firemonkey
Hi ,
How can I let QtitanRibbon5.0.0 and QtitanDocking2.4.0 working together well.
I used them like this, but only two titles of tow panels change when I select Tab, the widget in the panel can't change right.
QRibbonWindow::QRibbonWindow(QWidget *parent) : RibbonMainWindow(parent)
{
m_holder = new QWidget(this);
m_manager = new DockBarManager(m_holder);
m_panelManager = new DockPanelManager(m_holder);
m_panelManager->setDockPanelTransparentWhileDragging(true);
m_panelManager->setArrowMarkersShown(true);
m_panelManager->setDockPanelFullContentsWhileDraggingShown(true);
m_mdiArea = new QMdiArea(m_holder);
m_mdiArea->setLineWidth(3);
m_mdiArea->setFrameShape(QFrame::Panel);
m_mdiArea->setFrameShadow(QFrame::Sunken);
m_mdiArea->setViewMode(QMdiArea::TabbedView);
qApp->installEventFilter(this);
setCentralWidget(m_holder);
m_mdiArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
m_mdiArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
m_panelManager->setCentralWidget(m_mdiArea);
m_panelManager->centralWidget()->setFocus();
if (m_dbModelPanel = m_panelManager->addDockPanel("Model DockWidgetPanel", QSize(250, 120),LeftDockPanelArea))
{
QxGraphicsListWidget *list = new QxGraphicsListWidget(m_dbModelPanel);
m_dbModelPanel->setWidget(list);
}
if (m_dbDockPanel = m_panelManager->addDockPanel("Database", QSize(250, 120), InsideDockPanelArea, m_dbModelPanel))
{
m_dbDockPanel->setWidget(new QxDBQTreeWidget(m_dbDockPanel));
}
}
Last edit: 5 years 2 months ago by jia. Reason: I used QtitanDocking2.3.0 lib not QtitanDocking2.4.0