video_widget

Module Contents

GraphicsVideoItem

Graphics video item

VideoWidget

Video widget

class GraphicsVideoItem

Bases: PyQt5.QtMultimediaWidgets.QGraphicsVideoItem

Graphics video item

paint(painter: PyQt5.QtGui.QPainter, option, widget)
class VideoWidget(parent=None)

Bases: PyQt5.QtWidgets.QGraphicsView

Video widget

property player
setVideo(url: PyQt5.QtCore.QUrl)

set the video to play

hideEvent(e)
wheelEvent(e)
enterEvent(e)
leaveEvent(e)
play()
pause()
stop()
togglePlayState()

toggle play state

resizeEvent(e)