Add DockWidgetBase::titleBar()
This commit is contained in:
@@ -303,6 +303,14 @@ void DockWidgetBase::forceClose()
|
||||
d->close();
|
||||
}
|
||||
|
||||
TitleBar *DockWidgetBase::titleBar() const
|
||||
{
|
||||
if (Frame *f = frame())
|
||||
return f->actualTitleBar();
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
FloatingWindow *DockWidgetBase::morphIntoFloatingWindow()
|
||||
{
|
||||
qCDebug(creation) << "DockWidget::morphIntoFloatingWindow() this=" << this
|
||||
|
||||
Reference in New Issue
Block a user