Added minimumSizeHint function to DockWidget to prevent jumping of the height of a dock area when switching between dock widgets, fixed use of findParent function in DockWidget - non current dock widgets do not have a parent so this function will fail

This commit is contained in:
Uwe Kindler
2018-10-15 08:29:30 +02:00
parent 30bbd26d0a
commit ada3d6b3b5
10 changed files with 50 additions and 9 deletions

View File

@@ -398,10 +398,10 @@ void CDockWidgetTab::mouseDoubleClickEvent(QMouseEvent *event)
//============================================================================
void CDockWidgetTab::setVisible(bool visible)
{
if (!visible)
/*if (!visible)
{
qDebug() << "CDockWidgetTab::setVisible " << visible;
}
}*/
Super::setVisible(visible);
}