Implements a dropdown menu. More...
Public Member Functions | |
| def | __init__ (self, InputDescription inputDescription, dynamic=False) |
| def | read (self) |
| def | selectionChanged (self) |
| Should be reimplemented to emit a signal. More... | |
| def | currentIndex (self) |
| def | clear (self) |
Public Member Functions inherited from GUI.ParameterForms.inputWidgetInterfaces.selectionWidgetInterface | |
| def | __init__ (self, parent=None) |
Public Member Functions inherited from GUI.ParameterForms.inputWidgetInterfaces.inputWidgetInterface | |
| dict | read () |
| subclasses need to reimplement this method and return a dict containing strings as keys. More... | |
| dict | clear () |
| Clears user input and resets widget. | |
Public Attributes | |
| inputDescription | |
| comboBox | |
Static Public Attributes | |
| selectionChangedSignal = Signal(int) | |
Implements a dropdown menu.
| inputDescription.options | list of strings providing the options for the dropdown. |
| dynamic | Sets "--Select item--" first option. This is used by |
| def GUI.ParameterForms.simpleInputWidgets.SimpleDropdown.selectionChanged | ( | self | ) |
Should be reimplemented to emit a signal.
Reimplemented from GUI.ParameterForms.inputWidgetInterfaces.selectionWidgetInterface.