Verified Commit 53affc56 authored by SZPYRKA Jean-Luc's avatar SZPYRKA Jean-Luc
Browse files

rename readonly parameters in example (for lisibility)

parent 97ab66bc
Pipeline #131088 passed with stage
in 0 seconds
......@@ -74,7 +74,7 @@
"value": 3.0,
"max": 10.0,
"decimals": 2
},
},
......@@ -86,7 +86,7 @@
"spin_double_ro": {
"type": "dtk::d_real",
"doc": "documentation",
"label": "Spinbox real",
"label": "Spinbox real (Read Only)",
"min": -1.0,
"value": 5.0,
"max": 7.0,
......@@ -95,14 +95,14 @@
"spin_long_ro": {
"type": "dtk::d_int",
"doc": "documentation",
"label": "Spinbox int",
"label": "Spinbox int (Read Only)",
"min": -1.0,
"value": 5.0,
"max": 7.0,
"decimals": 5
},
"combo_box_ro":{
"label": "Input",
"label": "Input (Read Only)",
"doc": "Select a choice in the combo box",
"value": "Choice 1",
"type": "dtk::d_inliststring",
......@@ -113,24 +113,24 @@
]
},
"line_edit_ro":{
"label": "Line edit",
"label": "Line edit (Read Only)",
"doc": "Line edit",
"value": "Can't edit this line, but you can select it!",
"type": "dtk::d_string"
},
"checkbox_ro":{
"label": "Checkbox",
"label": "Checkbox (Read Only)",
"doc": "It's a checkbox",
"value": true,
"type": "dtk::d_bool"
},
"push_button_ro":{
"label": "Button",
"label": "Button (Read Only)",
"doc": "It's a button",
"type": "dtk::d_bool"
},
"file_browse_ro": {
"label": "Open a file",
"label": "Open a file (Read Only)",
"doc": "Open a VTK file.",
"path": ".",
"filters": [
......@@ -144,7 +144,7 @@
"slider_int_ro": {
"type": "dtk::d_int",
"doc": "documentation",
"label": "Slinder int",
"label": "Slinder int (Read Only)",
"min": -10.0,
"value": 0.0,
"max": 10.0
......@@ -152,12 +152,12 @@
"slider_double_ro": {
"type": "dtk::d_real",
"doc": "It's a slider of double",
"label": "Slider double",
"label": "Slider double (Read Only)",
"min": -10.0,
"value": 3.0,
"max": 10.0,
"decimals": 2
},
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment