mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-06-07 05:48:40 +02:00
docs: add missing class doc strings for rpc-enabled widgets
This commit is contained in:
@@ -8,6 +8,10 @@ from bec_widgets.utils.colors import get_accent_colors, get_theme_palette
|
||||
|
||||
|
||||
class PositionIndicator(BECWidget, QWidget):
|
||||
"""
|
||||
Display a position within a defined range, e.g. motor limits.
|
||||
"""
|
||||
|
||||
USER_ACCESS = ["set_value", "set_range", "vertical", "indicator_width", "rounded_corners"]
|
||||
PLUGIN = True
|
||||
ICON_NAME = "horizontal_distribute"
|
||||
|
||||
@@ -41,6 +41,10 @@ class ScanControlConfig(ConnectionConfig):
|
||||
|
||||
|
||||
class ScanControl(BECWidget, QWidget):
|
||||
"""
|
||||
Widget to submit new scans to the queue.
|
||||
"""
|
||||
|
||||
PLUGIN = True
|
||||
ICON_NAME = "tune"
|
||||
ARG_BOX_POSITION: int = 2
|
||||
|
||||
Reference in New Issue
Block a user