nexxT.services.gui.PlaybackControl module
This module provides the nexxT GUI service PlaybackControl
- class nexxT.services.gui.PlaybackControl.MVCPlaybackControlGUI(config)[source]
Bases:
PlaybackControlConsoleGUI implementation of MVCPlaybackControlBase
- __init__(self, /, parent: PySide6.QtCore.QObject | None = None, *, objectName: str | None = None) None[source]
Initialize self. See help(type(self)) for accurate signature.
- browserActivated(filename)[source]
Called when the user activated a file.
- Parameters:
filename – the new filename
- Returns:
- static compressFileName(filename)[source]
Compresses long path names with an ellipsis (…)
- Parameters:
filename – the original path name as a Path or string instance
- Returns:
the compressed path name as a string instance
- displayPosition(value)[source]
Slot called when the slider is moved. Displays the position without actually seeking to it.
- Parameters:
value – the new slider value.
- Returns:
- nameFiltersChanged
- onSliderValueChanged(value)[source]
Slot called whenever the slider value is changed.
- Parameters:
value – the new slider value
- Returns:
- restoreState()[source]
Restores the state of the playback control from the given property collection
- Parameters:
propertyCollection – a PropertyCollection instance
- Returns:
- setSelectedStream(stream)[source]
Sets the user-selected stream (for forward/backward stepping)
:param stream the stream name. :return:
- staticMetaObject = PySide6.QtCore.QMetaObject("MVCPlaybackControlGUI" inherits "PlaybackControlConsole": Methods: #21 type=Signal, signature=nameFiltersChanged(QStringList), parameters=QStringList )