class QIconLabel(QHBoxLayout):
Method | __init__ |
Initializes the icon label. |
Class Variable | HorizontalSpacing |
Undocumented |
Parameters | |
text:str | Label text |
icon:str | QtAwesome icon ID |
color:Optional[ | Text and icon color (optional) |
text_color:Optional[ | Text color (optional, overrides color) |
icon_color:Optional[ | Icon color (optional, overrides color) |
icon_size:QSize | Icon size |
font:Optional[ | QFont |
expand:bool | Enable to expand label |