RuleComponentUI: Type hints methods
This commit is contained in:
parent
d1f9b9ca3d
commit
194c385824
|
|
@ -90,15 +90,15 @@ class RuleComponentUI:
|
||||||
widget.show()
|
widget.show()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def left_label(cls, component):
|
def left_label(cls, component) -> str:
|
||||||
return type(component).__name__
|
return type(component).__name__
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def right_label(cls, _component):
|
def right_label(cls, _component) -> str:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def icon_name(cls):
|
def icon_name(cls) -> str:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
def _remove_panel_items(self):
|
def _remove_panel_items(self):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue