toolbar ¶
Classes:
PlaybackToolbar ¶
PlaybackToolbar(main: MainWindow)
Bases: AbstractToolbar
Methods:
-
allocate_buffer
– -
get_notches
– -
get_separator
– -
get_true_fps
– -
init_notches
– -
on_current_frame_changed
– -
on_current_output_changed
– -
on_fps_changed
– -
on_fps_unlimited_changed
– -
on_fps_variable_changed
– -
on_mute_clicked
– -
on_play_n_frames_clicked
– -
on_play_pause_clicked
– -
on_seek_frame_changed
– -
on_seek_time_changed
– -
on_timeline_clicked
– -
on_toggle
– -
play
– -
play_audio
– -
rescan_outputs
– -
reset_fps
– -
resize_main_window
– -
seek_offset
– -
seek_to_end
– -
seek_to_start
– -
setMute
– -
setVolume
– -
set_qobject_names
– -
setup_ui
– -
stop
– -
stop_audio
– -
updateMuteGui
– -
update_fps_counter
–
Attributes:
-
audio_outputs
(AudioOutputs
) – -
class_storable_attrs
– -
current_audio_frame
– -
current_audio_output
– -
current_fps
– -
fps_history
– -
fps_spinbox
(DoubleSpinBox
) – -
fps_timer
– -
got_debug_fps
(bool
) – -
hlayout
(HBoxLayout
) – -
is_notches_visible
(bool
) – -
last_frame
– -
main
(MainWindow
) – -
name
(str
) – -
notches_changed
– -
num_keys
– -
play_buffer
– -
play_buffer_audio
– -
play_end_frame
– -
play_end_time
– -
play_start_frame
– -
play_start_time
(int | None
) – -
play_timer
– -
play_timer_audio
– -
seek_frame_control
(FrameEdit
) – -
settings
(PlaybackSettings
) – -
storable_attrs
– -
toggle_button
– -
visibility
– -
vlayout
(VBoxLayout
) –
Source code
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 |
|
class_storable_attrs class-attribute
instance-attribute
¶
fps_timer 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,
]
play_timer instance-attribute
¶
play_timer = Timer(timeout=_show_next_frame, timerType=PreciseTimer)
play_timer_audio instance-attribute
¶
play_timer_audio = Timer(timeout=_play_next_audio_frame, timerType=PreciseTimer)
storable_attrs class-attribute
instance-attribute
¶
storable_attrs = ('audio_muted', 'audio_outputs', 'volume')
toggle_button instance-attribute
¶
toggle_button = PushButton(name, self, checkable=True, clicked=on_toggle)
allocate_buffer ¶
allocate_buffer(is_alpha: bool = False) -> None
Source code
198 199 200 201 202 203 204 205 206 207 208 209 210 211 |
|
get_notches ¶
get_notches() -> Notches
Source code
405 406 407 |
|
get_separator ¶
get_separator(horizontal: bool = False) -> QFrame
Source code
318 319 320 321 322 |
|
get_true_fps ¶
Source code
186 187 188 189 190 191 192 193 194 195 196 |
|
init_notches ¶
init_notches(main: MainWindow = ...) -> None
Source code
402 403 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code
471 472 |
|
on_current_output_changed ¶
Source code
175 176 177 178 179 180 |
|
on_fps_changed ¶
on_fps_changed(new_fps: Fraction) -> None
Source code
496 497 498 499 500 501 502 503 504 |
|
on_fps_unlimited_changed ¶
on_fps_unlimited_changed(state: CheckState) -> None
Source code
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
|
on_fps_variable_changed ¶
on_fps_variable_changed(state: CheckState) -> None
Source code
525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 |
|
on_mute_clicked ¶
on_mute_clicked() -> None
Source code
565 566 567 568 569 570 571 572 |
|
on_play_n_frames_clicked ¶
on_play_n_frames_clicked(checked: bool) -> None
Source code
490 491 492 493 494 |
|
on_play_pause_clicked ¶
on_play_pause_clicked(checked: bool) -> None
Source code
464 465 466 467 468 |
|
on_seek_frame_changed ¶
on_seek_frame_changed(frame: Frame | None) -> None
Source code
454 455 456 457 |
|
on_seek_time_changed ¶
on_seek_time_changed(time: Time | None) -> None
Source code
459 460 461 462 |
|
on_timeline_clicked ¶
Source code
470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
|
on_toggle ¶
on_toggle(new_state: bool) -> None
Source code
461 462 463 464 465 466 467 468 469 |
|
play ¶
Source code
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 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 |
|
play_audio ¶
play_audio() -> None
Source code
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
|
rescan_outputs ¶
rescan_outputs(outputs: AudioOutputs | None = None) -> None
Source code
182 183 184 |
|
reset_fps ¶
reset_fps(checked: bool | None = None) -> None
Source code
506 507 |
|
resize_main_window ¶
resize_main_window(expanding: bool) -> None
Source code
481 482 483 484 485 486 487 488 489 |
|
seek_offset ¶
seek_offset(offset: int) -> None
Source code
443 444 445 446 447 448 449 450 451 452 |
|
seek_to_end ¶
seek_to_end(checked: bool | None = None) -> None
Source code
439 440 441 |
|
seek_to_start ¶
seek_to_start(checked: bool | None = None) -> None
Source code
435 436 437 |
|
setMute ¶
setMute(isMuted: bool) -> None
Source code
574 575 576 577 578 579 580 581 582 583 |
|
setVolume ¶
Source code
585 586 587 588 589 590 591 592 593 594 595 |
|
set_qobject_names ¶
set_qobject_names() -> None
Source code
279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
|
setup_ui ¶
setup_ui() -> None
Source code
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 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 |
|
stop ¶
stop() -> None
Source code
380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 |
|
stop_audio ¶
stop_audio() -> None
Source code
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
|
updateMuteGui ¶
updateMuteGui() -> None
Source code
555 556 557 558 559 560 561 562 563 |
|
update_fps_counter ¶
update_fps_counter() -> None
Source code
541 542 543 544 545 546 547 548 549 550 551 552 553 |
|