Commit 3a7ea651 authored by John Harwell's avatar John Harwell Committed by Tim Coalson
Browse files

Improvements fixing toolbox height too tall in versions of Qt prior to 5.6. ...

Improvements fixing toolbox height too tall in versions of Qt prior to 5.6.  Extended QDockWidget and QTabWidget to override the sizeHint() method and added methods to set the size hints.  This somewhat replaces the functionality of QMainWindow::resizeDocks() that is only available in Qt 5.6 and newer.   BrainBrowserWindowOrientatedToolBox(extends QDockWidget) adjusts its size using the size hint of the its child widget (from QDockWidget documentation) so a size hint width/height is set fort the child widget (WuQTabWidgetWithSizeHint overrides and implements sizeHint() method from QTabWidget).
parent 869f8c65
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment