<?xml version="1.0" encoding="UTF-8"?>
|
<ui version="4.0">
|
<class>RegularInvestment</class>
|
<widget class="QMainWindow" name="RegularInvestment">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>856</width>
|
<height>627</height>
|
</rect>
|
</property>
|
<property name="windowTitle">
|
<string>MainWindow</string>
|
</property>
|
<widget class="QWidget" name="centralwidget">
|
<layout class="QGridLayout" name="gridLayout">
|
<item row="0" column="0">
|
<widget class="QTabWidget" name="tabWidget">
|
<property name="currentIndex">
|
<number>1</number>
|
</property>
|
<widget class="QWidget" name="tab">
|
<attribute name="title">
|
<string>定投测试</string>
|
</attribute>
|
<layout class="QGridLayout" name="gridLayout_3">
|
<item row="0" column="0">
|
<widget class="QGroupBox" name="groupBox">
|
<property name="title">
|
<string>定投设置</string>
|
</property>
|
<layout class="QGridLayout" name="gridLayout_2">
|
<item row="0" column="0">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
<item>
|
<widget class="QLabel" name="label">
|
<property name="text">
|
<string>个股</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QComboBox" name="comboBox">
|
<property name="editable">
|
<bool>true</bool>
|
</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>
|
<item>
|
<property name="text">
|
<string>工商银行</string>
|
</property>
|
</item>
|
</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="QLabel" name="label_7">
|
<property name="text">
|
<string>周期:</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QComboBox" name="comboBox_2">
|
<item>
|
<property name="text">
|
<string>月</string>
|
</property>
|
</item>
|
<item>
|
<property name="text">
|
<string>年</string>
|
</property>
|
</item>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_6">
|
<property name="text">
|
<string>开始时间:</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QDateTimeEdit" name="dateTimeEdit">
|
<property name="calendarPopup">
|
<bool>true</bool>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_2">
|
<property name="text">
|
<string>最新价</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_closePrice">
|
<property name="text">
|
<string>0</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</item>
|
<item row="0" column="1" rowspan="2">
|
<widget class="QPushButton" name="pushButton">
|
<property name="text">
|
<string>开始测试</string>
|
</property>
|
</widget>
|
</item>
|
<item row="1" column="0">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<item>
|
<widget class="QLabel" name="label_4">
|
<property name="text">
|
<string>定投金额[元]</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLineEdit" name="lineEdit"/>
|
</item>
|
</layout>
|
</item>
|
<item row="2" column="0">
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
<item>
|
<widget class="QLabel" name="label_5">
|
<property name="text">
|
<string>定投份数[手]</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLineEdit" name="lineEdit_2">
|
<property name="text">
|
<string>1</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_10">
|
<property name="text">
|
<string>累计投入(元):</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_buyAll">
|
<property name="text">
|
<string>0</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_9">
|
<property name="text">
|
<string>累计收益(元):</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_winAll">
|
<property name="text">
|
<string>0</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_3">
|
<property name="text">
|
<string>收益比(%):</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_allRate">
|
<property name="text">
|
<string>0</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</item>
|
<item row="2" column="1">
|
<widget class="QPushButton" name="pushButton_sum">
|
<property name="text">
|
<string>统计</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</widget>
|
</item>
|
<item row="1" column="0">
|
<widget class="QTableView" name="tableView"/>
|
</item>
|
</layout>
|
</widget>
|
<widget class="QWidget" name="tab_2">
|
<attribute name="title">
|
<string>开始定投</string>
|
</attribute>
|
<layout class="QGridLayout" name="gridLayout_5">
|
<item row="0" column="0">
|
<widget class="QGroupBox" name="groupBox_2">
|
<property name="title">
|
<string>定投买入</string>
|
</property>
|
<layout class="QGridLayout" name="gridLayout_4">
|
<item row="0" column="0">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
<item>
|
<widget class="QLabel" name="label_8">
|
<property name="text">
|
<string>个股</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QComboBox" name="comboBox_3">
|
<property name="editable">
|
<bool>true</bool>
|
</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>
|
<item>
|
<property name="text">
|
<string>工商银行</string>
|
</property>
|
</item>
|
</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="QLabel" name="label_13">
|
<property name="text">
|
<string>最新价(元)</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLabel" name="label_closePrice_2">
|
<property name="text">
|
<string>0</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<spacer name="horizontalSpacer_3">
|
<property name="orientation">
|
<enum>Qt::Horizontal</enum>
|
</property>
|
<property name="sizeHint" stdset="0">
|
<size>
|
<width>40</width>
|
<height>20</height>
|
</size>
|
</property>
|
</spacer>
|
</item>
|
</layout>
|
</item>
|
<item row="0" column="1">
|
<widget class="QPushButton" name="pushButton_buy">
|
<property name="text">
|
<string>申请买入</string>
|
</property>
|
</widget>
|
</item>
|
<item row="1" column="0">
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
<item>
|
<widget class="QLabel" name="label_11">
|
<property name="text">
|
<string>定投金额[元]</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLineEdit" name="lineEdit_money"/>
|
</item>
|
</layout>
|
</item>
|
<item row="2" column="0">
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
<item>
|
<widget class="QLabel" name="label_12">
|
<property name="text">
|
<string>定投份数[手]</string>
|
</property>
|
</widget>
|
</item>
|
<item>
|
<widget class="QLineEdit" name="lineEdit_buyNum">
|
<property name="text">
|
<string>1</string>
|
</property>
|
</widget>
|
</item>
|
</layout>
|
</item>
|
</layout>
|
</widget>
|
</item>
|
<item row="1" column="0">
|
<widget class="QTableView" name="tableView_buyRecord"/>
|
</item>
|
</layout>
|
</widget>
|
</widget>
|
</item>
|
</layout>
|
</widget>
|
<widget class="QMenuBar" name="menubar">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>856</width>
|
<height>26</height>
|
</rect>
|
</property>
|
</widget>
|
<widget class="QStatusBar" name="statusbar"/>
|
</widget>
|
<resources/>
|
<connections/>
|
</ui>
|