![]() |
Q2NSViz 0.1.0
Q2NS trace visualizer
|
Transport controls, time scrubber, and speed slider. More...
Public Member Functions | |
| set_playing (self, bool playing) | |
| update_time_label (self, float time_us, int step, int total) | |
| update_speed_label (self, str label) | |
| apply_theme (self) | |
| Re-apply the active color palette to all styled elements. | |
Public Attributes | |
| is_playing | |
| prev_btn | |
| play_btn | |
| next_btn | |
| loop_btn | |
| time_slider | |
| time_label | |
| speed_slider | |
| speed_label | |
Static Public Attributes | |
| play_clicked = pyqtSignal() | |
| pause_clicked = pyqtSignal() | |
| step_forward = pyqtSignal() | |
| step_backward = pyqtSignal() | |
| time_changed = pyqtSignal(int) | |
| speed_changed = pyqtSignal(int) | |
| q2nsviz.ui.panels.ControlPanel.apply_theme | ( | self | ) |
Re-apply the active color palette to all styled elements.
Call after toggle_dark() to update the control panel's appearance.
Definition at line 195 of file panels.py.
References q2nsviz.ui.panels.ControlPanel._apply_stylesheet(), and q2nsviz.ui.panels.InfoPanel._apply_stylesheet().
Referenced by q2nsviz.ui.window.QuantumVisualizerWindow.load_file().
| q2nsviz.ui.panels.ControlPanel.set_playing | ( | self, | |
| bool | playing | ||
| ) |
Definition at line 185 of file panels.py.
References q2nsviz.ui.panels.ControlPanel.is_playing, q2nsviz.ui.window.PlaybackController.is_playing, and q2nsviz.ui.panels.ControlPanel.play_btn.
| q2nsviz.ui.panels.ControlPanel.update_speed_label | ( | self, | |
| str | label | ||
| ) |
Definition at line 192 of file panels.py.
References q2nsviz.ui.panels.ControlPanel.speed_label.
| q2nsviz.ui.panels.ControlPanel.update_time_label | ( | self, | |
| float | time_us, | ||
| int | step, | ||
| int | total | ||
| ) |
Definition at line 189 of file panels.py.
References q2nsviz.ui.panels.ControlPanel.time_label.
| q2nsviz.ui.panels.ControlPanel.is_playing |
|
static |
| q2nsviz.ui.panels.ControlPanel.play_btn |
Definition at line 128 of file panels.py.
Referenced by q2nsviz.ui.panels.ControlPanel.set_playing().
|
static |
|
static |
| q2nsviz.ui.panels.ControlPanel.speed_label |
Definition at line 168 of file panels.py.
Referenced by q2nsviz.ui.panels.ControlPanel.update_speed_label().
|
static |
|
static |
|
static |
| q2nsviz.ui.panels.ControlPanel.time_label |
Definition at line 155 of file panels.py.
Referenced by q2nsviz.ui.panels.ControlPanel.update_time_label().