diff -r 770c613c424f -r bb1eff4091ab exemples/svghmi_references/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/exemples/svghmi_references/svghmi_0@svghmi/svghmi.svg Wed Sep 28 09:19:07 2022 +0200 @@ -0,0 +1,1236 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + Switch widget + + + + + + Home + + + + + Swith + + + + + Buttons + + + + declaration of "position" HMI local variable + + + + + Show popup 1 + + + + Show popup 2 + + + + + + + + + Togglebutton + + + + + + + + + Button + + + + + + + + + PushButton + + + + + + + Notes: - Widget roles are described in objects labels.- Press Ctrl+O to open object properties panel- To see objects in a tree, select Object->Objects in menu- Inkscape's "objects" are SVG elements- Press Ctrl+X to edit SVG elements directly with XML editor + + + + + Page + + + + final position in page + offset positionfor "B" + offset positionfor "C" + HMI:Switch@... (group) |-. "A" (group) | |- reference (rect) | |- ... |-. "B" (group) | |- frame (rect) | |- ... |-. "C" (group) | |- frame (rect) | |- ... + Some widgets like Switch or Button are displaying one of many groups that represent the possible states of the widget.Since all groups need to appear in the same place, they overlap and the drawing becomes hard to understand and maintain.Using specially labelled "reference" and "frame" rectangles, groups can be spread out. + reference + frame + frame + + + + + + + + + Close + + + A MODAL DIALOG + + + + + + + + + + Close + + + A MODAL DIALOGwith widgets + + + + 0 + + + + 1 + + + + 2 + + + + 3 + + 0 + position + + + + + + + + + + + declaration of user_level HMI local variable(not a PLC variable) + + + declaration of "range" HMI local variable + + + declaration of "size" HMI local variable + + Button widgets + + declaration of "position" HMI local variable + +