sknrf.widget.propertybrowser.view.base module

sknrf.widget.propertybrowser.view.base.enum_mapping(enum)

Maps from 0-based enum indices to the actual enum values

sknrf.widget.propertybrowser.view.base.flag_mapping(flag)

Maps from 0-based flag indices to the actual flag values

class sknrf.widget.propertybrowser.view.base.PropertyBrowserMixIn(parent=None, display=DISPLAY.READ)

Bases: object

Property Browser Widget for rendering/editing the public properties of an object.

Keyword Args:

parent (QWidget): Parent GUI container display (DISPLAY): display configuration

Data Type Property Manager (Renderer) Property Factory (Editor)
bool QtBoolPropertyManager QtCheckBoxFactory
int QtIntPropertyManager QtSpinBoxFactory
float QtDoublePropertyManager QtDoubleSpinBoxFactory
complex QtComplexPropertyManager QtComplexEditFactory
str QtStringPropertyManager QtLineEditFactory
enum QtEnumPropertyManager QtEnumEditorFactory
flag QtFlagPropertyManager
file QtFilePathManager QtFileEditorFactory
tb_file QtFilePathManager QtFileEditorFactory
tb_array QtComplexPropertyManager QtComplexEditFactory
array QtComplexArrayPropertyManager QtArrayEditFactory
nsignal QtComplexArrayPropertyManager QtArrayEditFactory
SignalArray QtComplexArrayPropertyManager QtEquationEditFactory
group QtGroupPropertyManager
connect_signals(slot_set_value=None, slot_set_range=None, slot_set_pk_avg=None, slot_set_check=None)
disconnect_signals()
setFactoryForManager(id_)
property display
model()
set_model(model, info=None, expanded=False)
clear()
add_property(name, value, info=<sknrf.utilities.numeric.Info object>, parent=None)
value(property_)
set_value(property_, value)
slot_set_value(property_, value, model=None)
slot_set_range(property_, min_, max_, model=None)
slot_set_pk_avg(property_, pk_avg, model=None)
slot_set_check(property_, check, model=None)
render()
set_update(func, **kwargs)
class sknrf.widget.propertybrowser.view.base.TreePropertyBrowser(parent=None, display=DISPLAY.READ)

Bases: PropertyBrowserMixIn, QtTreePropertyBrowser

staticMetaObject = PySide6.QtCore.QMetaObject("TreePropertyBrowser" inherits "QtTreePropertyBrowser": )
class sknrf.widget.propertybrowser.view.base.BoxPropertyBrowser(parent=None, display=DISPLAY.READ)

Bases: PropertyBrowserMixIn, QtGroupBoxPropertyBrowser

setExpanded(browser_item, expanded)
staticMetaObject = PySide6.QtCore.QMetaObject("BoxPropertyBrowser" inherits "QtGroupBoxPropertyBrowser": )
class sknrf.widget.propertybrowser.view.base.ButtonPropertyBrowser(parent=None, display=DISPLAY.READ)

Bases: PropertyBrowserMixIn, QtButtonPropertyBrowser

staticMetaObject = PySide6.QtCore.QMetaObject("ButtonPropertyBrowser" inherits "QtButtonPropertyBrowser": )
class sknrf.widget.propertybrowser.view.base.PropertyScrollArea(parent=None, display=DISPLAY.READ, browser_type=BrowserType.TREE)

Bases: QScrollArea

staticMetaObject = PySide6.QtCore.QMetaObject("PropertyScrollArea" inherits "QScrollArea": )