nexxT.services.gui.PlaybackControl module

This module provides the nexxT GUI service PlaybackControl

class nexxT.services.gui.PlaybackControl.MVCPlaybackControlGUI(config)[source]

Bases: PlaybackControlConsole

GUI 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:

openRecent()[source]

Called when the user clicks on a recent sequence.

Returns:

restoreState()[source]

Restores the state of the playback control from the given property collection

Parameters:

propertyCollection – a PropertyCollection instance

Returns:

saveState()[source]

Saves the state of the playback control

Returns:

scrollToCurrent()[source]

Scrolls to the current item in the browser

Returns:

selectedStream()[source]

Returns the user-selected stream (for forward/backward stepping)

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 )