NaviNIBS.util.GUI.QScrollContainer module

Bases: QScrollArea

Address issue with behavior of default ScrollArea when never showing horizantal scrollbar but allowing resize: child widgets can be truncated left/right.

This class overrides the resizeEvent to ensure that the minimum width of the scroll area is always wide enough to show full width of child widgets.

Modify size hint behavior to prevent scrollbar showing in some situations where the widget could be given more room to grow

Return type:

QSize

Bases: object

Parameters:
  • _allowVerticalScrolling

  • _allowHorizontalScrolling

  • _innerContainerLayout

  • _innerContainer