Add static function DockWidgetBase::byName()
So users don't have to use private API. Fixes issue #126
This commit is contained in:
@@ -522,6 +522,11 @@ QSize DockWidgetBase::lastOverlayedSize() const
|
||||
return d->m_lastOverlayedSize;
|
||||
}
|
||||
|
||||
DockWidgetBase *DockWidgetBase::byName(const QString &uniqueName)
|
||||
{
|
||||
return DockRegistry::self()->dockByName(uniqueName);
|
||||
}
|
||||
|
||||
FloatingWindow *DockWidgetBase::morphIntoFloatingWindow()
|
||||
{
|
||||
qCDebug(creation) << "DockWidget::morphIntoFloatingWindow() this=" << this
|
||||
|
||||
Reference in New Issue
Block a user