You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
354 B
16 lines
354 B
# coding: utf-8
|
|
from enum import Enum
|
|
|
|
from qfluentwidgets import FluentIconBase, getIconColor, Theme
|
|
|
|
|
|
class Icon(FluentIconBase, Enum):
|
|
|
|
GRID = "Grid"
|
|
MENU = "Menu"
|
|
TEXT = "Text"
|
|
EMOJI_TAB_SYMBOLS = "EmojiTabSymbols"
|
|
|
|
def path(self, theme=Theme.AUTO):
|
|
return f":/gallery/images/icons/{self.value}_{getIconColor(theme)}.svg"
|