RWESharp.Configurable.PythonTypes.IntConfigurable¶
- class RWESharp.Configurable.PythonTypes.IntConfigurable(mod, name: str, default: int = 0, description: str = '')[source]¶
Bases:
Configurable- __init__(mod, name: str, default: int = 0, description: str = '')[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
Methods
__init__(mod, name[, default, description])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 :param combobox: Combobox to link
link_mod(mod)link_radio(buttons)Links list of radio buttons to Configurable
link_slider(slider[, releaseonly])Links slider to Configurable :param slider: slider :param releaseonly: should configurable update only when slider is released :return: None
link_slider_spinbox(slider, spinbox[, ...])Links both slider and spinbox to a Configurable :param slider: slider to link :param spinbox: spinbox to link :param releaseonly: should configurable update only when slider/spinbox is released
link_spinbox(spin[, releaseonly])Links spin box to Configurable :param spin: Spinbox :param releaseonly: should configurable update only when spinbox is released :return: None
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
- radiolist: list[QRadioButton]¶
- link_radio(buttons: list[QRadioButton]) None[source]¶
Links list of radio buttons to Configurable
Configurable value becomes index of pressed radio button
radio buttons will also be synced to current value :param buttons: Buttons to press :return: None
- Parameters:
buttons (list[QRadioButton])
- Return type:
None
- link_slider(slider: QSlider, releaseonly=False) None[source]¶
Links slider to Configurable :param slider: slider :param releaseonly: should configurable update only when slider is released :return: None
- Parameters:
slider (QSlider)
- Return type:
None
- link_spinbox(spin: QSpinBox, releaseonly=False) None[source]¶
Links spin box to Configurable :param spin: Spinbox :param releaseonly: should configurable update only when spinbox is released :return: None
- Parameters:
spin (QSpinBox)
- Return type:
None
- link_slider_spinbox(slider: QSlider, spinbox: QSpinBox, releaseonly=False) None[source]¶
Links both slider and spinbox to a Configurable :param slider: slider to link :param spinbox: spinbox to link :param releaseonly: should configurable update only when slider/spinbox is released
- link_combobox(combobox: QComboBox) None[source]¶
Links combobox with configurable :param combobox: Combobox to link
- Parameters:
combobox (QComboBox)
- Return type:
None
- 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("IntConfigurable" inherits "Configurable": Methods: #4 type=Signal, signature=valueChanged(int), parameters=int #5 type=Slot, signature=update_value() #6 type=Slot, signature=update_value(int), parameters=int )¶
- thread()¶
- timerEvent(object, /)¶
- classmethod tr()¶
- update_value_default(value: ...)¶
- Parameters:
value (...)