Skip to content

Commit

Permalink
sample xc form template
Browse files Browse the repository at this point in the history
  • Loading branch information
atcsecure committed May 19, 2017
1 parent 8e68dd9 commit 3b1d539
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions doc/xcjsontemplate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"windowSize": {
"x": 400,
"y": 500
},
"elements": [
{
"type": "Title",
"text": "test json dialog construct"
},
{
"type": "HBoxLayout",
"elements": [
{
"type": "Label",
"text": "first label",
"bold": true
},
{
"type": "LineEdit",
"text": "hello"
}
]
},
{
"type": "HBoxLayout",
"elements": [
{
"type": "CheckBox",
"text": "first cbox",
"checked": true
},
{
"type": "CheckBox",
"text": "unchecked cbox",
"checked": false
},
{
"type": "CheckBox",
"text": "last cbox",
"checked": true
}
]
},
{
"type": "HBoxLayout",
"elements": [
{
"type": "Label",
"text": "second label"
},
{
"type": "LineEdit",
"text": "world"
}
]
},
{
"type": "HBoxLayout",
"elements": [
{
"type": "Label",
"text": "therd label"
},
{
"type": "LineEdit",
"text": "!!!"
}
]
},
{
"type": "TextEdit",
"text": "some big text some big text some big text some big text some big text"
}
]
}

0 comments on commit 3b1d539

Please sign in to comment.