General utilities
araviq6.util provides utility classes and functions which are not
video pipeline components.
Media controller
araviq6.util.controller provides widget to control media player.
- class araviq6.util.controller.ClickableSlider(*args: Any, **kwargs: Any)[source]
Bases:
QSliderQSliderwhose groove can be clicked to move to position.
- class araviq6.util.controller.MediaController(*args: Any, **kwargs: Any)[source]
Bases:
QWidgetWidget to control
QtMultimedia.QMediaPlayer.This controller can change the playback state and media position by
playButton(),stopButton(), andslider().setPlayer()sets the player to be controlled by this widget.- player() PlayerProtocol | None[source]
Media player which is controlled by self.
- setPlayer(player: PlayerProtocol | None)[source]
Set
player()and connect the signals.
Testing helpers
araviq6.util.testing provides utilities to help writing unit tests.