mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 11:41:49 +02:00
docs(scan_control): added designer options
This commit is contained in:
BIN
docs/user/widgets/scan_control/hide_scan_control.png
Normal file
BIN
docs/user/widgets/scan_control/hide_scan_control.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
@ -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.
|
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
|
````{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
|
## Example 1 - Adding Scan Control Widget to BECDockArea
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user