Add Frame::detachTab()
The tab widget will be an implementation detail of FrameWidget and not accessed by anyone
This commit is contained in:
@@ -83,6 +83,11 @@ QSize FrameWidget::maxSizeHint() const
|
||||
return waste + biggestDockWidgetMaxSize();
|
||||
}
|
||||
|
||||
void FrameWidget::detachTab(DockWidgetBase *dw)
|
||||
{
|
||||
tabWidget()->detachTab(dw);
|
||||
}
|
||||
|
||||
QTabBar *FrameWidget::tabBar() const
|
||||
{
|
||||
auto tw = static_cast<QTabWidget*>(tabWidget()->asWidget());
|
||||
|
||||
Reference in New Issue
Block a user