bec_widgets.utils.bec_designer#

Functions#

designer_material_icon(→ qtpy.QtGui.QIcon)

Create a QIcon for the BECDesigner with the given material icon name.

find_plugin_paths(base_path)

Recursively find all directories containing a .pyproject file.

list_editable_packages(→ set[str])

List all editable packages in the environment.

main()

open_designer([cmd_args])

patch_designer([cmd_args])

set_plugin_environment_variable(plugin_paths)

Set the PYSIDE_DESIGNER_PLUGINS environment variable with the given plugin paths.

Module Contents#

designer_material_icon(icon_name: str) qtpy.QtGui.QIcon#

Create a QIcon for the BECDesigner with the given material icon name.

Parameters:

icon_name (str) – The name of the material icon.

Returns:

The QIcon for the material icon.

Return type:

QIcon

find_plugin_paths(base_path: pathlib.Path)#

Recursively find all directories containing a .pyproject file.

list_editable_packages() set[str]#

List all editable packages in the environment.

Returns:

A set of paths to editable packages.

Return type:

set

main()#
open_designer(cmd_args: list[str] = [])#
patch_designer(cmd_args: list[str] = [])#
set_plugin_environment_variable(plugin_paths)#

Set the PYSIDE_DESIGNER_PLUGINS environment variable with the given plugin paths.