Qt Widget for using X-Video acceleration in a Qt4-QtRuby application.
| XvWidget | Qt Widget for using X-Video acceleration in a Qt4-QtRuby application. |
| Functions | |
| XvWidget.new | |
| XvWidget. | This method is used internally only. |
| XvWidget. | This method is used internally only. |
| write | Pass image to output object. |
| clear | Clear window to black colour until next image is written to the display. |
| grabPort | Take hold of the XVideo port if it wasn’t grabbed already. |
| releasePort | Release the XVideo port if it is being held by this widget. |
| paintEvent | This method is used internally to get notified when the widget needs to be repainted. |
| closeEvent | This method is used internally to get notified when this widget is closed. |
def XvWidget.new( parent = nil, grab_port_now = true )
This method is used internally only.
def XvWidget.register( widget )
This method is used internally only.
def XvWidget.unregister( widget )
Pass image to output object.
def write( image )
Clear window to black colour until next image is written to the display.
def clear
Take hold of the XVideo port if it wasn’t grabbed already.
def grabPort
Release the XVideo port if it is being held by this widget.
def releasePort
This method is used internally to get notified when the widget needs to be repainted.
def paintEvent( e )
This method is used internally to get notified when this widget is closed.
def closeEvent( e )