51 lines
1.2 KiB
XML
51 lines
1.2 KiB
XML
{
|
|
"widgettype":"VBox",
|
|
"id":"channels_show",
|
|
"options":{
|
|
"size_hint_y":1,
|
|
"size_hint_x":0.3
|
|
},
|
|
"subwidgets":[
|
|
{
|
|
"id":"search_key",
|
|
"widgettype":"Form",
|
|
"options":{
|
|
"size_hint_y":null,
|
|
"height":100,
|
|
"notoolbar":true,
|
|
"size_hint_y":null,
|
|
"height":"py::CSize(2.4)",
|
|
"inputwidth":23,
|
|
"labelwidth":0.3,
|
|
"inputheight":2,
|
|
"fields":[
|
|
{
|
|
"name":"search_string",
|
|
"datatype":"str",
|
|
"uitype":"str",
|
|
"label":"搜索",
|
|
"uitype":"str"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id":"search_result",
|
|
"widgettype":"urlwidget",
|
|
"options": {
|
|
"url":"{{entire_url('show_channels.ui')}}"
|
|
}
|
|
}
|
|
],
|
|
"binds":[
|
|
{
|
|
"wid":"search_key.search_string",
|
|
"event":"on_changed",
|
|
"actiontype":"method",
|
|
"datawidget":"search_key",
|
|
"target":"search_result",
|
|
"method":"loadData"
|
|
}
|
|
]
|
|
}
|