华荣三照明、合信、荣欣八组合馈电
686
QT5_Project/ZM_4/APPWindow.py
Normal file
@ -0,0 +1,686 @@
|
||||
# This Python file uses the following encoding: utf-8
|
||||
import sys
|
||||
import time
|
||||
from PyQt5.QtWidgets import QWidget, QLineEdit
|
||||
from PyQt5.QtWidgets import QApplication, QMainWindow, QStackedWidget, QWidget, QLayout, QLabel, QLineEdit, QPushButton, QMessageBox, QShortcut, QDialog
|
||||
from PyQt5 import uic
|
||||
from PyQt5.QtCore import Qt, QThread, pyqtSignal, QObject, QRunnable, QMutex, QTimer, QEvent
|
||||
from PyQt5.QtGui import QImage, QPixmap, QColor, QKeySequence
|
||||
from UIFrameWork import UIFrameWork
|
||||
from UIFrameWork import *
|
||||
# 添加当前脚本的父级目录到 sys.path
|
||||
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
from Shared_CODE.CameraThread import CameraThread
|
||||
from PyQt5.QtWidgets import QApplication, QMainWindow, QStackedWidget
|
||||
from PyQt5.QtWidgets import QDesktopWidget
|
||||
|
||||
import menu_utils as utils
|
||||
import uart_group_config as group_config
|
||||
from mqtt_device import class_comm_mqtt_thread, class_comm_mqtt_interface
|
||||
from print_color import *
|
||||
from Shared_CODE.get_tip_prop import *
|
||||
|
||||
|
||||
# 设置 UI 目录的路径
|
||||
ui_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'UI'))
|
||||
|
||||
|
||||
# 页面文件,动态构建 UI 文件的路径
|
||||
uiFile_P00DeviceList = os.path.join(ui_path, "P00DeviceList.ui")
|
||||
# uiFile_P01DeviceMenu = os.path.join(ui_path, "P01DeviceMenu.ui")
|
||||
# uiFile_P02DataView = os.path.join(ui_path, "P02DataView.ui")
|
||||
# uiFile_P03SwitchAction = os.path.join(ui_path, "P03SwitchAction.ui")
|
||||
# uiFile_P04ParamSet = os.path.join(ui_path, "P04ParamSet.ui")
|
||||
uiFile_P05CameraView = os.path.join(ui_path, "P05CameraView.ui")
|
||||
# uiFile_P06FaultQuery = os.path.join(ui_path, "P06FaultQuery.ui")
|
||||
# uiFile_P07SystemSet = os.path.join(ui_path, "P07SystemSet.ui")
|
||||
uiFile_P08FieldTestAction = os.path.join(ui_path, "P08FieldTestAction.ui")
|
||||
uiFile_P11LightDeviceMenu = os.path.join(ui_path, "P11LightDeviceMenu.ui")
|
||||
uiFile_P12LightDataView = os.path.join(ui_path, "P12LightDataView.ui")
|
||||
uiFile_P13LightSwitchAction = os.path.join(ui_path, "P13LightSwitchAction.ui")
|
||||
uiFile_P14LightParamSet = os.path.join(ui_path, "P14LightParamSet.ui")
|
||||
uiFile_P16LightFaultQuery = os.path.join(ui_path, "P16LightFaultQuery.ui")
|
||||
uiFile_P17LightSystemSet = os.path.join(ui_path, "P17LightSystemSet.ui")
|
||||
uiFile_P18LightFieldTestAction = os.path.join(ui_path, "P18LightFieldTestAction.ui")
|
||||
|
||||
COLOR_RED = QColor("#EE2D2D").name()
|
||||
COLOR_GREEN = QColor(Qt.green).name()
|
||||
COLOR_BLUE = QColor(Qt.blue).name()
|
||||
COLOR_CYAN = QColor("#00FFFF").name()
|
||||
COLOR_YELLOW = QColor(Qt.yellow).name()
|
||||
|
||||
COLOR_NORMAL = QColor("#000000").name()
|
||||
COLOR_ALARM_NORMAL = QColor("#ECECEC").name()
|
||||
COLOR_ALARM_ERROR_TEXT = QColor("#B1E5FC").name()
|
||||
COLOR_ALARM_ERROR_BG = QColor("#E17176").name()
|
||||
|
||||
COLOR_VALUE_NORMAL_YELLOW = QColor("#F8C822").name()
|
||||
COLOR_VALUE_NORMAL_BLUE = QColor("#4E76D4").name()
|
||||
COLOR_VALUE_NORMAL_READ = QColor("#CE5D62").name()
|
||||
COLOR_VALUE_NORMAL_GREEN = QColor("#83BF6E").name()
|
||||
|
||||
|
||||
|
||||
def get_camera_id_and_canvas_id(action : str) :
|
||||
camera_id = -1
|
||||
canvas_id = -1
|
||||
if "canvas" in action and "camera" in action :
|
||||
action_splits = action.split("_")
|
||||
for action_split_str in action_splits:
|
||||
if "camera" in action_split_str:
|
||||
camera_id = get_value_from_lead_value_str(action_split_str, "camera", -1)
|
||||
elif "canvas" in action_split_str:
|
||||
canvas_id = get_value_from_lead_value_str(action_split_str, "canvas", -1)
|
||||
return camera_id, canvas_id
|
||||
|
||||
|
||||
#根据回路选择摄像头url地址
|
||||
def search_camera_url(camera_id : int) :
|
||||
cameral_url = None
|
||||
for config_dict in group_config.comm_thread_config :
|
||||
device_list = utils.dict_or_object_get_attr(config_dict, "device_list", None)
|
||||
if device_list != None :
|
||||
for item_dict in device_list :
|
||||
config_camera_id = utils.dict_or_object_get_attr(item_dict, "circuit_id", -1)
|
||||
if config_camera_id == camera_id :
|
||||
cameral_url = utils.dict_or_object_get_attr(item_dict, "camera_url", None)
|
||||
if cameral_url != None :
|
||||
return cameral_url
|
||||
return cameral_url
|
||||
|
||||
menu_page_widget_list = []
|
||||
|
||||
class PageTemplate(UIFrameWork): # 页面模板类,包含各子页面公用功能
|
||||
def __init__(self, parent_window):
|
||||
UIFrameWork.__init__(self)
|
||||
self.parent_window : APPWindow = parent_window
|
||||
|
||||
def connect_matched_camera_canvas(self) :
|
||||
page_widget : UIFrameWork = self.parent_window.stack.currentWidget()
|
||||
if page_widget != None :
|
||||
for canvas_id in range(9) :
|
||||
camera_id , face_detect = page_widget.get_canvas_prop(canvas_id)
|
||||
if camera_id >= 0 :
|
||||
self.parent_window.connect_camera_to_canvas(page_widget, camera_id, canvas_id, face_detect)
|
||||
|
||||
def virtual_connect_canvas_to_camera(self, canvas_id : int, camera_id : int, is_visible : bool = True) :
|
||||
if camera_id >= 0 and canvas_id >= 0 and canvas_id < len(self.parent_window.camera_thread_list) :
|
||||
face_detect = 0
|
||||
canvas_object = self.search_canvas_object(canvas_id)
|
||||
if canvas_object != None :
|
||||
face_detect = get_tip_face_detection(canvas_object.statusTip())
|
||||
|
||||
camera_thread : CameraThread = self.parent_window.camera_thread_list[camera_id]
|
||||
if camera_thread != None :
|
||||
if not camera_thread.is_emit and is_visible:
|
||||
self.show_camera_error(camera_id)
|
||||
|
||||
if camera_thread.is_emit:
|
||||
self.connect_camera_thread(camera_thread, canvas_id, is_visible)
|
||||
self.parent_window.camera_signal.emit(camera_id)
|
||||
camera_thread.face_detection = face_detect
|
||||
|
||||
if hasattr(self, "CameraChioceLabel") :
|
||||
# self.CameraChioceLabel.setStyleSheet("color: rgb(255, 255, 255); font-size: 50px;")
|
||||
self.CameraChioceLabel.setText("回路" + str(camera_id+1))
|
||||
else:
|
||||
self.show_camera_error(camera_id)
|
||||
|
||||
def show_camera_error(self, camera_id) :
|
||||
inform_box : DialogInform = DialogInform()
|
||||
inform_box.information("提示", f"视频流{camera_id+1}无法初始化或失去连接!")
|
||||
|
||||
#定义虚函数, 进入页面时调用
|
||||
def virtual_on_page_enter(self) :
|
||||
pass
|
||||
|
||||
#定义虚函数, 退出页面时调用
|
||||
def virtual_on_page_leave(self) :
|
||||
pass
|
||||
|
||||
#重载虚函数, 切换页面时调用
|
||||
def virtual_change_to_page(self, page) :
|
||||
if self.parent_window == None :
|
||||
return
|
||||
|
||||
self_page_widget : PageTemplate = self.parent_window.stack.currentWidget()
|
||||
if self_page_widget == None :
|
||||
return
|
||||
|
||||
target_page_widget : PageTemplate = None
|
||||
|
||||
if page >= 0 :
|
||||
target_page_widget = self.parent_window.search_page_widget(page)
|
||||
if target_page_widget in menu_page_widget_list:
|
||||
while len(menu_page_widget_list) > 0 :
|
||||
pop_page_widget = menu_page_widget_list.pop()
|
||||
if pop_page_widget == None or pop_page_widget == target_page_widget:
|
||||
break
|
||||
else :
|
||||
while len(menu_page_widget_list) > 0 :
|
||||
pop_page_widget = menu_page_widget_list.pop()
|
||||
if pop_page_widget == self :
|
||||
continue
|
||||
else :
|
||||
target_page_widget = pop_page_widget
|
||||
break
|
||||
|
||||
if target_page_widget == None :
|
||||
target_page_widget = self.parent_window.allpages_list[0]
|
||||
|
||||
if target_page_widget != None :
|
||||
menu_page_widget_list.append(target_page_widget)
|
||||
self_page_widget.virtual_on_page_leave()
|
||||
self.parent_window.stack.setCurrentWidget(target_page_widget)
|
||||
target_page_widget.virtual_on_page_enter()
|
||||
self.connect_matched_camera_canvas()
|
||||
|
||||
def virtual_widget_action_process(self, widget : QWidget, action : str) :
|
||||
action_splits = action.split("+")
|
||||
page_id = -1
|
||||
circuit_id = -1
|
||||
main_index = -1
|
||||
add_circuit = -1
|
||||
binding_circuit = -1
|
||||
for action_split_str in action_splits :
|
||||
if "SetPage" in action_split_str :
|
||||
page_id = get_value_from_lead_value_str(action_split_str, "SetPage", -1)
|
||||
elif "SetCircuit" in action_split_str :
|
||||
circuit_id = get_value_from_lead_value_str(action_split_str, "SetCircuit", -1)
|
||||
elif "SetMain" in action_split_str:
|
||||
main_index = get_value_from_lead_value_str(action_split_str, "SetMain", -1)
|
||||
elif "AddCircuit" in action_split_str :
|
||||
add_circuit = get_value_from_lead_value_str(action_split_str, "AddCircuit", -1)
|
||||
elif "SetBinding" in action_split_str :
|
||||
binding_circuit = get_value_from_lead_value_str(action_split_str, "SetBinding", 1)
|
||||
|
||||
|
||||
print("<virtual_widget_action_process>@Line:",inspect.currentframe().f_lineno,'<circuit_id> = ',circuit_id,'<Action> = ',action_splits)
|
||||
|
||||
if add_circuit >= 0 :
|
||||
tip_str : str = page_widget.statusTip()
|
||||
circuit_id = get_tip_circuit(tip_str)
|
||||
circuit_id = circuit_id + 1
|
||||
|
||||
if binding_circuit > 0 :
|
||||
circuit_id = self.get_circuit_from_object(widget)
|
||||
|
||||
target_page_widget = self.parent_window.search_page_widget(page_id)
|
||||
page_widget : PageTemplate = target_page_widget
|
||||
|
||||
if page_id >= 0 : # 功能标记:执行页面跳转功能
|
||||
target_page_widget = self.parent_window.search_page_widget(page_id)
|
||||
|
||||
if target_page_widget != None :
|
||||
if circuit_id >= 0 :
|
||||
target_page_widget.set_page_circuit(circuit_id)
|
||||
self.virtual_change_to_page(page_id)
|
||||
|
||||
if main_index >= 0 : # 功能标记:执行控件主索引设定
|
||||
self.set_menu_main_index(main_index) # 设置页面主索引字段<main>,可以跨组选择控件
|
||||
|
||||
if circuit_id >= 0 :
|
||||
indicator : QLineEdit = target_page_widget.findChild(QLineEdit,"BindNum_Title")
|
||||
indicator.setText("当前回路为 %d"%(circuit_id + 1))
|
||||
|
||||
# 显示提示图标
|
||||
# indicator_Label : QLabel = target_page_widget.findChild(QLabel,"indicator_Label")
|
||||
# # tip_str : str = indicator_Label.statusTip()
|
||||
# imag_file_name = get_imag_value_file_name(tip_str, circuit_id)
|
||||
# if imag_file_name != None :
|
||||
# self.modify_object_style_sheet(indicator_Label, "background-image", "url(%s)"%(imag_file_name))
|
||||
# else :
|
||||
# self.reset_object_style_sheet(indicator_Label)
|
||||
|
||||
camera_id, canvas_id = get_camera_id_and_canvas_id(action)
|
||||
self.virtual_connect_canvas_to_camera(canvas_id, camera_id)
|
||||
|
||||
#P00设备列表页面
|
||||
class QDeviceListPage(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P00DeviceList)
|
||||
|
||||
|
||||
# #P01设备列表页面
|
||||
# class QDeviceMenuPage(PageTemplate):
|
||||
# def __init__(self, parent_window):
|
||||
# PageTemplate.__init__(self, parent_window)
|
||||
# self.load_window_ui(uiFile_P01DeviceMenu)
|
||||
|
||||
# #P02数据查看页面
|
||||
# class QDataViewPage(PageTemplate):
|
||||
# def __init__(self, parent_window):
|
||||
# PageTemplate.__init__(self, parent_window)
|
||||
# self.load_window_ui(uiFile_P02DataView)
|
||||
|
||||
# json_dict0 = {"Uab" :"1111", "Ubc" : "1111", "Uca" : "1111", "Uo" : "11" , "Iab" : "1111", "Ibc" : "1111", "Ica" : "1111", "Io" : "1111"}
|
||||
# json_dict1 = {"Uab" :"2222", "Ubc" : "2222", "Uca" : "2222", "Uo" : "22" , "Iab" : "2222", "Ibc" : "2222", "Ica" : "2222", "Io" : "2222"}
|
||||
# json_dict2 = {"Uab" :"3333", "Ubc" : "3333", "Uca" : "3333", "Uo" : "33" , "Iab" : "3333", "Ibc" : "3333", "Ica" : "3333", "Io" : "3333"}
|
||||
|
||||
# # self.flush_widgets(0, json_dict0)
|
||||
# # self.flush_widgets(1, json_dict1)
|
||||
# # self.flush_widgets(2, json_dict2)
|
||||
|
||||
# self.camera_str = "0"
|
||||
|
||||
# def virtual_on_page_enter(self):
|
||||
# children = self.findChildren(QLabel)
|
||||
# for child in children:
|
||||
# if child.objectName() == "TestCameraView" :
|
||||
# status_str = child.statusTip()
|
||||
# get_circuit = self.get_circuit_from_object(child)
|
||||
# print(status_str, get_circuit)
|
||||
# new_status_str = status_str.replace(f"camera{self.camera_str}", f"camera{get_circuit}")
|
||||
# self.camera_str = get_circuit
|
||||
# self.parent_window.camera_signal.emit(int(get_circuit))
|
||||
# child.setStatusTip(new_status_str)
|
||||
|
||||
# #P03开关操作页面
|
||||
# class QSwitchActionPage(PageTemplate):
|
||||
# def __init__(self, parent_window):
|
||||
# PageTemplate.__init__(self, parent_window)
|
||||
# self.load_window_ui(uiFile_P03SwitchAction)
|
||||
|
||||
# json_dict0 = {"SwitchStatus" : {"value" :"1", "bk_color" : COLOR_NORMAL, "color" : COLOR_RED}}
|
||||
# json_dict1 = {"SwitchStatus" : {"value" :"0", "bk_color" : COLOR_NORMAL, "color" : COLOR_RED}}
|
||||
# json_dict2 = {"SwitchStatus" : {"value" :"1", "bk_color" : COLOR_NORMAL, "color" : COLOR_RED}}
|
||||
|
||||
# # self.flush_widgets(0, json_dict0)
|
||||
# # self.flush_widgets(1, json_dict1)
|
||||
# # self.flush_widgets(2, json_dict2)
|
||||
|
||||
# self.camera_str = "0"
|
||||
|
||||
# def virtual_on_page_enter(self):
|
||||
# children = self.findChildren(QLabel)
|
||||
# for child in children:
|
||||
# if child.objectName() == "TestCameraView" :
|
||||
# status_str = child.statusTip()
|
||||
# get_circuit = self.get_circuit_from_object(child)
|
||||
# print(status_str, get_circuit)
|
||||
# new_status_str = status_str.replace(f"camera{self.camera_str}", f"camera{get_circuit}")
|
||||
# self.camera_str = get_circuit
|
||||
# self.parent_window.camera_signal.emit(int(get_circuit))
|
||||
# child.setStatusTip(new_status_str)
|
||||
|
||||
# #P04参数设置页面
|
||||
# class QParamSetPage(PageTemplate):
|
||||
# def __init__(self, parent_window):
|
||||
|
||||
# PageTemplate.__init__(self, parent_window)
|
||||
# self.load_window_ui(uiFile_P04ParamSet)
|
||||
|
||||
# json_dict0 = {"Uab" :"1000", "Ubc" : "5", "Uca" : "50"}
|
||||
# json_dict1 = {"Uab" :"1111", "Ubc" : "111", "Uca" : "111"}
|
||||
# json_dict2 = {"Uab" :"2222", "Ubc" : "222", "Uca" : "222"}
|
||||
|
||||
# self.flush_widgets(0, json_dict0)
|
||||
# self.flush_widgets(1, json_dict1)
|
||||
# self.flush_widgets(2, json_dict2)
|
||||
|
||||
#P05视频查看页面 QFaultQueryPage
|
||||
class QCameraViewPage(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P05CameraView)
|
||||
|
||||
def virtual_on_page_enter(self) :
|
||||
self.parent_window.camera_signal.emit(0)
|
||||
|
||||
# #P06故障查询页面 QFaultQueryPage
|
||||
# class QFaultQueryPage(PageTemplate):
|
||||
# def __init__(self, parent_window):
|
||||
# PageTemplate.__init__(self, parent_window)
|
||||
# self.load_window_ui(uiFile_P06FaultQuery)
|
||||
# self.alarm_index = 0
|
||||
|
||||
# def virtual_on_page_enter(self) :
|
||||
# self.alarm_index = 0
|
||||
# self.query_alarm_index()
|
||||
# self.timer = QTimer()
|
||||
# self.timer.timeout.connect(self.query_alarm_index)
|
||||
# self.timer.start(4000)
|
||||
|
||||
# def virtual_on_page_leave(self) :
|
||||
# self.alarm_index = 0
|
||||
|
||||
# def query_alarm_index(self):
|
||||
# circuit_id = self.get_page_circuit()
|
||||
# unique_name = self.get_unique_name_from_circuit(circuit_id)
|
||||
# if unique_name != None :
|
||||
# publish_topic = "request/alarm/" + unique_name
|
||||
# publish_message = '{"index" : "%s"}'%(self.alarm_index)
|
||||
# self.mqtt_publish_and_wait_response(publish_topic, publish_message, object, 1000)
|
||||
|
||||
# #action 处理虚函数, 只适用于故障查询页面
|
||||
# def virtual_widget_action_process(self, widget : QWidget, action : str) :
|
||||
# PageTemplate.virtual_widget_action_process(self, widget, action)
|
||||
# alarm_adjust = 0
|
||||
# if "CmdAlarmNext" in action :
|
||||
# alarm_adjust = 1
|
||||
# elif "CmdAlarmPrev" in action :
|
||||
# alarm_adjust = -1
|
||||
|
||||
# if alarm_adjust != 0 :
|
||||
# self.alarm_index = self.alarm_index + alarm_adjust
|
||||
# if self.alarm_index < 0 :
|
||||
# self.alarm_index = 0
|
||||
# self.query_alarm_index()
|
||||
|
||||
# #P07系统参数设置页面
|
||||
# class QSystemSetPage(PageTemplate):
|
||||
# def __init__(self, parent_window):
|
||||
|
||||
# PageTemplate.__init__(self, parent_window)
|
||||
# self.load_window_ui(uiFile_P07SystemSet)
|
||||
|
||||
# #P08现场试验页面
|
||||
# class QFieldTestAction(PageTemplate):
|
||||
# def __init__(self, parent_window):
|
||||
|
||||
# PageTemplate.__init__(self, parent_window)
|
||||
# self.load_window_ui(uiFile_P08FieldTestAction)
|
||||
|
||||
# P11照明菜单选择
|
||||
class QLightMenuPage(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P11LightDeviceMenu)
|
||||
|
||||
# P12照明运行数据页面
|
||||
class QRunDataPage(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P12LightDataView)
|
||||
|
||||
self.camera_str = "0"
|
||||
|
||||
def virtual_on_page_enter(self):
|
||||
children = self.findChildren(QLabel)
|
||||
for child in children:
|
||||
if child.objectName() == "TestCameraView" :
|
||||
status_str = child.statusTip()
|
||||
get_circuit = self.get_circuit_from_object(child)
|
||||
print(status_str, get_circuit)
|
||||
new_status_str = status_str.replace(f"camera{self.camera_str}", f"camera{get_circuit}")
|
||||
self.camera_str = get_circuit
|
||||
self.parent_window.camera_signal.emit(int(get_circuit))
|
||||
child.setStatusTip(new_status_str)
|
||||
|
||||
# P13照明开关操作页面
|
||||
class QLightSwitchActionPage(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P13LightSwitchAction)
|
||||
|
||||
self.camera_str = "0"
|
||||
|
||||
def virtual_on_page_enter(self):
|
||||
children = self.findChildren(QLabel)
|
||||
for child in children:
|
||||
if child.objectName() == "TestCameraView" :
|
||||
status_str = child.statusTip()
|
||||
get_circuit = self.get_circuit_from_object(child)
|
||||
print(status_str, get_circuit)
|
||||
new_status_str = status_str.replace(f"camera{self.camera_str}", f"camera{get_circuit}")
|
||||
self.camera_str = get_circuit
|
||||
self.parent_window.camera_signal.emit(int(get_circuit))
|
||||
child.setStatusTip(new_status_str)
|
||||
|
||||
# P14照明参数设置页面
|
||||
class QLightParamSetPage(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P14LightParamSet)
|
||||
|
||||
# P16照明故障查询
|
||||
class QLightFaultQuery(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P16LightFaultQuery)
|
||||
|
||||
def virtual_on_page_enter(self) :
|
||||
self.alarm_index = 0
|
||||
self.query_alarm_index()
|
||||
self.timer = QTimer()
|
||||
self.timer.timeout.connect(self.query_alarm_index)
|
||||
self.timer.start(4000)
|
||||
|
||||
def virtual_on_page_leave(self) :
|
||||
self.alarm_index = 0
|
||||
|
||||
def query_alarm_index(self):
|
||||
circuit_id = self.get_page_circuit()
|
||||
unique_name = self.get_unique_name_from_circuit(circuit_id)
|
||||
if unique_name != None :
|
||||
publish_topic = "request/alarm/" + unique_name
|
||||
publish_message = '{"index" : "%s"}'%(self.alarm_index)
|
||||
self.mqtt_publish_and_wait_response(publish_topic, publish_message, object, 1000)
|
||||
|
||||
#action 处理虚函数, 只适用于故障查询页面
|
||||
def virtual_widget_action_process(self, widget : QWidget, action : str) :
|
||||
PageTemplate.virtual_widget_action_process(self, widget, action)
|
||||
alarm_adjust = 0
|
||||
if "CmdAlarmNext" in action :
|
||||
alarm_adjust = 1
|
||||
elif "CmdAlarmPrev" in action :
|
||||
alarm_adjust = -1
|
||||
|
||||
if alarm_adjust != 0 :
|
||||
self.alarm_index = self.alarm_index + alarm_adjust
|
||||
if self.alarm_index < 0 :
|
||||
self.alarm_index = 0
|
||||
self.query_alarm_index()
|
||||
|
||||
# P17照明系统参数
|
||||
class QLightSystemSet(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P17LightSystemSet)
|
||||
|
||||
# P18现场试验页面
|
||||
class QLightFieldTestAction(PageTemplate):
|
||||
def __init__(self, parent_window):
|
||||
PageTemplate.__init__(self, parent_window)
|
||||
self.load_window_ui(uiFile_P18LightFieldTestAction)
|
||||
|
||||
class APPWindow(QMainWindow):
|
||||
camera_signal = pyqtSignal(int)
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
# 获取屏幕分辨率
|
||||
screen = QDesktopWidget().screenGeometry()
|
||||
screen_width = screen.width()
|
||||
screen_height = screen.height()
|
||||
|
||||
self.stack = QStackedWidget(self)
|
||||
self.setGeometry(0, 0, screen_width, screen_height) # 设置窗口大小为屏幕分辨率
|
||||
self.stack.setGeometry(0, 0, screen_width, screen_height) # 设置堆叠窗口大小为屏幕分辨率
|
||||
|
||||
#调试的时候用下面两行,全屏就注释
|
||||
# self.setGeometry(0, 0, 1024, 600)
|
||||
# self.stack.setGeometry(0, 0, 1024, 600)
|
||||
|
||||
|
||||
|
||||
self.showFullScreen()
|
||||
|
||||
self.menu_sequence_list : PageTemplate = []
|
||||
self.camera_thread_list : CameraThread = [None, None, None, None, None, None, None, None, None]
|
||||
self.allpages_list : PageTemplate = []
|
||||
|
||||
self.P00_DeviceList : PageTemplate = QDeviceListPage(parent_window = self)
|
||||
# self.P01_DeviceMenu : PageTemplate = QDeviceMenuPage(parent_window = self)
|
||||
# self.P02_DataView : PageTemplate = QDataViewPage(parent_window = self)
|
||||
# self.P03_SwitchAction : PageTemplate = QSwitchActionPage(parent_window = self)
|
||||
# self.P04_ParamSet : PageTemplate = QParamSetPage(parent_window = self)
|
||||
self.P05_CameraView : PageTemplate = QCameraViewPage(parent_window = self)
|
||||
# self.P06_FaultQuery : PageTemplate = QFaultQueryPage(parent_window = self)
|
||||
# self.P07_SystemSet : PageTemplate = QSystemSetPage(parent_window = self)
|
||||
# self.P08_FieldTestAction : PageTemplate = QFieldTestAction(parent_window = self)
|
||||
self.P11_DeviceMenu : PageTemplate = QLightMenuPage(parent_window = self)
|
||||
self.P12_DateView : PageTemplate = QRunDataPage(parent_window = self)
|
||||
self.P13_SwitchAction : PageTemplate = QLightSwitchActionPage(parent_window = self)
|
||||
self.P14_ParamSet : PageTemplate = QLightParamSetPage(parent_window = self)
|
||||
self.P16_LightFaultQuery : PageTemplate = QLightFaultQuery(parent_window = self)
|
||||
self.P17_LightSystemSet : PageTemplate = QLightSystemSet(parent_window = self)
|
||||
self.P18_LightFieldTestAction : PageTemplate = QLightFieldTestAction(parent_window = self)
|
||||
|
||||
self.allpages_list.append(self.P00_DeviceList)
|
||||
# self.allpages_list.append(self.P01_DeviceMenu)
|
||||
# self.allpages_list.append(self.P02_DataView)
|
||||
# self.allpages_list.append(self.P03_SwitchAction)
|
||||
# self.allpages_list.append(self.P04_ParamSet)
|
||||
self.allpages_list.append(self.P05_CameraView)
|
||||
# self.allpages_list.append(self.P06_FaultQuery)
|
||||
# self.allpages_list.append(self.P07_SystemSet)
|
||||
# self.allpages_list.append(self.P08_FieldTestAction)
|
||||
self.allpages_list.append(self.P11_DeviceMenu)
|
||||
self.allpages_list.append(self.P12_DateView)
|
||||
self.allpages_list.append(self.P13_SwitchAction)
|
||||
self.allpages_list.append(self.P14_ParamSet)
|
||||
self.allpages_list.append(self.P16_LightFaultQuery)
|
||||
self.allpages_list.append(self.P17_LightSystemSet)
|
||||
self.allpages_list.append(self.P18_LightFieldTestAction)
|
||||
|
||||
self.stack.addWidget(self.P00_DeviceList)
|
||||
# self.stack.addWidget(self.P01_DeviceMenu)
|
||||
# self.stack.addWidget(self.P02_DataView)
|
||||
# self.stack.addWidget(self.P03_SwitchAction)
|
||||
# self.stack.addWidget(self.P04_ParamSet)
|
||||
self.stack.addWidget(self.P05_CameraView)
|
||||
# self.stack.addWidget(self.P06_FaultQuery)
|
||||
# self.stack.addWidget(self.P07_SystemSet)
|
||||
# self.stack.addWidget(self.P08_FieldTestAction)
|
||||
self.stack.addWidget(self.P11_DeviceMenu)
|
||||
self.stack.addWidget(self.P12_DateView)
|
||||
self.stack.addWidget(self.P13_SwitchAction)
|
||||
self.stack.addWidget(self.P14_ParamSet)
|
||||
self.stack.addWidget(self.P16_LightFaultQuery)
|
||||
self.stack.addWidget(self.P17_LightSystemSet)
|
||||
self.stack.addWidget(self.P18_LightFieldTestAction)
|
||||
|
||||
test_init = system_parameter()
|
||||
set_screen_blanking_time(test_init.get_screen_blanking_time())
|
||||
|
||||
|
||||
def search_page_widget(self, page) :
|
||||
for list_item in self.allpages_list:
|
||||
window_page : UIFrameWork = list_item
|
||||
if window_page.page == page :
|
||||
return window_page
|
||||
return None
|
||||
|
||||
def connect_camera_to_canvas(self, page_widget : UIFrameWork, camera_id: int , canvas_id : int, face_detect : int = 0) :
|
||||
if camera_id >= 0 and canvas_id >= 0 and canvas_id < len(self.camera_thread_list) :
|
||||
camera_thread : CameraThread = self.camera_thread_list[camera_id]
|
||||
if camera_thread != None :
|
||||
page_widget.connect_camera_thread(camera_thread, canvas_id)
|
||||
camera_thread.face_detection = face_detect
|
||||
|
||||
def create_all_camera_thread(self) :
|
||||
for camera_id in range(len(self.camera_thread_list)) :
|
||||
_camera_url = search_camera_url(camera_id)
|
||||
if _camera_url != None :
|
||||
camera_thread = CameraThread(_camera_url, camera_id)
|
||||
camera_thread.set_video_cycle_ms(10)
|
||||
self.camera_thread_list[camera_id] = camera_thread
|
||||
self.camera_signal.connect(camera_thread.change_camera_url)
|
||||
|
||||
#摄像头与 界面进行绑定
|
||||
for index in range(self.stack.count()) :
|
||||
page_widget : UIFrameWork = self.stack.widget(index)
|
||||
page_widget.connect_matched_camera_canvas()
|
||||
|
||||
time.sleep(0.1)
|
||||
|
||||
#开启多个摄像头线程
|
||||
for camera_thread in self.camera_thread_list:
|
||||
thread_to_start : CameraThread = camera_thread
|
||||
if thread_to_start != None :
|
||||
thread_to_start.start()
|
||||
time.sleep(0.01)
|
||||
|
||||
# def focus_do_inscrease(self) :
|
||||
# self.stack.currentWidget().key_decrease_parameter()
|
||||
|
||||
# def focus_do_decrease(self) :
|
||||
# self.stack.currentWidget().key_increase_parameter()
|
||||
|
||||
# def focus_do_action(self) :
|
||||
# self.stack.currentWidget().key_enter_process()
|
||||
|
||||
# def focus_do_escape(self) :
|
||||
# self.stack.currentWidget().key_escape_process()
|
||||
|
||||
# def focus_show_hide(self) :
|
||||
# if self.float_button1.isHidden() :
|
||||
# self.float_button1.show()
|
||||
# self.float_button2.show()
|
||||
# self.float_button3.show()
|
||||
# self.float_button4.show()
|
||||
# else :
|
||||
# self.float_button1.hide()
|
||||
# self.float_button2.hide()
|
||||
# self.float_button3.hide()
|
||||
# self.float_button4.hide()
|
||||
|
||||
def get_page_currentwidget(self) :
|
||||
return self.stack.currentWidget().sort_menu_list[self.stack.currentWidget().menu_key_index][1]
|
||||
|
||||
def closeEvent(self, event):
|
||||
# 在这里处理关闭事件
|
||||
# 例如,提示用户是否真的想要关闭
|
||||
reply = QMessageBox.question(self, '确认', '确定要退出吗?',
|
||||
QMessageBox.Yes | QMessageBox.No)
|
||||
if reply == QMessageBox.Yes:
|
||||
for camera_thread in self.camera_thread_list:
|
||||
thread_to_stop : CameraThread = camera_thread
|
||||
if thread_to_stop != None :
|
||||
thread_to_stop.close()
|
||||
|
||||
for camera_thread in self.camera_thread_list:
|
||||
thread_to_stop : CameraThread = camera_thread
|
||||
if thread_to_stop != None :
|
||||
thread_to_stop.wait()
|
||||
|
||||
event.accept() # 接受关闭事件
|
||||
else:
|
||||
event.ignore() # 忽略关闭事件
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
#创建mqtt线程
|
||||
fvalue = float('06.00')
|
||||
value = round(fvalue)
|
||||
|
||||
_user_name = utils.dict_or_object_get_attr(group_config.mqtt_server, "user_name", "admin")
|
||||
_password = utils.dict_or_object_get_attr(group_config.mqtt_server, "password", "admin")
|
||||
_server = utils.dict_or_object_get_attr(group_config.mqtt_server, "remote", "127.0.0.1")
|
||||
_port = utils.dict_or_object_get_attr(group_config.mqtt_server, "port", 1883)
|
||||
|
||||
global_mqtt_thread = class_comm_mqtt_thread()
|
||||
global_mqtt_thread.set_mqtt_server(server = _server, port = _port, keep_alive = 60, user_name=_user_name, password=_password)
|
||||
|
||||
app = QApplication([])
|
||||
app_main_window = APPWindow()
|
||||
app_main_window.show()
|
||||
app_main_window.create_all_camera_thread()
|
||||
|
||||
for config_dict in group_config.comm_thread_config :
|
||||
device_list = utils.dict_or_object_get_attr(config_dict, "device_list", None)
|
||||
if device_list != None :
|
||||
for item_dict in device_list :
|
||||
circuit_id = utils.dict_or_object_get_attr(item_dict, "circuit_id", -1)
|
||||
circuit_unique_name = utils.dict_or_object_get_attr(item_dict, "unique_name", None)
|
||||
if circuit_unique_name != None :
|
||||
global_mqtt_thread.add_unique_object(circuit_unique_name, app_main_window.allpages_list)
|
||||
|
||||
global_mqtt_thread.start()
|
||||
app.exec_()
|
||||
global_mqtt_thread.close()
|
||||
global_mqtt_thread.join()
|
||||
|
||||
sys.exit(0)
|
||||
BIN
QT5_Project/ZM_4/Light_image/Light_CameraView.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
QT5_Project/ZM_4/Light_image/Light_DataView.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
QT5_Project/ZM_4/Light_image/Light_DeviceMenu.png
Normal file
|
After Width: | Height: | Size: 207 KiB |
BIN
QT5_Project/ZM_4/Light_image/Light_FieldTestAction.png
Normal file
|
After Width: | Height: | Size: 214 KiB |
BIN
QT5_Project/ZM_4/Light_image/Light_ParamSet.png
Normal file
|
After Width: | Height: | Size: 234 KiB |
BIN
QT5_Project/ZM_4/Light_image/Light_SystemSet.png
Normal file
|
After Width: | Height: | Size: 237 KiB |
BIN
QT5_Project/ZM_4/Light_image/Ligth_FaultQuery.png
Normal file
|
After Width: | Height: | Size: 215 KiB |
BIN
QT5_Project/ZM_4/Light_image/Ligth_ParamSet.png
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
QT5_Project/ZM_4/Light_image/Ligth_SwitchAction.png
Normal file
|
After Width: | Height: | Size: 148 KiB |
934
QT5_Project/ZM_4/UI/P00DeviceList.ui
Normal file
@ -0,0 +1,934 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P00DeviceList</class>
|
||||
<widget class="QMainWindow" name="P00DeviceList">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=0</string>
|
||||
</property>
|
||||
<property name="animated">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<widget class="QLabel" name="P00BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../image/DeviceList.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="Circuit_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>62</y>
|
||||
<width>914</width>
|
||||
<height>533</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>circuit=0, main=0</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="m08_Jumper">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>3</x>
|
||||
<y>3</y>
|
||||
<width>451</width>
|
||||
<height>260</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=0, Action=SetPage11+SetCircuit0+SetBinding0,SelectImag=IM00_01B.png</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0, 0, 0, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>450</width>
|
||||
<height>481</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="m01_SwitchStatus_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>238</x>
|
||||
<y>9</y>
|
||||
<width>211</width>
|
||||
<height>62</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchStatus, ImageValue=IM00_SwitchStatus_%d.png, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_AlarmMessage_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>146</x>
|
||||
<y>176</y>
|
||||
<width>300</width>
|
||||
<height>35</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmMessage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m04_Voltage">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>92</x>
|
||||
<y>80</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Voltage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(240, 201, 102);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m05_switch">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>318</x>
|
||||
<y>80</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>OnCount, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(144, 223, 218);
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m06_Current">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>92</x>
|
||||
<y>126</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Current,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(220, 119, 97);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m07_Ro">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>318</x>
|
||||
<y>126</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ro, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(159, 209, 141);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_CarMessage_7">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>146</x>
|
||||
<y>219</y>
|
||||
<width>300</width>
|
||||
<height>35</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CarPositionMsg,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(255, 170, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="Video0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>460</x>
|
||||
<y>270</y>
|
||||
<width>450</width>
|
||||
<height>260</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>canvas0=camera0, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="Circuit_1">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>558</x>
|
||||
<y>62</y>
|
||||
<width>457</width>
|
||||
<height>266</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>circuit=1, main=0</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="m08_Jumper_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>2</x>
|
||||
<y>3</y>
|
||||
<width>451</width>
|
||||
<height>260</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=1, Action=SetPage11+SetCircuit1+SetBinding1,SelectImag=IM00_01B.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0, 0, 0, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>450</width>
|
||||
<height>481</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="m01_SwitchStatus_1">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>238</x>
|
||||
<y>9</y>
|
||||
<width>211</width>
|
||||
<height>62</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchStatus, ImageValue=IM00_SwitchStatus_%d.png, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_AlarmMessage_1">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>146</x>
|
||||
<y>176</y>
|
||||
<width>300</width>
|
||||
<height>35</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmMessage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m04_Voltage_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>92</x>
|
||||
<y>80</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Voltage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(240, 201, 102);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m05_switch_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>318</x>
|
||||
<y>80</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>OnCount, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(144, 223, 218);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m06_Current_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>92</x>
|
||||
<y>126</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Current,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(220, 119, 97);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m07_Ro_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>318</x>
|
||||
<y>126</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ro,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(159, 209, 141);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_CarMessage_8">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>146</x>
|
||||
<y>219</y>
|
||||
<width>300</width>
|
||||
<height>35</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CarPositionMsg,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(255, 170, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="Circuit_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>328</y>
|
||||
<width>457</width>
|
||||
<height>266</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>circuit=2, main=0</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="m08_Jumper_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>3</x>
|
||||
<y>3</y>
|
||||
<width>451</width>
|
||||
<height>260</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=2,Action=SetPage11+SetCircuit2+SetBinding2,SelectImag=IM00_01B.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0, 0, 0, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>450</width>
|
||||
<height>481</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="m01_SwitchStatus_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>238</x>
|
||||
<y>9</y>
|
||||
<width>211</width>
|
||||
<height>62</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchStatus, ImageValue=IM00_SwitchStatus_%d.png, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_AlarmMessage_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>146</x>
|
||||
<y>176</y>
|
||||
<width>300</width>
|
||||
<height>35</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmMessage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m04_Voltage_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>92</x>
|
||||
<y>80</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Voltage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(240, 201, 102);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m05_switch_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>318</x>
|
||||
<y>80</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>OnCount, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(144, 223, 218);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m06_Current_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>92</x>
|
||||
<y>126</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Current,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(220, 119, 97);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m07_Ro_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>318</x>
|
||||
<y>126</y>
|
||||
<width>100</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ro,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(159, 209, 141);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_CarMessage_9">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>146</x>
|
||||
<y>219</y>
|
||||
<width>291</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CarPositionMsg,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(255, 170, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>64</y>
|
||||
<width>100</width>
|
||||
<height>529</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="sys_camera">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>31</x>
|
||||
<y>16</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=7, Action=SetPage5,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>10</y>
|
||||
<width>431</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>15</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="text" stdset="0">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="SysTime">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>540</x>
|
||||
<y>20</y>
|
||||
<width>251</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Microsoft YaHei UI</family>
|
||||
<pointsize>17</pointsize>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>System=DateTime, Action=ModifySystem, Index=8,main=1,SelectImag=SR_001.png</string>
|
||||
</property>
|
||||
<property name="autoFillBackground">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(40, 40, 41);
|
||||
color: rgb(231, 241, 214);
|
||||
font: 17pt "Microsoft YaHei UI";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>2024-5-18 13 : 14 : 59</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
131
QT5_Project/ZM_4/UI/P05CameraView.ui
Normal file
@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P05CameraView</class>
|
||||
<widget class="QMainWindow" name="P05CameraView">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=5</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QLabel" name="P05BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../Light_image/Light_CameraView.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>60</y>
|
||||
<width>60</width>
|
||||
<height>391</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="Btn_Home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>20</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=9, Action=SetPage0,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QLabel" name="Canvas00">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>64</x>
|
||||
<y>125</y>
|
||||
<width>951</width>
|
||||
<height>461</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>canvas0=camera0, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="CameraChioceLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>180</x>
|
||||
<y>70</y>
|
||||
<width>21</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>26</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(83, 106, 185);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>1</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
330
QT5_Project/ZM_4/UI/P11LightDeviceMenu.ui
Normal file
@ -0,0 +1,330 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P11DeviceMenu</class>
|
||||
<widget class="QMainWindow" name="P11DeviceMenu">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=11</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QLabel" name="P01BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string>background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../Light_image/Light_DeviceMenu.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="Btns">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>155</x>
|
||||
<y>140</y>
|
||||
<width>750</width>
|
||||
<height>420</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="Btn01">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>117</x>
|
||||
<y>28</y>
|
||||
<width>256</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=1,Action=SetPage12+SetBinding,SelectImag=SR_004.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>运行数据</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>364</width>
|
||||
<height>85</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Btn02">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>117</x>
|
||||
<y>108</y>
|
||||
<width>256</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=2, Action=SetPage13+SetBinding,SelectImag=SR_004.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>开关操作</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>364</width>
|
||||
<height>85</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Btn03">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>117</x>
|
||||
<y>188</y>
|
||||
<width>256</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=3, Action=SetPage14+SetBinding,SelectImag=SR_004.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> 保护参数设置</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>364</width>
|
||||
<height>85</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Btn04">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>117</x>
|
||||
<y>268</y>
|
||||
<width>256</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=4, Action=SetPage17+SetBinding,SelectImag=SR_004.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> 系统参数设置</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>364</width>
|
||||
<height>85</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Btn05">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>398</x>
|
||||
<y>28</y>
|
||||
<width>256</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=5, Action=SetPage16+SetBinding+CmdAlarmNext,SelectImag=SR_004.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>故障查询</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>364</width>
|
||||
<height>85</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Btn06">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>398</x>
|
||||
<y>109</y>
|
||||
<width>256</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=6, Action=SetPage18+SetBinding ,SelectImag=SR_004.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>现场试验</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>364</width>
|
||||
<height>85</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="BindNum_Title">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>315</x>
|
||||
<y>111</y>
|
||||
<width>21</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(246, 156, 72);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>3</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>68</y>
|
||||
<width>54</width>
|
||||
<height>524</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="sys_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>7</x>
|
||||
<y>13</y>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=0, Action=SetPage0,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
868
QT5_Project/ZM_4/UI/P12LightDataView.ui
Normal file
@ -0,0 +1,868 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P12DataView</class>
|
||||
<widget class="QMainWindow" name="P12DataView">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=12</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QLabel" name="TestCameraView">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>510</x>
|
||||
<y>160</y>
|
||||
<width>502</width>
|
||||
<height>429</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>canvas1=camera0, Timeout=3000</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="P12BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string>background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(207, 0, 13);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../Light_image/Light_DataView.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="BindNum_Title">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>191</x>
|
||||
<y>85</y>
|
||||
<width>31</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>36</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(220, 240, 187);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>3</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>160</y>
|
||||
<width>431</width>
|
||||
<height>428</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;
|
||||
background-color: rgba(255, 255, 255,0);</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QLineEdit" name="lineEdit_15">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>200</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Uab, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_13">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>160</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ia, Timeout=5000,</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_14">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>190</x>
|
||||
<y>160</y>
|
||||
<width>90</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ib, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_16">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>320</x>
|
||||
<y>160</y>
|
||||
<width>90</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ic, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_18">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>190</x>
|
||||
<y>200</y>
|
||||
<width>90</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ubc, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_19">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>320</x>
|
||||
<y>200</y>
|
||||
<width>90</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Uca, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="m01_SwitchStatus_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>133</x>
|
||||
<y>4</y>
|
||||
<width>291</width>
|
||||
<height>83</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchStatus, ImageValue=IM03_SwitchStatus_%d.png, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_20">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>204</x>
|
||||
<y>240</y>
|
||||
<width>80</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>OnCount, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_21">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>240</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Ro, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_29">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>304</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>B1_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_28">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>304</y>
|
||||
<width>60</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>A1_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_31">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>340</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>A2_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_33">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>350</x>
|
||||
<y>340</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>C2_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_30">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>350</x>
|
||||
<y>304</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>C1_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_32">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>340</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>B2_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_34">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>350</x>
|
||||
<y>377</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>C3_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_35">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>377</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>A3_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_36">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>377</y>
|
||||
<width>61</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>B3_down, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(177, 229, 252);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_AlarmMessage_0">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>126</x>
|
||||
<y>96</y>
|
||||
<width>300</width>
|
||||
<height>35</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="mouseTracking">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmMessage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>60</y>
|
||||
<width>55</width>
|
||||
<height>140</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="sys_menu">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>78</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=0, Action=SetPage11,SelectImag=IMxx_00D.png,groupend=2</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>20</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=1, Action=SetPage0,SelectImag=IMxx_00D.png, groupstart=2</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<zorder>P12BG</zorder>
|
||||
<zorder>TestCameraView</zorder>
|
||||
<zorder>BindNum_Title</zorder>
|
||||
<zorder>groupBox</zorder>
|
||||
<zorder>groupBox_sys</zorder>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
406
QT5_Project/ZM_4/UI/P13LightSwitchAction.ui
Normal file
@ -0,0 +1,406 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P13SwitchAction</class>
|
||||
<widget class="QMainWindow" name="P13SwitchAction">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=13</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QLabel" name="P13BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../Light_image/Ligth_SwitchAction.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>60</y>
|
||||
<width>55</width>
|
||||
<height>140</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="sys_menu">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>78</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=1, Action=SetPage11,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>20</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=0, Action=SetPage0,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>100</y>
|
||||
<width>761</width>
|
||||
<height>491</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="SwitchOn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>41</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchOn,Index=2,Action=CmdExecute, SelectImag=SR_002.png, groupstart=6</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="SwitchOff">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>98</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchOff,Index=3,Action=CmdExecute, SelectImag=SR_002.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="m01_SwitchStatus_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>248</x>
|
||||
<y>23</y>
|
||||
<width>291</width>
|
||||
<height>83</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchStatus, ImageValue=IM03_SwitchStatus_%d.png, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="SwitchRecover">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>153</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchOff,Index=4,Action=CmdExecute, SelectImag=SR_002.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_AlarmMessage_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>112</y>
|
||||
<width>281</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmMessage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(207, 0, 13);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="quit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>432</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=7, Action=SetPage11,SelectImag=SR_002.png, groupend=6</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="TestCameraView">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>12</x>
|
||||
<y>197</y>
|
||||
<width>528</width>
|
||||
<height>285</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>canvas0=camera0, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Box</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_CarMessage_14">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>163</y>
|
||||
<width>281</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CarPositionMsg,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255,0);
|
||||
color: rgb(255, 170, 0);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="CarBackward">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>320</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CarRetreat,Index=6,Action=CmdExecute, SelectImag=SR_001.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="CarForward">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>262</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CarForward,Index=5,Action=CmdExecute, SelectImag=SR_001.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="BindNum_Title">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>214</x>
|
||||
<y>70</y>
|
||||
<width>31</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>26</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(154, 188, 241);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
1734
QT5_Project/ZM_4/UI/P14LightParamSet.ui
Normal file
586
QT5_Project/ZM_4/UI/P16LightFaultQuery.ui
Normal file
@ -0,0 +1,586 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P16FaultQuery</class>
|
||||
<widget class="QMainWindow" name="P16FaultQuery">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=16</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QLabel" name="P16BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../Light_image/Ligth_FaultQuery.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>254</x>
|
||||
<y>190</y>
|
||||
<width>541</width>
|
||||
<height>341</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=2</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="Btn_Pre">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>3</x>
|
||||
<y>283</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=2,Action=CmdAlarmPrev, SelectImag=SR_002.png, groupstart=3</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Btn_Next">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>183</x>
|
||||
<y>283</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=3,Action=CmdAlarmNext, SelectImag=SR_002.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="alarmTitle">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>58</y>
|
||||
<width>391</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(160, 206, 226);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>..</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="alarmTime">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>15</y>
|
||||
<width>391</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(160, 206, 226);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="alarmMsg">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>102</y>
|
||||
<width>391</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(255, 122, 107);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_menu_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>364</x>
|
||||
<y>283</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=4, Action=SetPage11, SelectImag=SR_002.png, groupend=3</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>350</y>
|
||||
<width>550</width>
|
||||
<height>100</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;
|
||||
background-color: rgba(255, 255, 255,0);</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QLineEdit" name="lineEdit_15">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>170</x>
|
||||
<y>11</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmUb, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(227, 183, 33);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>.</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_13">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>40</x>
|
||||
<y>11</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmUa, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(227, 183, 33);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>12554</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_14">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>40</x>
|
||||
<y>65</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmIa, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(117, 167, 98);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>.</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_18">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>170</x>
|
||||
<y>65</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmIb, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(117, 167, 98);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>.</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_21">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>310</x>
|
||||
<y>11</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmUc, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(227, 183, 33);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>.</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_22">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>310</x>
|
||||
<y>65</y>
|
||||
<width>81</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmIc, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(117, 167, 98);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>.</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_23">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>440</x>
|
||||
<y>11</y>
|
||||
<width>71</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>14</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmRo, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(60, 82, 136);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>.</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>60</y>
|
||||
<width>55</width>
|
||||
<height>140</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="sys_menu">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>78</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=1, Action=SetPage11,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>7</x>
|
||||
<y>20</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=0, Action=SetPage0,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="BindNum_Title">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>378</x>
|
||||
<y>122</y>
|
||||
<width>31</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>36</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(255, 122, 107);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>3</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
792
QT5_Project/ZM_4/UI/P17LightSystemSet.ui
Normal file
@ -0,0 +1,792 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P17SystemSet</class>
|
||||
<widget class="QMainWindow" name="P17SystemSet">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=17</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>63</x>
|
||||
<y>63</y>
|
||||
<width>237</width>
|
||||
<height>533</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=14</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QLineEdit" name="lineEdit_28">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>300</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Temperature, Action=Modify, Index=9, Format=%03.0f, Caption=温度设定,Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_29">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>78</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Gas, Action=Modify, Index=1, Alias=alias_input, Caption=瓦斯触点,Timeout=5000,SelectImag=P4_ParaSelect.png, groupstart=11</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_30">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>104</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>GasDelay, Action=Modify, Index=2, Format=%06.2f, Caption=瓦斯延时, Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_31">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>133</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>GasConcentration, Action=Modify, Index=3, Format=%05.2f, Caption=瓦斯浓度, Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_32">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>161</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Fan, Action=Modify, Index=4, Alias=alias_input, Caption=风电触点,Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_36">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>189</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>FanDelay, Action=Modify, Index=5, Format=%06.2f, Caption=风电延时, Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_37">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>218</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>FarAndNearMode, Action=Modify, Index=6, Alias=alias_remote, Caption=远近控模式,Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_38">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>245</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>MaintenanceMode, Action=Modify, Index=7, Alias=alias_bool, Caption=维修模式,Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="BlankTimelineEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>357</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>System=ScreenBlankingTime, Action=ModifySystem, Index=11,SelectImag=P4_ParaSelect.png, password, groupend=11</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_44">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>328</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>System=SystemPassWord, Action=ModifySystem, Index=10,SelectImag=P4_ParaSelect.png, password</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>****</string>
|
||||
</property>
|
||||
<property name="echoMode">
|
||||
<enum>QLineEdit::Password</enum>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_39">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>273</y>
|
||||
<width>89</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CarAlarmDelay, Action=Modify, Index=8, Caption=小车报警延时,Timeout=5000, Format=%05.1f, SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>303</x>
|
||||
<y>63</y>
|
||||
<width>237</width>
|
||||
<height>533</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=15</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QLineEdit" name="lineEdit_26">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>76</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>485Address, Action=Modify, Index=1, Format=%03.0f, Caption=485地址, Timeout=5000,SelectImag=P4_ParaSelect.png, groupstart=5</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_27">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>104</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>485Baud, Action=Modify, Index=2, Alias=alias_baud, Caption=485波特率,Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_33">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>132</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>485Parity, Action=Modify, Index=3, Alias=alias_parity, Caption=485校验,Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_34">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>160</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CANAddress, Action=Modify, Index=4, Format=%03.0f, Caption=CAN地址, Timeout=5000,SelectImag=P4_ParaSelect.png</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_35">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>138</x>
|
||||
<y>188</y>
|
||||
<width>92</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>CANBaud, Action=Modify, Index=5, Alias=alias_can_baud, Caption=CAN波特率,Timeout=5000,SelectImag=P4_ParaSelect.png, groupend=5</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(85, 170, 127,0);
|
||||
color: rgb(255, 170, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="sys_P00_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>303</x>
|
||||
<y>65</y>
|
||||
<width>235</width>
|
||||
<height>526</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>groupend=2,Index=3, Action=SetMain15,SelectImag=IM04_00.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>450</width>
|
||||
<height>876</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_P00_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>63</x>
|
||||
<y>65</y>
|
||||
<width>235</width>
|
||||
<height>526</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>groupstart=2,Index=2, Action=SetMain14,SelectImag=IM04_00.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>450</width>
|
||||
<height>876</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>80</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=0, Action=SetPage0,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_menu">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>139</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=1, Action=SetPage11,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="BindNum_Title">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>425</x>
|
||||
<y>15</y>
|
||||
<width>331</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(170, 170, 255);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>当前设备</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>sys_P00_2</zorder>
|
||||
<zorder>sys_P00_3</zorder>
|
||||
<zorder>sys_home</zorder>
|
||||
<zorder>sys_menu</zorder>
|
||||
<zorder>BindNum_Title</zorder>
|
||||
</widget>
|
||||
<widget class="QLabel" name="P07BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../Light_image/Light_SystemSet.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>P07BG</zorder>
|
||||
<zorder>groupBox</zorder>
|
||||
<zorder>groupBox_2</zorder>
|
||||
<zorder>groupBox_sys_2</zorder>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
311
QT5_Project/ZM_4/UI/P18LightFieldTestAction.ui
Normal file
@ -0,0 +1,311 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>P18FieldTestAction</class>
|
||||
<widget class="QMainWindow" name="P18FieldTestAction">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Page=18</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QLabel" name="P18BG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
<width>1024</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap>../Light_image/Light_FieldTestAction.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="BindNum_Title">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>378</x>
|
||||
<y>125</y>
|
||||
<width>31</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>36</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(143, 188, 109);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>3</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>259</x>
|
||||
<y>200</y>
|
||||
<width>541</width>
|
||||
<height>341</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="Test01">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>48</x>
|
||||
<y>176</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>TestShort,Index=2,Action=CmdExecute, SelectImag=SR_002.png, groupstart=4</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Test02">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>48</x>
|
||||
<y>250</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>TestIsolation,Index=3,Action=CmdExecute, SelectImag=SR_002.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Reset">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>306</x>
|
||||
<y>176</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>TestRecover,Index=4,Action=CmdExecute, SelectImag=SR_002.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>72</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="m03_AlarmMessage_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>223</x>
|
||||
<y>112</y>
|
||||
<width>250</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>黑体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>AlarmMessage,Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 238, 254,0);
|
||||
color: rgb(207, 0, 13);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="m01_SwitchStatus_0">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>260</x>
|
||||
<y>37</y>
|
||||
<width>211</width>
|
||||
<height>62</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Arial</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>SwitchStatus, ImageValue=IM00_SwitchStatus_%d.png, Timeout=5000</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="quit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>306</x>
|
||||
<y>250</y>
|
||||
<width>170</width>
|
||||
<height>52</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=5, Action=SetPage11,SelectImag=SR_002.png, groupend=4</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_sys">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>60</y>
|
||||
<width>55</width>
|
||||
<height>140</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>main=1</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:none;</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QPushButton" name="sys_menu">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>78</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=1, Action=SetPage11,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="sys_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>7</x>
|
||||
<y>20</y>
|
||||
<width>42</width>
|
||||
<height>42</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Index=0, Action=SetPage0,SelectImag=IMxx_00D.png</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>72</width>
|
||||
<height>144</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
1623
QT5_Project/ZM_4/UIFrameWork.py
Normal file
5
QT5_Project/ZM_4/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
import sys
|
||||
sys_path = sys.path[0].replace("\\", "/")
|
||||
sys_path_linux = sys_path + "/../.."
|
||||
if sys_path_linux not in sys.path :
|
||||
sys.path.append(sys_path_linux)
|
||||
BIN
QT5_Project/ZM_4/background/IM00_01B.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
QT5_Project/ZM_4/background/IM00_01C.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
QT5_Project/ZM_4/background/IM00_SwitchStatus_0.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
QT5_Project/ZM_4/background/IM00_SwitchStatus_1.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
QT5_Project/ZM_4/background/IM01_01.png
Normal file
|
After Width: | Height: | Size: 324 B |
BIN
QT5_Project/ZM_4/background/IM01_0122.png
Normal file
|
After Width: | Height: | Size: 593 B |
BIN
QT5_Project/ZM_4/background/IM03_001.png
Normal file
|
After Width: | Height: | Size: 661 B |
BIN
QT5_Project/ZM_4/background/IM03_SwitchStatus_0.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
QT5_Project/ZM_4/background/IM03_SwitchStatus_1.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
QT5_Project/ZM_4/background/IM04_00.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
QT5_Project/ZM_4/background/IM05_002.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
QT5_Project/ZM_4/background/IM05_A1.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
QT5_Project/ZM_4/background/IM05_A2.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
QT5_Project/ZM_4/background/IM05_A3.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
QT5_Project/ZM_4/background/IMxx_00D.png
Normal file
|
After Width: | Height: | Size: 570 B |
BIN
QT5_Project/ZM_4/background/P4_ParaSelect.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
QT5_Project/ZM_4/background/SR_001.png
Normal file
|
After Width: | Height: | Size: 232 B |
BIN
QT5_Project/ZM_4/background/SR_002.png
Normal file
|
After Width: | Height: | Size: 675 B |
BIN
QT5_Project/ZM_4/background/SR_003.png
Normal file
|
After Width: | Height: | Size: 672 B |
BIN
QT5_Project/ZM_4/background/SR_004.png
Normal file
|
After Width: | Height: | Size: 652 B |
BIN
QT5_Project/ZM_4/image/DeviceList.png
Normal file
|
After Width: | Height: | Size: 99 KiB |