|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>MainWindow</class>
|
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>1440</width>
|
|
|
|
|
<height>900</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>MainWindow</string>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
|
<widget class="QWidget" name="widgetTitle" native="true">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>1440</width>
|
|
|
|
|
<height>65</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>10</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>10</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="labIco">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="labTitle">
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widgetTop" native="true">
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
|
<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="QToolButton" name="btnMain">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>交易记录</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normaloff>:/image/main_main.png</normaloff>:/image/main_main.png</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QToolButton" name="btnConfig">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>动量趋势</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normaloff>:/image/main_config.png</normaloff>:/image/main_config.png</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QToolButton" name="btnData">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>涨跌停板</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normaloff>:/image/main_data.png</normaloff>:/image/main_data.png</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="checked">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QToolButton" name="btnHelp">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>新高新低</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normaloff>:/image/main_person.png</normaloff>:/image/main_person.png</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QToolButton" name="btnExit">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>用户退出</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
|
|
|
|
<normaloff>:/image/main_exit.png</normaloff>:/image/main_exit.png</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
|
<enum>Qt::ToolButtonTextUnderIcon</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
|
<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="QWidget" name="widgetMenu" native="true">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>100</width>
|
|
|
|
|
<height>0</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>100</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<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>
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="1" column="1" colspan="3">
|
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>40</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QPushButton" name="btnMenu_Min">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="cursor">
|
|
|
|
|
<cursorShape>ArrowCursor</cursorShape>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="focusPolicy">
|
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>最小化</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="3">
|
|
|
|
|
<widget class="QPushButton" name="btnMenu_Close">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="cursor">
|
|
|
|
|
<cursorShape>ArrowCursor</cursorShape>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="focusPolicy">
|
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>关闭</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="2">
|
|
|
|
|
<widget class="QPushButton" name="btnMenu_Max">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="focusPolicy">
|
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>70</y>
|
|
|
|
|
<width>1440</width>
|
|
|
|
|
<height>830</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QWidget" name="page">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButton">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>周</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButton_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>月</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButton_3">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string> 季</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButton_4">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>年</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButton_5">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string> 所有日期</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QRadioButton" name="radioButton_6">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>自定</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QDateEdit" name="dateEdit"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string> 至</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QDateEdit" name="dateEdit_2"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>确定</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>当前日期区间</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>20231209-20231209</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="QPushButton" name="addTrade_pushButton">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string> 添加记录</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QTableView" name="tradeTableView"/>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="TrendsWidget" name="trends"/>
|
|
|
|
|
</widget>
|
|
|
|
|
</widget>
|
|
|
|
|
<action name="AddTrading">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>添加交易</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string>添加交易</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
|
|
|
|
</widget>
|
|
|
|
|
<customwidgets>
|
|
|
|
|
<customwidget>
|
|
|
|
|
<class>TrendsWidget</class>
|
|
|
|
|
<extends>QWidget</extends>
|
|
|
|
|
<header location="global">widget/trendswidget.h</header>
|
|
|
|
|
<container>1</container>
|
|
|
|
|
</customwidget>
|
|
|
|
|
</customwidgets>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|