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

Function list_ico_files

gui/widgets.py:5–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3from PyQt5.QtGui import QIcon
4
5def list_ico_files():
6 app_icons_dir = os.path.join(os.getcwd(), 'icons')
7 if not os.path.isdir(app_icons_dir):
8 return []
9 return [f for f in os.listdir(app_icons_dir) if f.lower().endswith('.ico')]
10
11class BinComboBox(QComboBox):
12 def __init__(self, parent=None):

Callers 1

refreshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected