class QLabel2(QLabel):
Method | __init__ |
Initializes a QLabel. |
Method | set |
Sets the label properties. |
Class Variable | DebugLabels |
Undocumented |
Initializes a QLabel.
Please see QLabel2.set()
for supported arguments.
Parameters | |
text:str | Text |
icon:Optional[ | QtAwesome icon ID (optional) |
icon_color:Optional[ | Icon color (optional) |
icon_size:QSize | Icon size |
expand:bool | Enable to expand |
align_right:bool | Enable to align right |
width:Optional[ | Width (optional) |
**kwargs | Undocumented |
Parameters | |
text:str | Text |
font:Optional[ | QFont |
font_size:Optional[ | Native font size |
bold:bool | Enable for bold text |
italic:bool | Enable for italic text |
color:Union[ | Text color |
css:Optional[ | Additional CSS (optional) |