class documentation
Field_Widget class.
| Method | __init__ |
Populates the widget. |
| Method | on |
Gets called when the field type changed. |
| Method | reload |
Reloads the widget. |
| Method | set |
Sets the field. This will replace the currently set field in the model. Any underscored parameter may be left set to None in order to load its default value. |
| Method | update |
Updates this widget. |
| Method | update |
Updates the controls. |
| Method | update |
Updates the labels. |
| Class Variable | |
Undocumented |
| Class Variable | |
Undocumented |
| Class Variable | |
Undocumented |
| Class Variable | |
Undocumented |
| Instance Variable | distance |
Undocumented |
| Instance Variable | field |
Undocumented |
| Instance Variable | field |
Undocumented |
| Instance Variable | gui |
Undocumented |
| Instance Variable | total |
Undocumented |
| Instance Variable | total |
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_field(self, _field_type_:
int | None = None, _distance_limit_: float | None = None, invalidate: bool = True, recalculate: bool = True):
¶
Sets the field. This will replace the currently set field in the model. Any underscored parameter may be left set to None in order to load its default value.
| Parameters | |
_fieldint | None | Field type |
_distancefloat | None | Distance limit |
invalidate:bool | Enable to invalidate this model hierarchy level |
recalculate:bool | Enable to trigger final recalculation |