toolbar ¶
Classes:
SceningToolbar ¶
SceningToolbar(main: MainWindow)
Bases: AbstractToolbar
Methods:
-
check_add_to_list_possibility
– -
check_remove_export_possibility
– -
export
– -
get_notches
– -
get_separator
– -
import_file
– -
init_notches
– -
on_add_list_clicked
– -
on_add_single_frame_clicked
– -
on_add_to_list_clicked
– -
on_current_frame_changed
– -
on_current_list_changed
– -
on_current_output_changed
– -
on_first_frame_clicked
– -
on_import_file_clicked
– -
on_list_items_changed
– -
on_remove_at_current_frame_clicked
– -
on_remove_last_from_list_clicked
– -
on_remove_list_clicked
– -
on_second_frame_clicked
– -
on_seek_to_next_clicked
– -
on_seek_to_prev_clicked
– -
on_toggle
– -
on_toggle_single_frame
– -
on_view_list_clicked
– -
resize_main_window
– -
scening_update_status_label
– -
set_qobject_names
– -
setup_ui
– -
switch_list
–
Attributes:
-
class_storable_attrs
– -
current_list
(SceningList | None
) – -
current_list_index
(int
) – -
export_template_pattern
– -
export_template_scenes_pattern
– -
first_frame
(Frame | None
) – -
hlayout
(HBoxLayout
) – -
is_notches_visible
(bool
) – -
lists
– -
main
(MainWindow
) – -
name
(str
) – -
notches_changed
– -
num_keys
– -
scening_list_dialog
(SceningListDialog
) – -
second_frame
(Frame | None
) – -
settings
(SceningSettings
) – -
storable_attrs
– -
toggle_button
– -
visibility
– -
vlayout
(VBoxLayout
) –
Source code in vspreview/toolbars/scening/toolbar.py
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 |
|
class_storable_attrs class-attribute
instance-attribute
¶
export_template_pattern instance-attribute
¶
export_template_pattern = compile('.*(?:{start}|{end}|{label}).*')
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,
]
scening_list_dialog instance-attribute
¶
scening_list_dialog: SceningListDialog = SceningListDialog(main)
storable_attrs class-attribute
instance-attribute
¶
storable_attrs = ('current_list_index', 'lists', 'first_frame', 'second_frame')
toggle_button instance-attribute
¶
toggle_button = PushButton(name, self, checkable=True, clicked=on_toggle)
check_add_to_list_possibility ¶
check_add_to_list_possibility() -> None
Source code in vspreview/toolbars/scening/toolbar.py
405 406 407 408 409 410 411 |
|
check_remove_export_possibility ¶
check_remove_export_possibility(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
|
export ¶
export(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 |
|
get_notches ¶
get_notches() -> Notches
Source code in vspreview/toolbars/scening/toolbar.py
183 184 185 186 187 188 189 190 191 192 |
|
get_separator ¶
get_separator(horizontal: bool = False) -> QFrame
Source code in vspreview/core/abstracts.py
318 319 320 321 322 |
|
import_file ¶
import_file(
import_func: Callable[[Path, SceningList], int], path: Path
) -> None
Source code in vspreview/toolbars/scening/toolbar.py
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 |
|
init_notches ¶
init_notches(main: MainWindow = ...) -> None
Source code in vspreview/core/abstracts.py
402 403 |
|
on_add_list_clicked ¶
on_add_list_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
212 213 |
|
on_add_single_frame_clicked ¶
on_add_single_frame_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
286 287 288 289 290 291 292 293 294 |
|
on_add_to_list_clicked ¶
on_add_to_list_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
296 297 298 299 300 301 302 303 304 305 306 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code in vspreview/toolbars/scening/toolbar.py
179 180 181 |
|
on_current_list_changed ¶
on_current_list_changed(
new_value: SceningList | None, old_value: SceningList
) -> None
Source code in vspreview/toolbars/scening/toolbar.py
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 |
|
on_current_output_changed ¶
Source code in vspreview/toolbars/scening/toolbar.py
176 177 |
|
on_first_frame_clicked ¶
Source code in vspreview/toolbars/scening/toolbar.py
308 309 310 311 312 313 314 315 316 317 |
|
on_import_file_clicked ¶
on_import_file_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
357 358 359 360 361 362 363 364 365 |
|
on_list_items_changed ¶
Source code in vspreview/toolbars/scening/toolbar.py
241 242 |
|
on_remove_at_current_frame_clicked ¶
on_remove_at_current_frame_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
319 320 321 322 323 324 325 326 327 328 329 330 |
|
on_remove_last_from_list_clicked ¶
on_remove_last_from_list_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
332 333 334 335 336 337 338 |
|
on_remove_list_clicked ¶
on_remove_list_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
244 245 246 247 248 249 250 251 252 253 254 255 256 |
|
on_second_frame_clicked ¶
Source code in vspreview/toolbars/scening/toolbar.py
340 341 342 343 344 345 346 347 348 349 |
|
on_seek_to_next_clicked ¶
on_seek_to_next_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
277 278 279 280 281 282 283 284 |
|
on_seek_to_prev_clicked ¶
on_seek_to_prev_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
268 269 270 271 272 273 274 275 |
|
on_toggle ¶
on_toggle(new_state: bool) -> None
Source code in vspreview/toolbars/scening/toolbar.py
167 168 169 170 171 172 173 174 |
|
on_toggle_single_frame ¶
on_toggle_single_frame() -> None
Source code in vspreview/toolbars/scening/toolbar.py
351 352 353 354 355 |
|
on_view_list_clicked ¶
on_view_list_clicked(checked: bool | None = None) -> None
Source code in vspreview/toolbars/scening/toolbar.py
258 259 260 |
|
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 |
|
scening_update_status_label ¶
scening_update_status_label() -> None
Source code in vspreview/toolbars/scening/toolbar.py
428 429 430 431 |
|
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/scening/toolbar.py
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 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 |
|