提交 61d23b36 authored 作者: 汪显鹏's avatar 汪显鹏

update

上级 d295572c
......@@ -8,7 +8,7 @@
- 2019-11-18 11:03:56
<img src="Ubains.ui.png" alt="Image text" style="zoom: 67%;" />
<img src="Ubains.ui.png" alt="Image text" style="zoom: 100%;" />
......@@ -31,6 +31,20 @@
| SHOWVIEW | 显示View | BroadcastChangeProperty(FindGUIObject('eee'),'showview',''); |
| | | |
## 方法说明:
ASGIF
```json
{
"action": "start", // start 开始播放 stop 暂停播放
"path": "images\\321.gif", // 播放gif 路径
"repeat": 0, // 重复次数(正整数) 0 无限循环重复 , 1-65535 重复次数
"color": "#000000", //设置gif 背景颜色
"speed": 1.1 //设置播放速度 0原始速度, 0.1-n 倍速
}
```
## 版本计划 :
......@@ -40,15 +54,15 @@
- [x] 标准版 隐藏按钮接口
- [x] 长时间后台运行后,通讯服务断开//增加后台运行
- [ ] pad 在线/离线 触发特定function 更新同步平板按钮状态 中控增加新的接口
- [ ] 需要viewlist功能 自定义大小 自定义行数 自定义数据 返回当前数据 单级别
- [x] 需要viewlist功能 自定义大小 自定义行数 自定义数据 返回当前数据 单级别
- [ ] bar型控件 left to right 定位
- [ ] GIF单次/永久播放
- [ ] 一个加载rtsp
- [x] 一个加载rtsp
- [ ] 一个加载mjpeg / http//..... 4通道
- [ ] text型的控件 可以设置成穿透
- [ ] 上传UI到gviewer 手动复制到images文件夹后的图片加载butten会出错,重新打开gedit软件后上传变正常;
- [ ] 上传UI到gviewer 手动复制到images文件夹后的图片加载button会出错,重新打开gedit软件后上传变正常;
- [ ] 手势触发function 中控增加新的接口
- [ ] 搜索框,发送
- [x] 搜索框,发送
- [ ] 修改Toast 圆角
- [ ] GIF播放问题。 启动播放,手动播放,暂停,循环次数。
- [ ] 动态改变App图标
......
......@@ -67,10 +67,16 @@
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[30, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;New Button&quot;, true]" OnClick="[&quot;setPageShow('\u8f93\u5165\u6846');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[273, 201], true]" Size="[[206, 131], true]" Text="[&quot;\u8f93\u5165\u6846&quot;, true]" UUID="[&quot;4edaa5d1182911eb8db730b49e9ab500&quot;, false]"/>
</GUINODE>
<GUINODE BackGroundImage="[&quot;images\\ImageBackGround.jpg&quot;, true]" Name="[&quot;GIF\u52a8\u753b&quot;, true]" Size="[[1024, 768], true]" UUID="[&quot;98c5ba00f15511e9ae37e4a47127c035&quot;, false]" Z_Depth="[0, true]">
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','{\&quot;action\&quot;:\&quot;start\&quot;,\&quot;path\&quot;:\&quot;images\\\\test1.gif\&quot;,\&quot;repeat\&quot;:0,\&quot;color\&quot;:\&quot;#000000\&quot;,\&quot;speed\&quot;:0}');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[228.0, 498.0], true]" Size="[[138, 55], true]" Text="[&quot;\u66f4\u6362GIF&quot;, true]" UUID="[&quot;08f4dd232ae311ebb7801c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','{\&quot;action\&quot;:\&quot;start\&quot;,\&quot;path\&quot;:\&quot;images\\\\321.gif\&quot;,\&quot;repeat\&quot;:2,\&quot;color\&quot;:\&quot;#000000\&quot;,\&quot;speed\&quot;:0}');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[32.0, 579.1999999999998], true]" Size="[[138, 55], true]" Text="[&quot;\u586b\u5145\u989c\u8272&quot;, true]" UUID="[&quot;170b6b322adf11ebaf1c1c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','{\&quot;action\&quot;:\&quot;start\&quot;,\&quot;path\&quot;:\&quot;images\\\\321.gif\&quot;,\&quot;repeat\&quot;:2,\&quot;color\&quot;:\&quot;#000000\&quot;,\&quot;speed\&quot;:0}');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[224.0, 581.1999999999998], true]" Size="[[138, 55], true]" Text="[&quot;\u900f\u660e\u80cc\u666f&quot;, true]" UUID="[&quot;db2874a02ade11eba3061c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','{\&quot;action\&quot;:\&quot;start\&quot;,\&quot;path\&quot;:\&quot;images\\\\321.gif\&quot;,\&quot;repeat\&quot;:2,\&quot;color\&quot;:\&quot;#000000\&quot;,\&quot;speed\&quot;:0}');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[33.0, 496.5999999999999], true]" Size="[[138, 55], true]" Text="[&quot;\u64ad\u653e2\u6b21GIF&quot;, true]" UUID="[&quot;efbc9c312ad811eb9a851c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','{\&quot;action\&quot;:\&quot;stop\&quot;,\&quot;path\&quot;:\&quot;images\\\\321.gif\&quot;,\&quot;repeat\&quot;:0,\&quot;color\&quot;:\&quot;#000000\&quot;,\&quot;speed\&quot;:0}');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[228.0, 415.5999999999999], true]" Size="[[138, 55], true]" Text="[&quot;\u6682\u505cGiF1&quot;, true]" UUID="[&quot;ef4745202ad811eb86ce1c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','{\&quot;action\&quot;:\&quot;start\&quot;,\&quot;path\&quot;:\&quot;images\\\\321.gif\&quot;,\&quot;repeat\&quot;:0,\&quot;color\&quot;:\&quot;#000000\&quot;,\&quot;speed\&quot;:0}');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[33.0, 412.0], true]" Size="[[138, 55], true]" Text="[&quot;\u5f00\u59cbGiF1&quot;, true]" UUID="[&quot;ed4470402ad811eb95591c1b0d7c67d5&quot;, false]"/>
<IMAGE ImagePic="[&quot;images\\321.gif&quot;, true]" MediaUrl="[&quot;GIF&quot;, true]" Movable="[0, true]" Name="[&quot;imageTwo&quot;, true]" Pos="[[621.0, 80.0], true]" Size="[[314, 272], true]" UUID="[&quot;0fd4a9f02ad811eba9691c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;back&quot;, true]" OnClick="[&quot;setPageShow('\u9996\u9875');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[832, 661], true]" Size="[[169, 87], true]" Text="[&quot;\u8fd4\u56de\u4e3b\u9875&quot;, true]" UUID="[&quot;38cdb331182a11eb808b30b49e9ab500&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','images\\\\test1.gif');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[197.0, 352.0], true]" Size="[[138, 55], true]" Text="[&quot;\u5f00\u59cbGif2&quot;, true]" UUID="[&quot;6dc5df10068611ea8d7c1c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','images\\\\321.gif');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[35.0, 350.0], true]" Size="[[138, 55], true]" Text="[&quot;\u5f00\u59cbGiF1&quot;, true]" UUID="[&quot;37826c23068611eaab171c1b0d7c67d5&quot;, false]"/>
<IMAGE ImagePic="[&quot;images\\321.gif&quot;, true]" MediaUrl="[&quot;&quot;, true]" Movable="[0, true]" Name="[&quot;imageOne&quot;, true]" Pos="[[40, 34], true]" Size="[[314, 272], true]" UUID="[&quot;723b570f068511ea89471c1b0d7c67d5&quot;, false]"/>
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;hhh2&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('imageOne'),'ASGif','images\\\\test1.gif');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[720.0, 407.0], true]" Size="[[138, 55], true]" Text="[&quot;\u5f00\u59cbGif2&quot;, true]" UUID="[&quot;6dc5df10068611ea8d7c1c1b0d7c67d5&quot;, false]"/>
<IMAGE ImagePic="[&quot;images\\321.gif&quot;, true]" MediaUrl="[&quot;GIF&quot;, true]" Movable="[0, true]" Name="[&quot;imageOne&quot;, true]" Pos="[[34, 89], true]" Size="[[314, 272], true]" UUID="[&quot;723b570f068511ea89471c1b0d7c67d5&quot;, false]"/>
</GUINODE>
<GUINODE BackGroundImage="[&quot;images\\ImageBackGround.jpg&quot;, true]" Name="[&quot;\u8f93\u5165\u6846&quot;, true]" Size="[[1024, 768], true]" UUID="[&quot;bfc4d0b0182711eb892930b49e9ab500&quot;, false]" Z_Depth="[0, true]">
<IMAGEBUTTON Align="[0, true]" ButtonDownImage="[&quot;images\\ImageOnStates.png&quot;, true]" ButtonRepeatTime="[0, true]" ClickKeepCommandName="[&quot;&quot;, true]" ClickKeepCommandType="[0, true]" ClickUpCommandName="[&quot;&quot;, true]" ClickUpCommandType="[0, true]" CommandName="[&quot;&quot;, true]" CommandType="[1, true]" Font="[&quot;fonts\\simhei.ttf&quot;, true]" FontColor="[[0, 0, 0], true]" FontSize="[16, true]" ImagePic="[&quot;images\\ImageOffStates.png&quot;, true]" Movable="[0, true]" Name="[&quot;searchButton&quot;, true]" OnClick="[&quot;BroadcastChangeProperty(FindGUIObject('inputbox1'),'showInput', '');&quot;, true]" OnClickKeep="[&quot;&quot;, true]" OnClickKeepRemote="[&quot;&quot;, true]" OnClickRemote="[&quot;&quot;, true]" OnClickUp="[&quot;&quot;, true]" OnClickUpRemote="[&quot;&quot;, true]" Pos="[[494, 408], true]" Size="[[157, 55], true]" Text="[&quot;\u663e\u793a\u8f93\u5165\u6cd5&quot;, true]" UUID="[&quot;7785340218ce11eb8b8c1c1b0d7c67d5&quot;, false]"/>
......
No preview for this file type
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论