frmInstrumentationClass 0 0 850 530 0 0 850 530 850 530 仪器仪表 background-color: #bcc2bc; 1 2 2 2 Qt::Vertical QSizePolicy::Fixed 20 50 15 1 2 2 0 0 QTableWidget { background-color: #b7c7a7; border:none; gridline-color: rgba(220, 220, 255,255); color: rgba(20, 20, 20,200); } QTableWidget::item::selected { background-color: rgba(180, 180, 215,255); } QScrollBar:vertical{ background:#FFFFF2; padding-top:20px; padding-bottom:20px; padding-left:2px; padding-right:2px; border-left:1px solid #d7d7d7;} QScrollBar::handle:vertical{ background:#dbdbdb; border-radius:6px; min-height:20px;} QScrollBar::handle:vertical:hover{ background:#d0d0d0;} QScrollBar::add-line:vertical{ background:url(:/res/ico/down.png) center no-repeat;} QScrollBar::sub-line:vertical{ background:url(:/res/ico/up.png) center no-repeat;} QScrollBar:horizontal{ background:#FFFFF2; padding-top:20px; padding-bottom:20px; padding-left:2px; padding-right:2px; border-left:1px solid #d7d7d7;} QScrollBar::handle:horizontal{ background:#dbdbdb; border-radius:6px; min-height:20px;} QScrollBar::handle:horizontal:hover{ background:#d0d0d0;} QScrollBar::add-line:horizontal{ background:url(:/res/ico/right.png) center no-repeat;} QScrollBar::sub-line:horizontal{ background:url(:/res/ico/left.png) center no-repeat;} Qt::DashLine 256 仪器通讯列表 微软雅黑 10 2 border: 1px solid gray; QFrame::StyledPanel QFrame::Raised 0 3 3 3 3 Qt::Horizontal 40 20 90 37 微软雅黑 10 QWidget{ background-color: rgba(9, 42, 47, 200);} QWidget{ color: rgb(235, 235, 235);} QWidget{ border: 2px groove gray;border-radius: 5px;padding: 2px 4px;} QPushButton:hover{ background-color: rgb(9, 62, 52);} QPushButton:pressed{background-color: rgb(9, 82, 72);} 连接仪器 Qt::Horizontal QSizePolicy::Fixed 65 20 90 37 微软雅黑 10 QWidget{ background-color: rgba(97, 63, 56, 200);} QWidget{ color: rgb(235, 235, 235);} QWidget{ border: 2px groove gray;border-radius: 5px;padding: 2px 4px;} QPushButton:hover{ background-color: rgb(97, 83, 76);} QPushButton:pressed{background-color: rgb(117, 103, 96);} 断开仪器 Qt::Horizontal QSizePolicy::Fixed 65 20 0 0 90 37 微软雅黑 10 QWidget{ background-color: rgba(19, 22, 47, 200);} QWidget{ color: rgb(235, 235, 235);} QWidget{ border: 2px groove gray;border-radius: 5px;padding: 2px 4px;} QPushButton:hover{ background-color: rgb(19, 22, 67);} QPushButton:pressed{background-color: rgb(19, 22, 87);} 保存参数 Qt::Horizontal 40 20 0 0 0 0 border: 1px solid gray; QFrame::StyledPanel QFrame::Raised 0 7 7 7 7 0 Qt::Vertical QSizePolicy::Fixed 20 20 0 5 5 0 0 微软雅黑 10 color: rgb(0, 0, 0); border:none; 仪器名称或编号: 0 0 325 30 16777215 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(170, 170, 127,100); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } DAM-E3021N 0 5 5 0 0 0 28 16777215 28 微软雅黑 10 color: rgb(0, 0, 0); background-color: rgba(255, 254, 237,0); border:none; 选择仪器通讯名称或编号: 微软雅黑 10 75 true color: rgb(129, 0, 193); background-color: rgba(255, 254, 237,130); border:none; Qt::AlignCenter border:none; 0 0 0 11 0 0 0 0 0 0 16777215 16777215 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dfd5cf, stop: 0.15 #acbbac, stop: 0.85 #acbbac,stop:1 #dfd5cf); color: rgb(85, 0, 255); QFrame::StyledPanel QFrame::Raised 5 7 5 9 0 23 0 0 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 仪器端口号: 0 0 微软雅黑 10 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0); border:none; 仪器IP地址: 0 28 微软雅黑 10 border: 1px solid white ; background-color: rgb(239, 239, 239); color: rgb(0, 0, 200); 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 超时(ms): 0 0 200 29 200 29 微软雅黑 10 background-color: rgb(239, 239, 239); 0 0 100 28 100 16777215 微软雅黑 11 QWidget{color: rgb(0, 0, 200);background-color: rgb(239, 239, 239);} QSpinBox::up-button{ border:transparent; } QSpinBox::down-button{ border:transparent; } QSpinBox::up-arrow{ image:url(:/res/ico/up.png); } QSpinBox::down-arrow{ image:url(:/res/ico/down.png); } Qt::AlignCenter 1 10000 5000 10 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 备注: Qt::Vertical 20 40 100 28 100 16777215 微软雅黑 11 QWidget{color: rgb(0, 0, 200);background-color: rgb(239, 239, 239);} QSpinBox::up-button{ border:transparent; } QSpinBox::down-button{ border:transparent; } QSpinBox::up-arrow{ image:url(:/res/ico/up.png); } QSpinBox::down-arrow{ image:url(:/res/ico/down.png); } Qt::AlignCenter 0 65535 1024 10 0 0 0 0 11 0 0 0 0 0 0 16777215 16777215 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dfd5cf, stop: 0.15 #acbbac, stop: 0.85 #acbbac,stop:1 #dfd5cf); color: rgb(85, 0, 255); QFrame::StyledPanel QFrame::Raised 5 7 5 9 0 23 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 备注: 0 0 微软雅黑 10 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0); border:none; 仪器IP地址: 100 28 100 16777215 微软雅黑 11 QWidget{color: rgb(0, 0, 200);background-color: rgb(239, 239, 239);} QSpinBox::up-button{ border:transparent; } QSpinBox::down-button{ border:transparent; } QSpinBox::up-arrow{ image:url(:/res/ico/up.png); } QSpinBox::down-arrow{ image:url(:/res/ico/down.png); } Qt::AlignCenter 0 65535 1024 10 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 超时(ms): 0 28 微软雅黑 10 border: 1px solid white ; background-color: rgb(239, 239, 239); color: rgb(0, 0, 200); 0 0 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 仪器端口号: 100 28 100 16777215 微软雅黑 11 QWidget{color: rgb(0, 0, 200);background-color: rgb(239, 239, 239);} QSpinBox::up-button{ border:transparent; } QSpinBox::down-button{ border:transparent; } QSpinBox::up-arrow{ image:url(:/res/ico/up.png); } QSpinBox::down-arrow{ image:url(:/res/ico/down.png); } Qt::AlignCenter 1 10000 5000 10 Qt::Vertical 20 40 0 0 200 29 200 29 微软雅黑 10 background-color: rgb(239, 239, 239); 0 0 0 0 0 0 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dfd5cf, stop: 0.15 #acbbac, stop: 0.85 #acbbac,stop:1 #dfd5cf); color: rgb(85, 0, 255); QFrame::StyledPanel QFrame::Raised 5 7 5 9 0 15 120 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(230, 230, 230,210); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } 硬件 软件 0 0 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 波特率: 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 数据位: 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 备注: 120 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(230, 230, 230,210); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 0 28 微软雅黑 10 border: 1px solid white ; background-color: rgb(239, 239, 239); color: rgb(0, 0, 200); 0 0 微软雅黑 10 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0); border:none; 串口号: 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 停止位: 120 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(230, 230, 230,210); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } 标志 空格 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 校验位: 120 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(230, 230, 230,210); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } 1 1.5 2 120 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(230, 230, 230,210); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } 4800 4800 9600 14400 19200 38400 57600 115200 128000 230400 256000 120 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(230, 230, 230,210); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } 5 5 6 7 8 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 流控制: 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(255, 122, 15); border:none; true 说明:串口通信列表数量或连接状态改变后,需要更新流程的串口通信设置。 0 0 0 0 0 0 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dfd5cf, stop: 0.15 #acbbac, stop: 0.85 #acbbac,stop:1 #dfd5cf); color: rgb(85, 0, 255); QFrame::StyledPanel QFrame::Raised 5 7 5 9 0 23 微软雅黑 10 50 false background-color: rgba(0, 0, 0, 0); color: rgb(255, 122, 15); border:none; true 说明:(1)服务器连接后,需要在流程新建TCP/IP通信工具后,客户端才能连接;(2)TCP/IP通信列表数量或连接状态改变后,需要更新流程的TCP/IP通信设置。 0 0 120 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; color: rgb(0, 0, 200); background-color: rgba(230, 230, 230,210); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } TCP Server TCP Client 0 28 微软雅黑 10 border: 1px solid white ; background-color: rgb(239, 239, 239); color: rgb(0, 0, 200); 微软雅黑 10 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0); border:none; 协议类型: 0 0 微软雅黑 10 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0); border:none; 本地IP地址: 0 0 200 29 200 29 微软雅黑 10 background-color: rgb(239, 239, 239); 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 备注: 0 0 微软雅黑 10 background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); border:none; 本地端口号: 120 28 120 16777215 微软雅黑 11 QWidget{color: rgb(0, 0, 200);background-color: rgb(239, 239, 239);} QSpinBox::up-button{ border:transparent; } QSpinBox::down-button{ border:transparent; } QSpinBox::up-arrow{ image:url(:/res/ico/up.png); } QSpinBox::down-arrow{ image:url(:/res/ico/down.png); } Qt::AlignCenter 0 65535 1024 10 0 0 0 16777215 16777215 border: 1px solid gray; QFrame::StyledPanel QFrame::Raised 0 3 3 3 3 Qt::Horizontal 40 10 微软雅黑 10 color: rgba(0, 0, 200,180); border:none; 仪器通讯类别: 0 0 115 30 120 16777215 微软雅黑 10 QComboBox { border: 1px solid gray; border-radius: 3px; min-width: 7.5em; color: rgb(239, 235, 231); background-color: rgba(170, 170, 127,100); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } QComboBox::down-arrow { image: url(:/res/ico/down_2.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } 通用I/O PLC通信 串口通信 TCP/IP通信 Qt::Horizontal QSizePolicy::Fixed 45 20 90 37 微软雅黑 10 QWidget{ background-color: rgba(29, 42, 47, 200);} QWidget{ color: rgb(235, 235, 235);} QWidget{ border: 2px groove gray;border-radius: 5px;padding: 2px 4px;} QPushButton:hover{ background-color: rgb(29, 62, 52);} QPushButton:pressed{background-color: rgb(29, 82, 72);} 添加仪器 Qt::Horizontal 40 10 IPAddress QWidget
ipaddress.h
1