spyder.api.widgets.status#
Status bar widgets.
Classes
|
Base class for status bar widgets that update based on timers. |
|
Base class for status bar widgets. |
- class spyder.api.widgets.status.StatusBarWidget(parent=None, show_icon=True, show_label=True, show_spinner=False)[source]#
Bases:
QWidget,SpyderWidgetMixinBase class for status bar widgets.
These widgets consist by default of an icon, a label and a spinner, which are organized from left to right on that order.
You can also add any other QWidget to this layout by setting the CUSTOM_WIDGET_CLASS class attribute. It’ll be put between the label and the spinner.
- ID = None#
Unique string widget identifier.
- CUSTOM_WIDGET_CLASS = None#
Custom widget class to add to the default layout.
- INTERACT_ON_CLICK = False#
Whether the user can interact with widget when clicked (e.g. to show a menu)
- sig_clicked#
This signal is emmitted when the widget is clicked.
- class spyder.api.widgets.status.BaseTimerStatus(parent=None)[source]#
Bases:
StatusBarWidgetBase class for status bar widgets that update based on timers.