UI Components
biopro_sdk.plugin.components
Semantic UI components for BioPro SDK.
Provides pre-styled button and component classes that respect the active theme and maintain visual consistency across all plugins.
BioButton
Bases: QPushButton
Base unified button class.
Variants: 'primary', 'secondary', 'danger'.
Source code in src/biopro_sdk/plugin/components.py
BioCancelButton
Bases: SecondaryButton
Pre-configured action button for cancelling tasks.
Source code in src/biopro_sdk/plugin/components.py
BioCaptionLabel
Bases: QLabel
For educational text or hints.
Source code in src/biopro_sdk/plugin/components.py
BioComboBox
Bases: QComboBox
Standardized combo box.
Source code in src/biopro_sdk/plugin/components.py
BioDoubleSpinBox
Bases: QDoubleSpinBox
Standardized floating point input.
Source code in src/biopro_sdk/plugin/components.py
BioHelpButton
Bases: QPushButton
Small help (?) button that shows a rich popup dialog on click.
Source code in src/biopro_sdk/plugin/components.py
setHelpText(text, title='')
Set the detailed help text and optional title for the popup.
setToolTip(text)
Override to use the click popup instead of the native hover tooltip for backwards compatibility.
BioLineEdit
Bases: QLineEdit
Standardized text input.
Source code in src/biopro_sdk/plugin/components.py
BioListWidget
Bases: QListWidget
Standardized list widget.
Source code in src/biopro_sdk/plugin/components.py
BioRunButton
Bases: PrimaryButton
Pre-configured action button for starting tasks.
Source code in src/biopro_sdk/plugin/components.py
BioScrollArea
Bases: QScrollArea
Standardized scroll area with transparent background.
Source code in src/biopro_sdk/plugin/components.py
BioSpinBox
Bases: QSpinBox
Standardized numeric input.
Source code in src/biopro_sdk/plugin/components.py
BioSplitter
Bases: QSplitter
Standardized splitter.
Source code in src/biopro_sdk/plugin/components.py
BioStatusLabel
Bases: QLabel
Standardized italicized status text.
Source code in src/biopro_sdk/plugin/components.py
BioTableWidget
Bases: QTableWidget
Standardized table widget.
Source code in src/biopro_sdk/plugin/components.py
BioToggleButton
Bases: QPushButton
A button that handles active/inactive state natively.
Source code in src/biopro_sdk/plugin/components.py
DangerButton
Bases: BioButton
Destructive action button for delete/remove operations (backwards compatible).
Source code in src/biopro_sdk/plugin/components.py
HeaderLabel
Bases: QLabel
Standardized H1 header label.
Source code in src/biopro_sdk/plugin/components.py
ModuleCard
Bases: QFrame
Standardized, interactive card for lists and grids.
Source code in src/biopro_sdk/plugin/components.py
PrimaryButton
Bases: BioButton
Primary action button using accent color (backwards compatible).
Source code in src/biopro_sdk/plugin/components.py
SecondaryButton
Bases: BioButton
Secondary/outline button for non-critical actions (backwards compatible).
Source code in src/biopro_sdk/plugin/components.py
SubtitleLabel
Bases: QLabel
Standardized subtitle/secondary header label.
Source code in src/biopro_sdk/plugin/components.py
apply_component_style(widget, component_type)
Helper function to dynamically apply theme CSS without requiring a subclass.