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.
onBeginResize()
Called when the scene viewer has started to resize.
onEndResize()
Called when the scene viewer resizing has ended.
onResizing()
Called when the scene viewer is resizing interactively.
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.
onViewerActivated()
Called when the scene viewer is selected.
onViewerDeactivated()
Called when the scene viewer is deselected.
onParentWindowEvent(event)
Called when a window event is sent to the parent.
onContainerWindowEvent(event)
Called when a window event is sent to the container window.
event
Supported events:
-
QtCore.QEvent.Resize
-
QtCore.QEvent.Move
-
QtCore.QEvent.WindowActivate
-
QtCore.QEvent.WindowDeactivate
onWindowPlacement()
Called when the window position needs to be updated to maintain the window between the viewer boundaries.
onMoveContainerWindow()
Called when the window is moved as a result of the parent window moving.
moveTo(pos)
Moves the window to position pos
.
pos
Destination position.
Specified as a QtCore.QPoint
.
moveBy(delta)
Moves the window by offset delta
.
delta
Offset added to the current window position.
Specified as a QtCore.QPoint
.
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.