utils ¶
Classes:
-
LazyMapPluginVideoOutputs
– -
MappedNodesPlugin
– -
MappedNodesViewPlugin
– -
PluginGraphicsView
– -
PluginVideoOutputs
–
LazyMapPluginVideoOutputs ¶
LazyMapPluginVideoOutputs(
main: MainWindow | None, func: Callable[[VideoNode], VideoNode]
)
Bases: PluginVideoOutputs
Attributes:
Source code
50 51 52 |
|
MappedNodesPlugin ¶
MappedNodesPlugin(main: MainWindow)
Bases: AbstractPlugin
Methods:
-
add_shortcut
– -
add_shortcuts
– -
first_load
– -
get_node
– -
get_notches
– -
get_separator
– -
init_notches
– -
init_outputs
– -
on_current_frame_changed
– -
on_current_output_changed
– -
reset
– -
set_qobject_names
– -
setup_shortcuts
– -
setup_ui
–
Attributes:
-
hlayout
(HBoxLayout
) – -
index
(int
) – -
is_notches_visible
(bool
) – -
main
– -
notches_changed
– -
on_first_load
– -
outputs
– -
settings
(PluginSettings
) – -
shortcuts
(list[PluginShortcut]
) – -
storable_attrs
(tuple[str, ...]
) – -
vlayout
(VBoxLayout
) –
Source code
62 63 64 65 |
|
add_shortcut ¶
add_shortcut(
name_or_key: Any,
parent_or_handler: Any,
/,
handler: Callable[[], None] | str = "",
key: QKeySequence | None = None,
description: str | None = None,
) -> None
Source code
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
|
first_load ¶
first_load() -> bool
Source code
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
|
get_node ¶
get_node(node: VideoNode) -> VideoNode
get_node(node: VideoNode) -> VideoOutputNode
get_node(node: VideoNode) -> VideoNode | VideoOutputNode
get_node(node: VideoNode) -> VideoNode | VideoOutputNode
Source code
79 80 |
|
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 |
|
init_notches ¶
init_notches(main: MainWindow = ...) -> None
Source code
402 403 |
|
init_outputs ¶
init_outputs() -> None
Source code
82 83 84 85 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code
92 93 |
|
on_current_output_changed ¶
Source code
199 200 |
|
reset ¶
reset() -> None
Source code
87 88 89 90 |
|
set_qobject_names ¶
set_qobject_names() -> None
Source code
279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
|
setup_shortcuts ¶
setup_shortcuts() -> None
Source code
149 150 |
|
setup_ui ¶
setup_ui() -> None
Source code
314 315 316 |
|
MappedNodesViewPlugin ¶
MappedNodesViewPlugin(main: MainWindow)
Bases: MappedNodesPlugin
, PluginGraphicsView
Methods:
-
add_shortcut
– -
add_shortcuts
– -
afterReload
– -
auto_fit_button_clicked
– -
beforeReload
– -
bind_to
– -
event
– -
first_load
– -
get_node
– -
get_notches
– -
get_separator
– -
init_notches
– -
init_outputs
– -
mouseMoveEvent
– -
mousePressEvent
– -
mouseReleaseEvent
– -
on_current_frame_changed
– -
on_current_output_changed
– -
on_wheel_scrolled
– -
propagate_move_event
– -
reset
– -
resizeEvent
– -
setZoom
– -
set_qobject_names
– -
setup_shortcuts
– -
setup_ui
– -
setup_view
– -
wheelEvent
–
Attributes:
-
WHEEL_STEP
– -
angleRemainder
– -
app
– -
auto_fit_button
– -
autofit
(bool
) – -
content_height
(int
) – -
content_width
(int
) – -
controls
– -
currentZoom
– -
current_scene
(GraphicsImageItem
) – -
dragEvent
– -
drag_mode
(DragMode
) – -
graphics_scene
– -
hlayout
(HBoxLayout
) – -
index
(int
) – -
is_notches_visible
(bool
) – -
last_positions
– -
main
– -
mouseMoved
– -
mousePressed
– -
mouseReleased
– -
notches_changed
– -
on_first_load
– -
outputs
– -
plugin
(MappedNodesPlugin
) – -
settings
(PluginSettings
) – -
shortcuts
(list[PluginShortcut]
) – -
storable_attrs
(tuple[str, ...]
) – -
underReload
– -
vlayout
(VBoxLayout
) – -
wheelScrolled
– -
zoomValue
– -
zoom_combobox
–
Source code
62 63 64 65 |
|
auto_fit_button instance-attribute
¶
auto_fit_button = CheckBox('Auto-fit', self, clicked=auto_fit_button_clicked)
add_shortcut ¶
add_shortcut(
name_or_key: Any,
parent_or_handler: Any,
/,
handler: Callable[[], None] | str = "",
key: QKeySequence | None = None,
description: str | None = None,
) -> None
Source code
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
|
afterReload ¶
afterReload() -> None
Source code
371 372 373 374 375 |
|
auto_fit_button_clicked ¶
auto_fit_button_clicked(checked: bool) -> None
Source code
212 213 |
|
beforeReload ¶
beforeReload() -> None
Source code
366 367 368 369 |
|
bind_to ¶
bind_to(other_view: GraphicsView, *, mutual: bool = True) -> None
Source code
241 242 243 244 245 |
|
event ¶
event(event: QEvent) -> bool
Source code
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
|
first_load ¶
first_load() -> bool
Source code
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
|
get_node ¶
get_node(node: VideoNode) -> VideoNode
get_node(node: VideoNode) -> VideoOutputNode
get_node(node: VideoNode) -> VideoNode | VideoOutputNode
get_node(node: VideoNode) -> VideoNode | VideoOutputNode
Source code
79 80 |
|
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 |
|
init_notches ¶
init_notches(main: MainWindow = ...) -> None
Source code
402 403 |
|
init_outputs ¶
init_outputs() -> None
Source code
82 83 84 85 |
|
mouseMoveEvent ¶
mouseMoveEvent(event: QMouseEvent) -> None
Source code
330 331 332 333 334 335 336 337 338 339 |
|
mousePressEvent ¶
mousePressEvent(event: QMouseEvent) -> None
Source code
341 342 343 344 345 346 347 348 349 350 351 352 |
|
mouseReleaseEvent ¶
mouseReleaseEvent(event: QMouseEvent) -> None
Source code
354 355 356 357 358 359 360 361 362 363 364 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code
136 137 |
|
on_current_output_changed ¶
Source code
199 200 |
|
on_wheel_scrolled ¶
on_wheel_scrolled(steps: int) -> None
Source code
247 248 249 250 251 252 253 254 255 |
|
propagate_move_event ¶
propagate_move_event(_: Any = None) -> None
Source code
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
|
reset ¶
reset() -> None
Source code
87 88 89 90 |
|
resizeEvent ¶
resizeEvent(event: QResizeEvent) -> None
Source code
377 378 379 |
|
setZoom ¶
setZoom(value: float | None) -> None
Source code
257 258 259 |
|
set_qobject_names ¶
set_qobject_names() -> None
Source code
279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
|
setup_shortcuts ¶
setup_shortcuts() -> None
Source code
149 150 |
|
setup_ui ¶
setup_ui() -> None
Source code
314 315 316 |
|
setup_view ¶
setup_view() -> None
Source code
234 235 236 237 238 239 |
|
wheelEvent ¶
wheelEvent(event: QWheelEvent) -> None
Source code
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
|
PluginGraphicsView ¶
PluginGraphicsView(
main: MainWindow | MappedNodesPlugin,
plugin: MappedNodesPlugin | None = None,
parent: QWidget | None = None,
)
Bases: GraphicsView
Methods:
-
afterReload
– -
auto_fit_button_clicked
– -
beforeReload
– -
bind_to
– -
event
– -
first_load
– -
mouseMoveEvent
– -
mousePressEvent
– -
mouseReleaseEvent
– -
on_wheel_scrolled
– -
propagate_move_event
– -
resizeEvent
– -
setZoom
– -
setup_view
– -
wheelEvent
–
Attributes:
-
WHEEL_STEP
– -
angleRemainder
– -
app
– -
auto_fit_button
– -
autofit
(bool
) – -
content_height
(int
) – -
content_width
(int
) – -
controls
– -
currentZoom
– -
current_scene
(GraphicsImageItem
) – -
dragEvent
– -
drag_mode
(DragMode
) – -
graphics_scene
– -
last_positions
– -
main
(MainWindow
) – -
mouseMoved
– -
mousePressed
– -
mouseReleased
– -
plugin
(MappedNodesPlugin
) – -
underReload
– -
wheelScrolled
– -
zoomValue
– -
zoom_combobox
–
Source code
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
|
auto_fit_button instance-attribute
¶
auto_fit_button = CheckBox('Auto-fit', self, clicked=auto_fit_button_clicked)
afterReload ¶
afterReload() -> None
Source code
371 372 373 374 375 |
|
auto_fit_button_clicked ¶
auto_fit_button_clicked(checked: bool) -> None
Source code
212 213 |
|
beforeReload ¶
beforeReload() -> None
Source code
366 367 368 369 |
|
bind_to ¶
bind_to(other_view: GraphicsView, *, mutual: bool = True) -> None
Source code
241 242 243 244 245 |
|
event ¶
event(event: QEvent) -> bool
Source code
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
|
first_load ¶
first_load() -> None
Source code
122 123 124 |
|
mouseMoveEvent ¶
mouseMoveEvent(event: QMouseEvent) -> None
Source code
330 331 332 333 334 335 336 337 338 339 |
|
mousePressEvent ¶
mousePressEvent(event: QMouseEvent) -> None
Source code
341 342 343 344 345 346 347 348 349 350 351 352 |
|
mouseReleaseEvent ¶
mouseReleaseEvent(event: QMouseEvent) -> None
Source code
354 355 356 357 358 359 360 361 362 363 364 |
|
on_wheel_scrolled ¶
on_wheel_scrolled(steps: int) -> None
Source code
247 248 249 250 251 252 253 254 255 |
|
propagate_move_event ¶
propagate_move_event(_: Any = None) -> None
Source code
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
|
resizeEvent ¶
resizeEvent(event: QResizeEvent) -> None
Source code
377 378 379 |
|
setZoom ¶
setZoom(value: float | None) -> None
Source code
257 258 259 |
|
setup_view ¶
setup_view() -> None
Source code
234 235 236 237 238 239 |
|
wheelEvent ¶
wheelEvent(event: QWheelEvent) -> None
Source code
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
|
PluginVideoOutputs ¶
PluginVideoOutputs(main: MainWindow | None = None)
Bases: vs_object
, dict[VideoOutput, VideoOutput]
Attributes:
-
current
(VideoOutput
) – -
main
– -
prepared
(VideoNode
) – -
source
(VideoNode
) –
Source code
24 25 |
|