diff --git a/docs/user/widgets/scan_control/hide_scan_control.png b/docs/user/widgets/scan_control/hide_scan_control.png new file mode 100644 index 00000000..930fe1bf Binary files /dev/null and b/docs/user/widgets/scan_control/hide_scan_control.png differ diff --git a/docs/user/widgets/scan_control/scan_control.md b/docs/user/widgets/scan_control/scan_control.md index a11dc9e4..44988016 100644 --- a/docs/user/widgets/scan_control/scan_control.md +++ b/docs/user/widgets/scan_control/scan_control.md @@ -23,11 +23,19 @@ By default, this widget supports scans that are derived from the following base The full procedure how to design `gui_config` for your custom scan class is described in the [Scan GUI Configuration](https://bec.readthedocs.io/en/latest/developer/scans/scan_gui_config.html) tutorial. ``` +## BECDesigner Customization +Within the BECDesigner's [property editor](https://doc.qt.io/qt-6/designer-widget-mode.html#the-property-editor/), the `ScanControl` widget can be customized to suit your application's requirements. The widget provides the following customization options: +- **Hide Scan Control**: Allows you to hide the scan control buttons from the widget interface. This is useful when you want to place the control buttons in a different location. +- **Hide Scan Selection**: Allows you to hide the scan selection combobox from the widget interface. This is useful when you want to restrict the user to a specific scan type or implement a custom scan selection mechanism. + +```{figure} ./hide_scan_control.png +``` + ```` ````{tab} Examples -The `ScanControl` widget can be integrated within a [`BECDockArea`](user.widgets.bec_dock_area) or used as an individual component in your application through `QtDesigner`. Below are examples demonstrating how to create and use the `ScanControl` widget. +The `ScanControl` widget can be integrated within a [`BECDockArea`](user.widgets.bec_dock_area) or used as an individual component in your application through `BECDesigner`. Below are examples demonstrating how to create and use the `ScanControl` widget. ## Example 1 - Adding Scan Control Widget to BECDockArea