Widget properties

These properties are common to one or more of the videoDriver Px widgets.
Figure 14.   Example of widget properties
Image
Property Value Description
Visible true (default) or false Hides the widget by selecting the false option and shows it again by selecting the true option.
Enabled true or false Turns the widget on and off.
Layout Uses a three column table. The columns are Value and Units. The rows define X, Y, Width and Height. four options: X, Y, Width Height, each have a Value and Units property Defines the width and height of the widget
 NOTE: Widgets that use absolute layout should be placed on a Canvas pane 

Each Value may be a logical coordinate within the parent object coordinate space or it may be a percent of the parent size. Additionally, width and height may use the keyword “pref” to indicate use of preferred width or height.

For example, “10,5,100,20” “0,0,30%,100%”, and “10%,10%,pref,pref”. Lastly the keyword “fill” may be used as a shortcut for “0,0,100%,100%”, which means fill the parent pane. Fill is the default for the layout property, which makes it easy to define layers and shapes.

Background/Background Color color chooser
Specifies the background fill color.

Solid opens the Color Chooser window.

Gradient opens the Gradient Editor window.

Image opens the Image Brush Editor window. Click the Browse icon (Image) to open the File Chooser, Ord Chooser, or other method of selecting an image file.

Null indicates no color (white).

Border/Ptz Border multiple properties Configure the look of the border. Refer to Border.
Stream Facets chevron to the right used to open the Config Facets window Provides metadata directly to the driver. Although these data are not necessarily required for all drivers, some driver developers might decide that they need more input from the user to provide the camera video feed. If required, then the particular video driver must document the requirements for this property.
Keep Down Interval hours minutes seconds (defaults to one second) Engages the corresponding slot on this periodic basis when a user clicks (holds down) the mouse button.

For example, if set to one (1) second, and the user clicks a dim action, the screen dims for 1 second as long as the user holds the button for at least one second. If the user holds the button for more than 1 second, the screen still dims for one second.

binding, zoomBinding, cameraBinding, panTiltBinding, panTiltZoomBinding multiple properties Refer to Binding properties.

Border

Figure 15.   Border properties
Image
Property Value Description
All sides are the same option box Creates a square.
Each side is different option box Creates an irregular object.
Style drop-down list Defines the line type: solid, dotted, etc.
Width number Defines the width of the rule.
Brush    

Binding properties

Figure 16.   zoomBinding properties
Image
Property Value Description
Ord ORD Specifies the Ord of the camera that you want to bind to the widget.
Degrade behavior drop-down list (defaults to None) Selects what to do if the connection to the bound Ord is lost (due to an invalid Ord or an inadequate permission level).

None leaves the widget appearance unchanged (the widget just does not work).

Disable disables the widget.

Hide hides the widget.