pyqt_reactive.widgets.shared.action_tabbed_window_body
Tabbed window body with active-tab action widgets.
Classes
|
One tab plus its optional active-tab action widget. |
|
Render tabs on the left and the active tab's actions on the right. |
- class pyqt_reactive.widgets.shared.action_tabbed_window_body.ActionTabSpec(label: str, content: QWidget, actions: QWidget | None = None)[source]
One tab plus its optional active-tab action widget.
- content: QWidget
- class pyqt_reactive.widgets.shared.action_tabbed_window_body.ActionTabbedWindowBody(*, color_scheme: Any | None = None, width_threshold: int = 600, parent: QWidget | None = None)[source]
Render tabs on the left and the active tab’s actions on the right.
- current_changed
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- __init__(*, color_scheme: Any | None = None, width_threshold: int = 600, parent: QWidget | None = None) → None[source]
- add_tab(spec: ActionTabSpec) → int[source]
Add a tab and its optional action widget.