Inheritance |
|
This class inherits from the hou.qt.WindowOverlay class.
Methods ¶
__init__(scene_viewer)
Creates and returns a new ViewerOverlay object. ViewerOverlay cannot be created directly, ViewerOverlay is typically used as a base class to implement an overlay window that sits on top of the scene viewer window.
scene_viewer
A mandatory scene viewer object to parent the viewer window overlay to the scene viewer Qt window.
sceneViewer()
→ [Hom:hou.SceneViewer]
Returns the scene viewer of the overlay window.
onResizing()
Called when the scene viewer is resizing interactively.
onBeginResize()
Called when the scene viewer has started to resize.
onEndResize()
Called when the scene viewer resizing has ended.
onSizeChanged()
Called when the scene viewer size has changed.
onLayoutChanged()
Called when the scene viewer viewport layout has changed.
onColorSchemeChanged()
Called when the scene viewer background color has changed.
onWindowPlacement()
Called when the window position needs to be computed to maintain the window between the viewer boundaries.
onParentWindowEvent(event)
Called when a window event is sent to the parent.
onContainerWindowEvent(event)
Called when a window event is sent to the contiainer window.
event
Supported events:
-
QtCore.QEvent.Resize
-
QtCore.QEvent.Move
-
QtCore.QEvent.WindowActivate
-
QtCore.QEvent.WindowDeactivate
Methods from hou.qt.WindowOverlay ¶
windowContainer()
Returns the window container.
onInitWindow(event)
Called when the window is being initialized. Can be overriden by leaf classes.