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
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
398 399 400 401 402 403 404 |
|
check_remove_export_possibility ¶
check_remove_export_possibility(checked: bool | None = None) -> None
Source code
406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
|
export ¶
export(checked: bool | None = None) -> None
Source code
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 |
|
get_notches ¶
get_notches() -> Notches
Source code
183 184 185 186 187 188 189 190 191 192 |
|
get_separator ¶
get_separator(horizontal: bool = False) -> QFrame
Source code
318 319 320 321 322 |
|
import_file ¶
import_file(
import_func: Callable[[Path, SceningList], int], path: Path
) -> None
Source code
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 |
|
init_notches ¶
init_notches(main: MainWindow = ...) -> None
Source code
402 403 |
|
on_add_list_clicked ¶
on_add_list_clicked(checked: bool | None = None) -> None
Source code
212 213 |
|
on_add_single_frame_clicked ¶
on_add_single_frame_clicked(checked: bool | None = None) -> None
Source code
279 280 281 282 283 284 285 286 287 |
|
on_add_to_list_clicked ¶
on_add_to_list_clicked(checked: bool | None = None) -> None
Source code
289 290 291 292 293 294 295 296 297 298 299 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code
179 180 181 |
|
on_current_list_changed ¶
on_current_list_changed(
new_value: SceningList | None, old_value: SceningList
) -> None
Source code
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
176 177 |
|
on_first_frame_clicked ¶
Source code
301 302 303 304 305 306 307 308 309 310 |
|
on_import_file_clicked ¶
on_import_file_clicked(checked: bool | None = None) -> None
Source code
350 351 352 353 354 355 356 357 358 |
|
on_list_items_changed ¶
Source code
241 242 |
|
on_remove_at_current_frame_clicked ¶
on_remove_at_current_frame_clicked(checked: bool | None = None) -> None
Source code
312 313 314 315 316 317 318 319 320 321 322 323 |
|
on_remove_last_from_list_clicked ¶
on_remove_last_from_list_clicked(checked: bool | None = None) -> None
Source code
325 326 327 328 329 330 331 |
|
on_remove_list_clicked ¶
on_remove_list_clicked(checked: bool | None = None) -> None
Source code
244 245 246 247 248 249 |
|
on_second_frame_clicked ¶
Source code
333 334 335 336 337 338 339 340 341 342 |
|
on_seek_to_next_clicked ¶
on_seek_to_next_clicked(checked: bool | None = None) -> None
Source code
270 271 272 273 274 275 276 277 |
|
on_seek_to_prev_clicked ¶
on_seek_to_prev_clicked(checked: bool | None = None) -> None
Source code
261 262 263 264 265 266 267 268 |
|
on_toggle ¶
on_toggle(new_state: bool) -> None
Source code
167 168 169 170 171 172 173 174 |
|
on_toggle_single_frame ¶
on_toggle_single_frame() -> None
Source code
344 345 346 347 348 |
|
on_view_list_clicked ¶
on_view_list_clicked(checked: bool | None = None) -> None
Source code
251 252 253 |
|
resize_main_window ¶
resize_main_window(expanding: bool) -> None
Source code
481 482 483 484 485 486 487 488 489 |
|
scening_update_status_label ¶
scening_update_status_label() -> None
Source code
421 422 423 424 |
|
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
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 |
|