class documentation
Metric_Widget class.
Method | __init__ |
Populates the widget. |
Method | reload |
Reloads the widget. |
Method | set |
Sets the metric. This will overwrite the currently set metric in the model. Any underscored parameter may be left set to None in order to load its default value. |
Method | update |
Updates the widget. |
Method | update |
Updates the controls. |
Method | update |
Updates the labels. |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Instance Variable | alpha |
Undocumented |
Instance Variable | alpha |
Undocumented |
Instance Variable | alpha |
Undocumented |
Instance Variable | alpha |
Undocumented |
Instance Variable | alpha |
Undocumented |
Instance Variable | color |
Undocumented |
Instance Variable | color |
Undocumented |
Instance Variable | color |
Undocumented |
Instance Variable | color |
Undocumented |
Instance Variable | color |
Undocumented |
Instance Variable | gui |
Undocumented |
Inherited from QGroupBox2
:
Method | set |
Sets the style and label color of the groupbox. |
Inherited from QLayouted
(via QGroupBox2
):
Method | add |
Adds buttons. |
Method | add |
Adds layout. |
Method | add |
Adds spacing. |
Method | add |
Adds widget. |
Method | install |
Installs this layout in the parent. |
Instance Variable | _layout |
Undocumented |
def set_metric(self, _color_preset_:
dict | None
= None, _alpha_preset_: dict | None
= None, invalidate: bool
= True, recalculate: bool
= True, update_labels: bool
= True):
¶
Sets the metric. This will overwrite the currently set metric in the model. Any underscored parameter may be left set to None in order to load its default value.
Parameters | |
_colordict | None | Color metric preset (parameters, see Metric module) |
_alphadict | None | Alpha metric preset (parameters, see Metric module) |
invalidate:bool | Enable to invalidate this model hierarchy level |
recalculate:bool | Enable to trigger final recalculation |
updatebool | Enable to update metric labels |