703 lines
19 KiB
XML
703 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>dateTimeWidget</class>
|
|
<widget class="QWidget" name="dateTimeWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>214</width>
|
|
<height>154</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="mainLayout">
|
|
<property name="spacing">
|
|
<number>0</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>
|
|
<widget class="QWidget" name="contentWidget" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #contentWidget
|
|
{
|
|
background-color: rgb(24, 32, 38);
|
|
border-left:1px solid rgb(36,43,50);
|
|
border-right:1px solid rgb(36,43,50);
|
|
}</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</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>
|
|
<widget class="QStackedWidget" name="stacked_time">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="page_displayTime">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #page_displayTime
|
|
{
|
|
background-color:transparent;
|
|
border-bottom:1px solid rgb(36,43,50);
|
|
}</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="hLayout_displayTime">
|
|
<property name="spacing">
|
|
<number>0</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>
|
|
<widget class="QLabel" name="label_time">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 18pt "微软雅黑";
|
|
color:rgb(250,250,250);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>11:39:52</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_historicalData">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #page_historicalData
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="hLayout_historicalData">
|
|
<property name="spacing">
|
|
<number>0</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>
|
|
<widget class="QPushButton" name="btnHistoricalData">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 13pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:rgb(68,89,108);
|
|
icon-size:16px;
|
|
icon: url(:/images/icon_history.png);
|
|
border-radius:0px;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgb(39,102,59);
|
|
icon: url(:/images/icon_realtime.png);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>历史数据</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_realTimeData">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #page_realTimeData
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="hLayout__realTimeData">
|
|
<property name="spacing">
|
|
<number>0</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>
|
|
<widget class="QPushButton" name="btnRealTimeData">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 13pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:rgb(39,102,59);
|
|
border-radius:0px;
|
|
icon-size:16px;
|
|
icon: url(:/images/icon_realtime.png);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>实时数据</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnDate">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color: transparent;
|
|
icon-size:18px;
|
|
icon: url(:/images/icon_calendar.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> 2024/09/30</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStackedWidget" name="stacked_range">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #page_rangeDisplay
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="page_rangeDisplay">
|
|
<layout class="QVBoxLayout" name="vLayout_rangeDisplay">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>10</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnRangeSelect1">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>65</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>65</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:700 20pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>30m</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>10</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnRangeSelect2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Minute Chart Range</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_rangeSelect">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #page_rangeSelect
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="btnRange_1m">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>1m</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="btnRange_3m">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>3m</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="btnRange_5m">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>5m</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QPushButton" name="btnRange_10m">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>10m</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="btnRange_30m">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>30m</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QPushButton" name="btnRange_1h">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>1h</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QPushButton" name="btnRange_1d">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>1d</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QPushButton" name="btnRange_7d">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>41</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font:11pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgba(68,89,108,120);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>7d</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|