abstract ¶
Classes:
-
AbstractPlugin
– -
FileResolvePluginConfig
– -
FileResolverPlugin
– -
PluginConfig
– -
PluginSettings
– -
PluginShortcut
– -
ResolvedScript
– -
SettingsNamespace
–
AbstractPlugin ¶
AbstractPlugin(main: MainWindow)
Bases: ExtendedWidgetBase
, NotchProvider
Methods:
-
add_shortcut
– -
add_shortcuts
– -
first_load
– -
get_notches
– -
get_separator
– -
init_notches
– -
init_outputs
– -
on_current_frame_changed
– -
on_current_output_changed
– -
set_qobject_names
– -
setup_shortcuts
– -
setup_ui
–
Attributes:
-
hlayout
(HBoxLayout
) – -
index
(int
) – -
is_notches_visible
(bool
) – -
main
– -
notches_changed
– -
on_first_load
– -
settings
(PluginSettings
) – -
shortcuts
(list[PluginShortcut]
) – -
storable_attrs
(tuple[str, ...]
) – -
vlayout
(VBoxLayout
) –
Source code
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
|
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_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 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code
196 197 |
|
on_current_output_changed ¶
Source code
199 200 |
|
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 |
|
FileResolvePluginConfig ¶
Bases: _BasePluginConfig
, NamedTuple
Attributes:
-
display_name
(str
) – -
namespace
(str
) – -
settings_type
(type[PluginSettings]
) –
settings_type class-attribute
instance-attribute
¶
settings_type: type[PluginSettings] = PluginSettings
FileResolverPlugin ¶
Methods:
Attributes:
can_run_file ¶
Source code
221 222 |
|
cleanup ¶
cleanup() -> None
Source code
227 228 229 230 231 232 233 234 235 236 237 238 |
|
get_extensions ¶
Source code
218 219 |
|
get_temp_path ¶
get_temp_path(is_folder: bool = False) -> SPath
Source code
240 241 242 243 244 245 246 247 248 249 250 251 252 |
|
resolve_path ¶
resolve_path(filepath: Path) -> ResolvedScript
Source code
224 225 |
|
PluginConfig ¶
Bases: _BasePluginConfig
, NamedTuple
Attributes:
-
display_name
(str
) – -
namespace
(str
) – -
settings_type
(type[PluginSettings]
) – -
visible_in_tab
(bool
) –
settings_type class-attribute
instance-attribute
¶
settings_type: type[PluginSettings] = PluginSettings
PluginSettings ¶
PluginSettings(plugin: AbstractPlugin)
Bases: QYAMLObject
Attributes:
-
fired_events
– -
globals
– -
local
– -
plugin
–
Source code
43 44 45 46 47 |
|
PluginShortcut ¶
ResolvedScript ¶
Bases: NamedTuple
Attributes:
-
arguments
(dict[str, Any]
) – -
display_name
(str
) – -
path
(Path
) – -
reload_enabled
(bool
) –