<?xml version="1.0" encoding="UTF-8"?>
|
<ui version="4.0">
|
<class>RealTimePlayer</class>
|
<widget class="QMainWindow" name="RealTimePlayer">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>793</width>
|
<height>647</height>
|
</rect>
|
</property>
|
<property name="windowTitle">
|
<string>RealTimePlayer</string>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QWidget {
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
stop: 0 #f8f9fa, stop: 1 #e9ecef);
|
font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
|
}</string>
|
</property>
|
<widget class="QWidget" name="centralWidget">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
<item>
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
<item>
|
<widget class="QPushButton" name="btn1x1">
|
<property name="minimumSize">
|
<size>
|
<width>112</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QPushButton {
|
background-color: #1565C0;
|
border: none;
|
color: white;
|
padding: 8px 16px;
|
text-align: center;
|
font-size: 14px;
|
font-weight: bold;
|
border-radius: 6px;
|
min-width: 80px;
|
}
|
|
QPushButton:hover {
|
background-color: #0D47A1;
|
transform: translateY(-1px);
|
}
|
|
QPushButton:pressed {
|
background-color: #01579B;
|
transform: translateY(1px);
|
}
|
|
QPushButton:disabled {
|
background-color: #cccccc;
|
color: #666666;
|
}</string>
|
</property>
|
<property name="text">
|
<string>1画面</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QPushButton" name="btn2x2">
|
<property name="minimumSize">
|
<size>
|
<width>112</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QPushButton {
|
background-color: #1565C0;
|
border: none;
|
color: white;
|
padding: 8px 16px;
|
text-align: center;
|
font-size: 14px;
|
font-weight: bold;
|
border-radius: 6px;
|
min-width: 80px;
|
}
|
|
QPushButton:hover {
|
background-color: #0D47A1;
|
transform: translateY(-1px);
|
}
|
|
QPushButton:pressed {
|
background-color: #01579B;
|
transform: translateY(1px);
|
}
|
|
QPushButton:disabled {
|
background-color: #cccccc;
|
color: #666666;
|
}</string>
|
</property>
|
<property name="text">
|
<string>4画面</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QPushButton" name="btn3x3">
|
<property name="minimumSize">
|
<size>
|
<width>112</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QPushButton {
|
background-color: #1565C0;
|
border: none;
|
color: white;
|
padding: 8px 16px;
|
text-align: center;
|
font-size: 14px;
|
font-weight: bold;
|
border-radius: 6px;
|
min-width: 80px;
|
}
|
|
QPushButton:hover {
|
background-color: #0D47A1;
|
transform: translateY(-1px);
|
}
|
|
QPushButton:pressed {
|
background-color: #01579B;
|
transform: translateY(1px);
|
}
|
|
QPushButton:disabled {
|
background-color: #cccccc;
|
color: #666666;
|
}</string>
|
</property>
|
<property name="text">
|
<string>9画面</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QPushButton" name="btn4x4">
|
<property name="minimumSize">
|
<size>
|
<width>112</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QPushButton {
|
background-color: #1565C0;
|
border: none;
|
color: white;
|
padding: 8px 16px;
|
text-align: center;
|
font-size: 14px;
|
font-weight: bold;
|
border-radius: 6px;
|
min-width: 80px;
|
}
|
|
QPushButton:hover {
|
background-color: #0D47A1;
|
transform: translateY(-1px);
|
}
|
|
QPushButton:pressed {
|
background-color: #01579B;
|
transform: translateY(1px);
|
}
|
|
QPushButton:disabled {
|
background-color: #cccccc;
|
color: #666666;
|
}</string>
|
</property>
|
<property name="text">
|
<string>16画面</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QPushButton" name="btnPlayAll">
|
<property name="minimumSize">
|
<size>
|
<width>112</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QPushButton {
|
background-color: #1565C0;
|
border: none;
|
color: white;
|
padding: 8px 16px;
|
text-align: center;
|
font-size: 14px;
|
font-weight: bold;
|
border-radius: 6px;
|
min-width: 80px;
|
}
|
|
QPushButton:hover {
|
background-color: #0D47A1;
|
transform: translateY(-1px);
|
}
|
|
QPushButton:pressed {
|
background-color: #01579B;
|
transform: translateY(1px);
|
}
|
|
QPushButton:disabled {
|
background-color: #cccccc;
|
color: #666666;
|
}</string>
|
</property>
|
<property name="text">
|
<string>全部播放</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QPushButton" name="btnStopAll">
|
<property name="minimumSize">
|
<size>
|
<width>112</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QPushButton {
|
background-color: #1565C0;
|
border: none;
|
color: white;
|
padding: 8px 16px;
|
text-align: center;
|
font-size: 14px;
|
font-weight: bold;
|
border-radius: 6px;
|
min-width: 80px;
|
}
|
|
QPushButton:hover {
|
background-color: #0D47A1;
|
transform: translateY(-1px);
|
}
|
|
QPushButton:pressed {
|
background-color: #01579B;
|
transform: translateY(1px);
|
}
|
|
QPushButton:disabled {
|
background-color: #cccccc;
|
color: #666666;
|
}</string>
|
</property>
|
<property name="text">
|
<string>全部停止</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</item>
|
<item>
|
<layout class="QGridLayout" name="videoGridLayout" rowstretch="0" columnstretch="0">
|
<property name="leftMargin">
|
<number>5</number>
|
</property>
|
<property name="topMargin">
|
<number>5</number>
|
</property>
|
<property name="rightMargin">
|
<number>5</number>
|
</property>
|
<property name="bottomMargin">
|
<number>5</number>
|
</property>
|
<property name="horizontalSpacing">
|
<number>2</number>
|
</property>
|
<item row="0" column="0">
|
<widget class="QLabel" name="label">
|
<property name="styleSheet">
|
<string notr="true"/>
|
</property>
|
<property name="text">
|
<string/>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</item>
|
<item>
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<item>
|
<widget class="QLabel" name="labelConnectionStatus">
|
<property name="minimumSize">
|
<size>
|
<width>0</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="maximumSize">
|
<size>
|
<width>150</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QLabel {
|
color: #2c3e50;
|
font-size: 12px;
|
font-weight: bold;
|
padding: 5px 10px;
|
background-color: #ecf0f1;
|
border: 1px solid #bdc3c7;
|
border-radius: 4px;
|
margin: 2px;
|
}</string>
|
</property>
|
<property name="text">
|
<string>连接状态: 未连接</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="labelPlayCount">
|
<property name="minimumSize">
|
<size>
|
<width>0</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="maximumSize">
|
<size>
|
<width>150</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QLabel {
|
color: #2c3e50;
|
font-size: 12px;
|
font-weight: bold;
|
padding: 5px 10px;
|
background-color: #ecf0f1;
|
border: 1px solid #bdc3c7;
|
border-radius: 4px;
|
margin: 2px;
|
}</string>
|
</property>
|
<property name="text">
|
<string>播放路数: 0/16</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="labelNetworkDelay">
|
<property name="minimumSize">
|
<size>
|
<width>0</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="maximumSize">
|
<size>
|
<width>150</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QLabel {
|
color: #2c3e50;
|
font-size: 12px;
|
font-weight: bold;
|
padding: 5px 10px;
|
background-color: #ecf0f1;
|
border: 1px solid #bdc3c7;
|
border-radius: 4px;
|
margin: 2px;
|
}</string>
|
</property>
|
<property name="text">
|
<string>网络延迟: --ms</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="labelCurrentTime">
|
<property name="minimumSize">
|
<size>
|
<width>150</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="maximumSize">
|
<size>
|
<width>150</width>
|
<height>35</height>
|
</size>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QLabel {
|
color: #2c3e50;
|
font-size: 12px;
|
font-weight: bold;
|
padding: 5px 10px;
|
background-color: #ecf0f1;
|
border: 1px solid #bdc3c7;
|
border-radius: 4px;
|
margin: 2px;
|
}</string>
|
</property>
|
<property name="text">
|
<string>当前时间: --</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</item>
|
</layout>
|
</widget>
|
<widget class="QMenuBar" name="menuBar">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>793</width>
|
<height>26</height>
|
</rect>
|
</property>
|
</widget>
|
<widget class="QToolBar" name="mainToolBar">
|
<attribute name="toolBarArea">
|
<enum>TopToolBarArea</enum>
|
</attribute>
|
<attribute name="toolBarBreak">
|
<bool>false</bool>
|
</attribute>
|
</widget>
|
<widget class="QStatusBar" name="statusBar"/>
|
</widget>
|
<layoutdefault spacing="6" margin="11"/>
|
<resources/>
|
<connections/>
|
</ui>
|