Slider
This widget represents a slider in the Frontend that can be used to adjust the value of a connected parameter of your MERLIC Vision App.
Style
X, Y:
Adjust the position of the widget by typing the desired coordinate values of the upper left corner into the input field.
Z-Order:
Adjust the z-order of the widget by typing the desired value into the input field. This defines which widget is displayed on top if several widgets are positioned at the same place, for example, if widget "A" has "Z-Order" "0" and widget "B" has "Z-Order" "1", widget "B" will be displayed on top of widget "A".
Width:
Adjust the width of the widget. The width is defined in pixels and set to 240 by default. To change the value, type the new width into the input field. It must be at least 40 and not be bigger than 2147483647.
Height:
Adjust the height of the widget. The height is defined in pixels and set to 28 by default. To change the value, type the new height into the input field. It must be at least 20 and not be bigger than 2147483647.
Background Color:
Adjust the background color of the widget. To change the color, click into the color field and select a new color in the color selection dialog or enter the color code manually.
Handle Color:
Adjust the color of the button handle. To change the color, click into the color field and select a new color in the color selection dialog or enter the color code manually.
Data
If you create a tool group in your MVApp, make sure to connect your tool parameters and results in the Frontend Designer before grouping. For more information, see Connecting to Tools in a Group in Adjusting Your Widgets.
Connected Tool:
Connect to a tool from your MERLIC Vision App by selecting the desired tool from the drop-down menu. You can only select tools that are used in your MERLIC Vision App. At the property Connected Parameter you may then select the parameter whose value you want to adjust with the slider.
Connected Parameter:
Select the parameter of the connected tool whose value you want to adjust from the drop-down menu. The list shows only the parameters of the tool that is selected in the property "Connected Tool". Therefore, you have to make sure that the widget is connected to a tool before selecting a parameter.
Application Example
This widget is used in the following MERLIC Vision App examples:
- check_bent_leads.mvapp
- classify_and_inspect_wood.mvapp
- evaluate_ecc_200_print_quality.mvapp
