spyder.api.widgets.comboboxes#

Spyder combobox widgets.

Use these widgets for any combobox you want to add to Spyder.

Classes

SpyderComboBox([parent, items_elide_mode])

Default combobox widget for Spyder.

SpyderComboBoxWithIcons([parent, ...])

"Combobox widget for Spyder when its items have icons.

SpyderFontComboBox([parent])

class spyder.api.widgets.comboboxes.SpyderComboBox(parent=None, items_elide_mode=None)[source]#

Bases: _SpyderComboBoxMixin, QComboBox

Default combobox widget for Spyder.

showEvent(event)[source]#

Adjustments when the widget is shown.

showPopup()[source]#

Adjustments when the popup is shown.

hidePopup()[source]#

Adjustments when the popup is hidden.

class spyder.api.widgets.comboboxes.SpyderComboBoxWithIcons(parent=None, items_elide_mode=None)[source]#

Bases: SpyderComboBox

“Combobox widget for Spyder when its items have icons.

class spyder.api.widgets.comboboxes.SpyderFontComboBox(parent=None)[source]#

Bases: _SpyderComboBoxMixin, QFontComboBox

showPopup()[source]#

Adjustments when the popup is shown.

hidePopup(self)[source]#