jbrowser.ui.sounds
Generated from the source code of JBrowser 1.4.0.
Short UI sound effects (welcome screen), played with low latency through QSoundEffect.
The WAV files live in assets/sounds. Sound is optional: if Qt Multimedia or an audio
device is unavailable, playback silently does nothing. appearance.sounds mutes it.
Constants#
| Name | Value |
|---|---|
SOUNDS |
{'intro': 'intro.wav', 'click': 'click.wav'} |
Sounds#
class Sounds(QObject)source
Sounds(settings: Settings, parent: QObject | None=None)
Sounds.enabled#
property enabledsource
Sounds.play#
play(name: str) -> Nonesource
Sounds.stop#
stop(name: str | None=None) -> Nonesource