MCPcopy Create free account
hub / github.com/echQoQ/RustSL / get_icon

Function get_icon

gui/ui_components.py:14–16  ·  view source on GitHub ↗
(icon_name)

Source from the content-addressed store, hash-verified

12
13
14def get_icon(icon_name):
15 icon_path = os.path.join('gui', 'icons', f'{icon_name}.ico')
16 return QIcon(icon_path) if os.path.exists(icon_path) else QIcon()
17
18
19def create_encryption_combobox():

Callers 5

create_mem_mode_comboboxFunction · 0.85
create_run_mode_comboboxFunction · 0.85
create_target_comboboxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected