propertywidget
sgp.ui.widgets.propertywidget.PropertyWidget
Bases: QWidget, QObject
Widget for displaying property items.
sgp.ui.widgets.propertywidget.PropertyWidget.__init__
__init__(name: str, value: float, enabled: bool = None, parent=None, *args, SpinBox: Type[QDoubleSpinBox] = QtWidgets.QDoubleSpinBox, **kwargs)
Initialize the PropertyWidget.
sgp.ui.widgets.propertywidget.PropertyWidget.isEnabled
isEnabled() -> bool
Get whether the PropertyWidget is enabled.
sgp.ui.widgets.propertywidget.PropertyWidget.setOptions
Set the options of the PropertyWidget.
sgp.ui.widgets.propertywidget.PropertyWidget.setValue
setValue(value: float)
Set the value of the PropertyWidget.
sgp.ui.widgets.propertywidget.PropertyWidget.value
value() -> float
Get the value of the PropertyWidget.