HX_CoalFlowDetect/view/coalstatisticschartwidget.ui

353 lines
9.1 KiB
Plaintext
Raw Normal View History

2024-11-01 17:40:37 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CoalStatisticsChartWidget</class>
<widget class="QWidget" name="CoalStatisticsChartWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>630</width>
<height>350</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,1,8">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
2024-11-05 17:48:05 +08:00
<number>5</number>
2024-11-01 17:40:37 +08:00
</property>
<property name="leftMargin">
2024-11-05 17:48:05 +08:00
<number>6</number>
2024-11-01 17:40:37 +08:00
</property>
<property name="rightMargin">
2024-11-05 17:48:05 +08:00
<number>6</number>
2024-11-01 17:40:37 +08:00
</property>
<item>
<widget class="QLabel" name="label">
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="styleSheet">
<string notr="true">QLabel{
color: rgb(255, 255, 255);
font: 10pt &quot;黑体&quot;;
}</string>
</property>
<property name="text">
<string>开始时间</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="ZDateTimeEdit" name="dateTimeEdit_startTime">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QDateTimeEdit {
background-color: rgb(51, 52, 56);
color: white; /* 字体颜色 */
border: 1px solid rgb(180, 186, 188); /* 边框颜色和宽度 */
border-radius: 0px; /* 圆角 */
padding: 5px; /* 内边距 */
font-size: 14px; /* 字体大小 */
font-family: &quot;Arial&quot;, sans-serif; /* 字体样式 */
}
QDateTimeEdit::up-button {
subcontrol-origin: padding;
subcontrol-position: top right;
}
QDateTimeEdit::down-button {
subcontrol-origin: padding;
subcontrol-position: bottom right;
}
QDateTimeEdit::up-button, QDateTimeEdit::down-button {
width: 0px;
height: 0px;
}
</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="styleSheet">
<string notr="true">QLabel{
color: rgb(255, 255, 255);
font: 10pt &quot;黑体&quot;;
}</string>
</property>
<property name="text">
<string>结束时间</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="ZDateTimeEdit" name="dateTimeEdit_endTime">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QDateTimeEdit {
background-color: rgb(51, 52, 56);
color: white; /* 字体颜色 */
border: 1px solid rgb(180, 186, 188); /* 边框颜色和宽度 */
border-radius: 0px; /* 圆角 */
padding: 5px; /* 内边距 */
font-size: 14px; /* 字体大小 */
font-family: &quot;Arial&quot;, sans-serif; /* 字体样式 */
}
QDateTimeEdit::up-button {
subcontrol-origin: padding;
subcontrol-position: top right;
}
QDateTimeEdit::down-button {
subcontrol-origin: padding;
subcontrol-position: bottom right;
}
QDateTimeEdit::up-button, QDateTimeEdit::down-button {
width: 0px;
height: 0px;
}
</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="styleSheet">
<string notr="true">QLabel{
color: rgb(255, 255, 255);
font: 10pt &quot;黑体&quot;;
}</string>
</property>
<property name="text">
<string>统计单位</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_unit">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QComboBox{
background-color: rgb(51, 52, 56);
color: white; /* 字体颜色 */
border: 1px solid rgb(180, 186, 188); /* 边框颜色和宽度 */
border-radius: 0px; /* 圆角 */
padding: 5px; /* 内边距 */
font-size: 14px; /* 字体大小 */
font-family: &quot;Arial&quot;, sans-serif; /* 字体样式 */
}</string>
</property>
<item>
<property name="text">
<string>时</string>
</property>
</item>
<item>
<property name="text">
<string>日</string>
</property>
</item>
<item>
<property name="text">
<string>月</string>
</property>
</item>
<item>
<property name="text">
<string>年</string>
</property>
</item>
</widget>
</item>
2024-11-05 17:48:05 +08:00
<item>
<widget class="QPushButton" name="pushButton_coalStatisOk">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>45</width>
<height>20</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton{
border-image: url(:/Resource/image/labelunSelect.png);
color:white;
font-size: 14px;
border: none;
}
QPushButton:hover{
border-image: url(:/Resource/image/labelhover.png);
}
QPushButton:pressed{
border-image: url(:/Resource/image/labelSelect.png);
}
</string>
</property>
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
2024-11-01 17:40:37 +08:00
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="styleSheet">
<string notr="true">QLabel{
color: rgb(255, 255, 255);
font: 10pt &quot;黑体&quot;;
}</string>
</property>
<property name="text">
<string>煤量总计:000吨</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QRadioButton" name="radioButton_hour">
<property name="styleSheet">
<string notr="true">QRadioButton{
color: rgb(255, 255, 255);
}</string>
</property>
<property name="text">
<string>时</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButton_day">
<property name="styleSheet">
<string notr="true">QRadioButton{
color: rgb(255, 255, 255);
}</string>
</property>
<property name="text">
<string>日</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButton_month">
<property name="styleSheet">
<string notr="true">QRadioButton{
color: rgb(255, 255, 255);
}</string>
</property>
<property name="text">
<string>月</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioButton_year">
<property name="styleSheet">
<string notr="true">QRadioButton{
color: rgb(255, 255, 255);
}</string>
</property>
<property name="text">
<string>年</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QWidget" name="widget_coalChart" native="true">
<layout class="QVBoxLayout" name="verticalLayout_3"/>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ZDateTimeEdit</class>
<extends>QDateTimeEdit</extends>
<header>component/ZDateEdit/zdatetimeedit.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>