329 lines
14 KiB
JSON
329 lines
14 KiB
JSON
{
|
|
"compoents": [
|
|
{
|
|
"-class": "NewLayout",
|
|
"-name": "progressbar_1",
|
|
"-type": "NewLayout",
|
|
"caption": "progressbar",
|
|
"icon": "../../../UITools/control/ex/progressbar.png",
|
|
"layout": [
|
|
{
|
|
"-class": "NewFrame",
|
|
"-name": "bar",
|
|
"-type": "ImageList",
|
|
"caption": "progressbar_highlight",
|
|
"icon": "config/images/page_white_vector.png",
|
|
"property": [
|
|
{
|
|
"-name": "id",
|
|
"-type": "id",
|
|
"caption": "ID号",
|
|
"ename": "BaseForm_14",
|
|
"id": 0
|
|
},
|
|
{
|
|
"-name": "element_css",
|
|
"-type": "struct",
|
|
"caption": "CSS元素",
|
|
"info": "",
|
|
"struct": [
|
|
[
|
|
{
|
|
"-name": "hori_align",
|
|
"-type": "enum",
|
|
"caption": "水平对齐方式",
|
|
"default": "HORI_ALIGN_CENTER",
|
|
"enum": [
|
|
{
|
|
"HORI_ALIGN_LEFT": 0
|
|
},
|
|
{
|
|
"HORI_ALIGN_CENTER": 1
|
|
},
|
|
{
|
|
"HORI_ALIGN_RIGHT": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "vert_align",
|
|
"-type": "enum",
|
|
"caption": "垂直对齐方式",
|
|
"default": "VERT_ALIGN_CENTER",
|
|
"enum": [
|
|
{
|
|
"VERT_ALIGN_TOP": 0
|
|
},
|
|
{
|
|
"VERT_ALIGN_CENTER": 1
|
|
},
|
|
{
|
|
"VERT_ALIGN_BOTTOM": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "invisible",
|
|
"-type": "enum",
|
|
"caption": "默认隐藏",
|
|
"default": "false",
|
|
"enum": [
|
|
{
|
|
"true": 1
|
|
},
|
|
{
|
|
"false": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "flags",
|
|
"-type": "enum",
|
|
"caption": "标志",
|
|
"default": "ELM_FLAG_NORMAL",
|
|
"enum": [
|
|
{
|
|
"ELM_FLAG_NORMAL": 0
|
|
},
|
|
{
|
|
"ELM_FLAG_HEAD": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "background_color",
|
|
"-type": "background-color",
|
|
"background-color": "",
|
|
"caption": "背景颜色"
|
|
},
|
|
{
|
|
"-name": "rect",
|
|
"-type": "rect",
|
|
"caption": "坐标",
|
|
"rect": {
|
|
"height": 454,
|
|
"width": 454,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"-name": "border",
|
|
"-type": "border",
|
|
"border": {
|
|
"bottom": 0,
|
|
"left": 0,
|
|
"right": 0,
|
|
"top": 0
|
|
},
|
|
"caption": "边框",
|
|
"gray-color": 0
|
|
},
|
|
{
|
|
"-name": "background_image",
|
|
"-type": "background-image",
|
|
"background-image": "",
|
|
"caption": "背景图片",
|
|
"image-type": ""
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"-name": "cent_x",
|
|
"-type": "int16",
|
|
"caption": "圆心: X",
|
|
"default": 226,
|
|
"max": 32768,
|
|
"min": 0
|
|
},
|
|
{
|
|
"-name": "cent_y",
|
|
"-type": "int16",
|
|
"caption": "圆心: Y",
|
|
"default": 227,
|
|
"max": 32768,
|
|
"min": 0
|
|
},
|
|
{
|
|
"-name": "radius1",
|
|
"-type": "int16",
|
|
"caption": "大圆半径: R1",
|
|
"default": 226,
|
|
"max": 32768,
|
|
"min": 0
|
|
},
|
|
{
|
|
"-name": "radius0",
|
|
"-type": "int16",
|
|
"caption": "小圆半径: R0",
|
|
"default": 208,
|
|
"max": 32768,
|
|
"min": 0
|
|
},
|
|
{
|
|
"-name": "angle_begin",
|
|
"-type": "int16",
|
|
"caption": "起始角度: begin",
|
|
"default": 0,
|
|
"max": 32768,
|
|
"min": 0
|
|
},
|
|
{
|
|
"-name": "angle_end",
|
|
"-type": "int16",
|
|
"caption": "结束角度: end",
|
|
"default": 360,
|
|
"max": 32768,
|
|
"min": 0
|
|
},
|
|
{
|
|
"-name": "normal_image",
|
|
"-type": "piclist",
|
|
"caption": "图片列表",
|
|
"default": "",
|
|
"list": [],
|
|
"maxlength": 30
|
|
},
|
|
{
|
|
"-name": "color",
|
|
"-type": "color",
|
|
"caption": "圆环颜色",
|
|
"color": "#DC38F4"
|
|
}
|
|
],
|
|
"tip": "",
|
|
"version": "1",
|
|
"widget": []
|
|
}
|
|
],
|
|
"property": [
|
|
{
|
|
"-name": "id",
|
|
"-type": "id",
|
|
"caption": "ID号",
|
|
"ename": "BaseForm_13",
|
|
"id": 0
|
|
},
|
|
{
|
|
"-name": "element_css",
|
|
"-type": "struct",
|
|
"caption": "CSS元素",
|
|
"info": "",
|
|
"struct": [
|
|
[
|
|
{
|
|
"-name": "hori_align",
|
|
"-type": "enum",
|
|
"caption": "水平对齐方式",
|
|
"default": "HORI_ALIGN_CENTER",
|
|
"enum": [
|
|
{
|
|
"HORI_ALIGN_LEFT": 0
|
|
},
|
|
{
|
|
"HORI_ALIGN_CENTER": 1
|
|
},
|
|
{
|
|
"HORI_ALIGN_RIGHT": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "vert_align",
|
|
"-type": "enum",
|
|
"caption": "垂直对齐方式",
|
|
"default": "VERT_ALIGN_CENTER",
|
|
"enum": [
|
|
{
|
|
"VERT_ALIGN_TOP": 0
|
|
},
|
|
{
|
|
"VERT_ALIGN_CENTER": 1
|
|
},
|
|
{
|
|
"VERT_ALIGN_BOTTOM": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "invisible",
|
|
"-type": "enum",
|
|
"caption": "默认隐藏",
|
|
"default": "false",
|
|
"enum": [
|
|
{
|
|
"true": 1
|
|
},
|
|
{
|
|
"false": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "flags",
|
|
"-type": "enum",
|
|
"caption": "标志",
|
|
"default": "ELM_FLAG_NORMAL",
|
|
"enum": [
|
|
{
|
|
"ELM_FLAG_NORMAL": 0
|
|
},
|
|
{
|
|
"ELM_FLAG_HEAD": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"-name": "background_color",
|
|
"-type": "background-color",
|
|
"background-color": "#ACC1AC",
|
|
"caption": "背景颜色"
|
|
},
|
|
{
|
|
"-name": "rect",
|
|
"-type": "rect",
|
|
"caption": "坐标",
|
|
"rect": {
|
|
"height": 454,
|
|
"width": 454,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"-name": "border",
|
|
"-type": "border",
|
|
"border": {
|
|
"bottom": 0,
|
|
"left": 0,
|
|
"right": 0,
|
|
"top": 0
|
|
},
|
|
"caption": "边框",
|
|
"gray-color": 0
|
|
},
|
|
{
|
|
"-name": "background_image",
|
|
"-type": "background-image",
|
|
"background-image": "config/ctrl_pic/progress/sleep.bmp",
|
|
"caption": "背景图片",
|
|
"image-type": "RGB565"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"-name": "source",
|
|
"-type": "text-str",
|
|
"caption": "数据源",
|
|
"default": "none",
|
|
"maxlength": 8
|
|
}
|
|
],
|
|
"tip": "",
|
|
"version": "1",
|
|
"widget": []
|
|
}
|
|
]
|
|
} |