Uranium
Application Framework
Loading...
Searching...
No Matches
UM.Qt.Bindings.MainWindow.MainWindow Class Reference

QQuickWindow subclass that provides the main window. More...

Inherits QQuickWindow.

Public Member Functions

 __init__ (self, parent=None)
 
 setAllowResize (self, bool allow_resize)
 
 toggleFullscreen (self)
 
 getBackgroundColor (self)
 
 setBackgroundColor (self, color)
 
 mouseX (self)
 
 mouseY (self)
 
 setViewportRect (self, rect)
 
 viewportRect (self)
 
 mousePressEvent (self, event)
 
 mouseMoveEvent (self, event)
 
 mouseReleaseEvent (self, event)
 
 keyPressEvent (self, event)
 
 keyReleaseEvent (self, event)
 
 wheelEvent (self, event)
 
 moveEvent (self, event)
 
 resizeEvent (self, event)
 
 hideEvent (self, event)
 
 event (self, event)
 

Static Public Attributes

 backgroundColor = pyqtProperty(QColor, fget=getBackgroundColor, fset=setBackgroundColor)
 
 mousePositionChanged = pyqtSignal()
 
 viewportRectChanged = pyqtSignal()
 
 renderCompleted = Signal(type = Signal.Queued)
 

Protected Member Functions

 _render (self)
 
 _onSceneChanged (self, object)
 
 _onWindowGeometryChanged (self)
 
 _updateViewportGeometry (self, int width, int height)
 

Protected Attributes

 _background_color
 
 _render
 
 _mouse_device
 
 _key_device
 
 _previous_focus
 
 _app
 
 _onSceneChanged
 
 _preferences
 
 _mouse_x
 
 _mouse_y
 
 _mouse_pressed
 
 _viewport_rect
 
 _fullscreen
 
 _allow_resize
 

Detailed Description

QQuickWindow subclass that provides the main window.


The documentation for this class was generated from the following file: