ComboBox¶
-
class
pyqtgraph.
ComboBox
(parent=None, items=None, default=None)[source]¶ Extends QComboBox to add extra functionality.
- Handles dict mappings – user selects a text key, and the ComboBox indicates the selected value.
- Requires item strings to be unique
- Remembers selected value if list is cleared and subsequently repopulated
- setItems() replaces the items in the ComboBox and blocks signals if the value ultimately does not change.