mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Ensemble: Run: Add function combobox and seed spin box.
This commit is contained in:
1 parent
345f24996f
commit
3325ba935b
3 files changed
+80
-20
No files matched your search
@@ -390,6 +390,19 @@ class ASubWindowFeatures(object):
|
||||
"""
|
||||
return self.find(QSpinBox, name).value()
|
||||
|
||||
|
||||
def set_spin_box_enable(self, name: str, value: bool):
|
||||
"""Set status of spinbox component
|
||||
|
||||
Args:
|
||||
name: The spinbox component name
|
||||
value: The boolean value
|
||||
|
||||
Returns:
|
||||
Nothing
|
||||
"""
|
||||
self.find(QSpinBox, name).setEnabled(value)
|
||||
|
||||
def set_double_spin_box(self, name: str, value: int):
|
||||
"""Set value of spinbox component
|
||||
|
||||
|
||||
Reference in new issue
Block a user