toolbar ¶
Classes:
BenchmarkToolbar ¶
BenchmarkToolbar(main: MainWindow)
Bases: AbstractToolbar
Methods:
-
abort
– -
get_notches
– -
get_separator
– -
init_notches
– -
on_current_frame_changed
– -
on_current_output_changed
– -
on_prefetch_changed
– -
on_run_abort_pressed
– -
on_toggle
– -
resize_main_window
– -
run
– -
set_qobject_names
– -
set_ui_editable
– -
setup_ui
– -
update_controls
– -
update_info
–
Attributes:
-
benchmark_data
– -
buffer
– -
class_storable_attrs
– -
end_frame
– -
hlayout
(HBoxLayout
) – -
is_notches_visible
(bool
) – -
main
(MainWindow
) – -
name
(str
) – -
notches_changed
– -
num_keys
– -
run_start_time
– -
running
– -
sequenced_timer
– -
settings
(BenchmarkSettings
) – -
start_frame
– -
storable_attrs
– -
toggle_button
– -
total_frames
– -
unsequenced
– -
update_info_timer
– -
visibility
– -
vlayout
(VBoxLayout
) –
Source code in vspreview/toolbars/benchmark/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 |
|
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,
]
sequenced_timer instance-attribute
¶
sequenced_timer = Timer(
timeout=_request_next_frame_sequenced, timerType=PreciseTimer, interval=0
)
toggle_button instance-attribute
¶
toggle_button = PushButton(name, self, checkable=True, clicked=on_toggle)
update_info_timer instance-attribute
¶
update_info_timer = Timer(timeout=update_info, timerType=PreciseTimer)
abort ¶
abort() -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
185 186 187 188 189 190 191 192 193 194 |
|
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_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code in vspreview/core/abstracts.py
471 472 |
|
on_current_output_changed ¶
Source code in vspreview/toolbars/benchmark/toolbar.py
117 118 119 120 121 122 |
|
on_prefetch_changed ¶
on_prefetch_changed(new_state: CheckState) -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
231 232 233 234 235 236 237 238 |
|
on_run_abort_pressed ¶
on_run_abort_pressed(checked: bool) -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
224 225 226 227 228 229 |
|
on_toggle ¶
on_toggle(new_state: bool) -> None
Source code in vspreview/core/abstracts.py
461 462 463 464 465 466 467 468 469 |
|
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 |
|
run ¶
run() -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
|
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 |
|
set_ui_editable ¶
set_ui_editable(new_state: bool) -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
240 241 242 243 244 245 |
|
setup_ui ¶
setup_ui() -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
|
update_controls ¶
update_controls(
start: Frame | None = None,
end: Frame | None = None,
total: Frame | None = None,
) -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 |
|
update_info ¶
update_info() -> None
Source code in vspreview/toolbars/benchmark/toolbar.py
289 290 291 292 293 294 295 |
|