svghmi/widget_input.ysl2
branchsvghmi
changeset 3241 fe945f1f48b7
parent 3233 315f17e74ef5
child 3523 13282f91e6ff
equal deleted inserted replaced
3238:8a9d4c794cba 3241:fe945f1f48b7
     2 
     2 
     3 widget_desc("Input") {
     3 widget_desc("Input") {
     4     longdesc
     4     longdesc
     5     || 
     5     || 
     6     Input widget takes one variable path, and displays current value in
     6     Input widget takes one variable path, and displays current value in
     7     optional "value" labeled sub-element. Click on optional "edit" labeled
     7     optional "value" labeled sub-element. 
     8     element opens keypad to edit value. Operation on current value is
     8 
     9     performed when click on sub-elements with label starting with '=', '+' 
     9     Click on optional "edit" labeled element opens keypad to edit value.
    10     or '-' sign. Value after sign is used as operand.
    10     
       
    11     Operation on current value is performed when click on sub-elements with
       
    12     label starting with '=', '+' or '-' sign. Value after sign is used as
       
    13     operand.
    11     ||
    14     ||
    12 
    15 
    13     shortdesc > Input field with predefined operation buttons
    16     shortdesc > Input field with predefined operation buttons
    14 
    17 
    15     arg accepts="string" > optional printf-like format 
    18     arg name="format" accepts="string" > optional printf-like format 
    16 
    19 
    17     path accepts="HMI_INT, HMI_REAL, HMI_STRING" > single variable to edit
    20     path name="edit" accepts="HMI_INT, HMI_REAL, HMI_STRING" > single variable to edit
    18     
    21     
    19 }
    22 }
    20 
    23 
    21 widget_class("Input")
    24 widget_class("Input")
    22 ||
    25 ||