华荣三照明、合信、荣欣八组合馈电
This commit is contained in:
18
Doc/SVN 内网与外网访问切换.txt
Normal file
18
Doc/SVN 内网与外网访问切换.txt
Normal file
@ -0,0 +1,18 @@
|
||||
SVN地址重定义一下, 方便远程访问
|
||||
|
||||
右键对应的目录, 选择TortoiseSVN->Relocate...
|
||||
|
||||
https://zhizhancreate:8443/svn/MenuPython 改成 http://zhizhancreate:8443/svn/MenuPython
|
||||
公司内部使用(需要重新输入用户名与密码)
|
||||
|
||||
|
||||
https://zhizhancreate:8443/svn/MenuPython 改成 http://24a9e25d.r28.cpolar.top/svn/MenuPython
|
||||
外网使用(需要重新输入用户名与密码)
|
||||
|
||||
其中 http://24a9e25d.r28.cpolar.top 每隔不定时间 可能会发送变化,
|
||||
|
||||
linux 端软件无法解析win下域名,故直接使用 (QT界面单用) http://192.168.1.229:8443/svn/MenuPython_QT
|
||||
|
||||
|
||||
|
||||
|
||||
47
Doc/statusTip状态描述.txt
Normal file
47
Doc/statusTip状态描述.txt
Normal file
@ -0,0 +1,47 @@
|
||||
statusTip()属性描述, 多个属性之间用','分隔
|
||||
|
||||
现在每个控件可以设置缺省styleSheet, 选中后可以独立处理, 解除选中后可恢复缺省值
|
||||
|
||||
password (QLineEdit, 所有交互控件) 使得属性在编辑前会经过密码提示
|
||||
|
||||
circuit=%d (QPushButton, QLabel, QLineEdit, 所有容器) 指定本对象属于哪一个回路, 如果本对象未指定回路, 本对象会继承父节点的回路, 直到最顶层父节点
|
||||
|
||||
main=%d (QPushButton, QLabel, QLineEdit, 所有容器) 指定本对象的主索引, 主索引为%d指定的值, 如果本对象未指定主索引, 本对象会继承父节点的主索引, 直到最顶层父节点
|
||||
|
||||
Alias=%s (QLabel, QLineEdit) 指定本对象需要采用别名方式显示或修改, %s为别名字符串
|
||||
|
||||
Format=%s (QQLabel, QLineEdit) 用来指定被对象刷新时的数据格式, 小数位数, 与菜单配置的Format相同格式
|
||||
%s=%05.2f 显示5位字符, 2位小数
|
||||
|
||||
Caption=%s (QLabel, QLineEdit) 参数修改时显示的描述信息%s
|
||||
|
||||
Timeout=%d (QLabel, QLineEdit) 指定本对象(%d)ms时间未刷新后, 页面显示Timeout
|
||||
|
||||
page=%d (QMainWindow) 用来指定页面编号, 编号为%d指定,
|
||||
|
||||
canvas%d=camera%d (QLabel) 用来指定QLabel的画布编号%d(前一个), 绑定到摄像头编号%d(后一个), 用于显示绑定的视频流
|
||||
|
||||
Index=%d (QLabel, QPushButton, QLineEdit) 表示该项可通过菜单选中并执行功能, 选中先后顺序按比较索引排序 (主索引 * 64 + %d)。
|
||||
|
||||
mqtt=Ia (QLabel, QPushButton, QLineEdit) 与菜单配置文件的Ia进行绑定, 或者statusTip的第一项不写mqtt=, 直接写Ia
|
||||
|
||||
SetCircuit=0 (QLabel) 用来指定QLabel的画布编号%d(前一个), 绑定到摄像头编号%d(后一个), 用于显示绑定的视频流
|
||||
|
||||
|
||||
ImageBackGround=%s (QLabel, QPushButton) 背景图片装载 %s为图片文件名字
|
||||
|
||||
SelectImag=%s (QLabel, QPushButton, QLineEdit) 表示菜单项选中时, 显示%s指定的图片文件
|
||||
SelectIcon=%s (QPushButton) 表示按钮控件, 菜单项选中时, 显示%s指定的图标文件
|
||||
ImageValue=%s_%d.%s (QLabel, QPushButton) 第一个%s为文件名前导, 第二个%s为图片文件后缀, %d为显示值。
|
||||
需要与mqtt绑定, 当mqtt传入对应的值后之后, 通过(通过%d)来选择不同图片文件 来显示闯入的值值
|
||||
例子
|
||||
mqtt=OnStatus, ImageValue=help_%d.png
|
||||
当OnStatus传入值为1时, 显示 help_1.png图片, 传入值为2时, 显示help_2.png图片, 用图片来代替数字显示
|
||||
|
||||
Action处理,目前支持以下几种预先定义的Action, 可通过'_'扩展与组合
|
||||
|
||||
Action=SetMain%d (QPushButton) 按下按键后, 页面选中对应主索引的第一项菜单
|
||||
Action=SetPage%d (QPushButton) 按下按键后, 页面切换到页面编号%d (其中页面编号通过page=%d提前指定)
|
||||
Action=canvas%d_camera%d (QPushButton) 按下按键后, 把画布ID(第一个%d)与摄像头ID(第二个%d)进行绑定
|
||||
Action=Modify (QPushButton, QLineEdit, QLabel) 修改选中对象的参数, 必须包含(mqtt, Alias或Format之1), 与保护器参数绑定
|
||||
Action=CmdExecute (QPushButton, QLabel) 发出通讯命令 必须与(mqtt)共同使用
|
||||
Reference in New Issue
Block a user