toolbar ¶
Classes:
MainToolbar ¶
MainToolbar(main_window: MainWindow)
Bases: AbstractToolbar
Methods:
-
get_notches
– -
get_separator
– -
init_notches
– -
on_copy_frame_button_clicked
– -
on_copy_timestamp_button_clicked
– -
on_current_frame_changed
– -
on_current_output_changed
– -
on_switch_timeline_mode_clicked
– -
on_sync_outputs_clicked
– -
on_toggle
– -
rescan_outputs
– -
resize_main_window
– -
set_qobject_names
– -
setup_ui
–
Attributes:
-
class_storable_attrs
– -
hlayout
(HBoxLayout
) – -
is_notches_visible
(bool
) – -
main
(MainWindow
) – -
name
(str
) – -
notches_changed
– -
num_keys
– -
outputs
(VideoOutputs | None
) – -
settings
(MainSettings
) – -
storable_attrs
– -
toggle_button
– -
visibility
– -
vlayout
(VBoxLayout
) –
Source code in vspreview/toolbars/main/toolbar.py
39 40 41 42 43 44 45 |
|
class_storable_attrs class-attribute
instance-attribute
¶
num_keys class-attribute
instance-attribute
¶
num_keys = [
Key_1,
Key_2,
Key_3,
Key_4,
Key_5,
Key_6,
Key_7,
Key_8,
Key_9,
Key_0,
]
toggle_button instance-attribute
¶
toggle_button = PushButton(name, self, checkable=True, clicked=on_toggle)
get_notches ¶
get_notches() -> Notches
Source code in vspreview/core/abstracts.py
405 406 407 |
|
get_separator ¶
get_separator(horizontal: bool = False) -> QFrame
Source code in vspreview/core/abstracts.py
318 319 320 321 322 |
|
init_notches ¶
init_notches(main: MainWindow = ...) -> None
Source code in vspreview/core/abstracts.py
402 403 |
|
on_copy_frame_button_clicked ¶
on_copy_frame_button_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/main/toolbar.py
130 131 132 |
|
on_copy_timestamp_button_clicked ¶
on_copy_timestamp_button_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/main/toolbar.py
134 135 136 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code in vspreview/toolbars/main/toolbar.py
113 114 115 116 117 118 |
|
on_current_output_changed ¶
Source code in vspreview/toolbars/main/toolbar.py
120 121 122 123 |
|
on_switch_timeline_mode_clicked ¶
on_switch_timeline_mode_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/main/toolbar.py
138 139 140 141 142 |
|
on_sync_outputs_clicked ¶
Source code in vspreview/toolbars/main/toolbar.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
|
on_toggle ¶
on_toggle(new_state: bool) -> None
Source code in vspreview/core/abstracts.py
461 462 463 464 465 466 467 468 469 |
|
rescan_outputs ¶
rescan_outputs(outputs: VideoOutputs | None = None) -> None
Source code in vspreview/toolbars/main/toolbar.py
125 126 127 128 |
|
resize_main_window ¶
resize_main_window(expanding: bool) -> None
Source code in vspreview/core/abstracts.py
481 482 483 484 485 486 487 488 489 |
|
set_qobject_names ¶
set_qobject_names() -> None
Source code in vspreview/core/abstracts.py
279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
|
setup_ui ¶
setup_ui() -> None
Source code in vspreview/toolbars/main/toolbar.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
|