Merge pull request #7594 from TryTwo/NestedDocks

Add nested docking to increase layout choices while debugging.
This commit is contained in:
Léo Lam 2018-12-05 17:14:46 +01:00 committed by GitHub
commit 2eb85c8fcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -558,6 +558,7 @@ void MainWindow::ConnectStack()
setCentralWidget(m_stack); setCentralWidget(m_stack);
setDockOptions(DockOption::AllowNestedDocks);
setTabPosition(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea, QTabWidget::North); setTabPosition(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea, QTabWidget::North);
addDockWidget(Qt::LeftDockWidgetArea, m_log_widget); addDockWidget(Qt::LeftDockWidgetArea, m_log_widget);
addDockWidget(Qt::LeftDockWidgetArea, m_log_config_widget); addDockWidget(Qt::LeftDockWidgetArea, m_log_config_widget);