RWESharp.Configurable.QtTypes.EnumConfigurable¶
- class RWESharp.Configurable.QtTypes.EnumConfigurable(mod, name, default: Enum, enumtouse, description='')[source]¶
Bases:
Configurable- Parameters:
default (Enum)
- __init__(mod, name, default: Enum, enumtouse, description='')[source]¶
Abstract object for creating custom config parameters and storing them :param mod: mod to link configurable :param name: name of object. should not contain spaces or any special characters :param default: default value of variable :param description: description in config menu
- Parameters:
default (Enum)
Methods
__init__(mod, name, default, enumtouse[, ...])Abstract object for creating custom config parameters and storing them :param mod: mod to link configurable :param name: name of object.
blockSignals(object, /)childEvent(object, /)children()connectNotify(object, /)customEvent(object, /)disconnectNotify(object, /)event(object, /)inherits(object, /)installEventFilter(object, /)isSignalConnected(object, /)killTimer(object, /)link_combobox(combobox)Links combobox with configurable Just make sure your enum starts with 0 :param combobox: Combobox to link
link_mod(mod)load_str_value(text)moveToThread(object, /)parent()property(object, /)receivers(object, /)removeEventFilter(object, /)sender()setObjectName(object, /)setParent(object, /)thread()timerEvent(object, /)update_value(value)update_value_default(value)Attributes
Activated when value is changed
- link_combobox(combobox: QComboBox)[source]¶
Links combobox with configurable Just make sure your enum starts with 0 :param combobox: Combobox to link
- Parameters:
combobox (QComboBox)
- blockSignals(object, /)¶
- childEvent(object, /)¶
- children()¶
- static connect()¶
- connectNotify(object, /)¶
- customEvent(object, /)¶
- deleteLater()¶
- destroyed¶
- static disconnect()¶
- disconnectNotify(object, /)¶
- dumpObjectInfo()¶
- dumpObjectTree()¶
- dynamicPropertyNames()¶
- emit()¶
- event(object, /)¶
- eventFilter()¶
- findChild()¶
- findChildren()¶
- inherits(object, /)¶
- installEventFilter(object, /)¶
- isQuickItemType()¶
- isSignalConnected(object, /)¶
- isWidgetType()¶
- isWindowType()¶
- killTimer(object, /)¶
- link_mod(mod)¶
- metaObject()¶
- moveToThread(object, /)¶
- objectName()¶
- objectNameChanged¶
- parent()¶
- property(object, /)¶
- receivers(object, /)¶
- removeEventFilter(object, /)¶
- reset_value()¶
- sender()¶
- senderSignalIndex()¶
- setObjectName(object, /)¶
- setParent(object, /)¶
- setProperty()¶
- signalsBlocked()¶
- startTimer()¶
- staticMetaObject = PySide6.QtCore.QMetaObject("EnumConfigurable" inherits "Configurable": Methods: #4 type=Signal, signature=valueChanged(PyObject), parameters=PyObject #5 type=Signal, signature=valueChanged(int), parameters=int #6 type=Slot, signature=update_value(int), parameters=int #7 type=Slot, signature=update_value(PyObject), parameters=PyObject )¶
- thread()¶
- timerEvent(object, /)¶
- classmethod tr()¶
- update_value_default(value: ...)¶
- Parameters:
value (...)