qt_demoe/tool/moneytool/widget.ui

241 lines
6.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Widget</class>
<widget class="QWidget" name="Widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>存款计算器</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QWidget" name="widget" native="true">
<property name="maximumSize">
<size>
<width>600</width>
<height>16777215</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout">
<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 row="2" column="3">
<widget class="QLineEdit" name="txtMoneyAll"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labYear">
<property name="text">
<string>期限</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="labRate">
<property name="text">
<string>利率</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="cboxType">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>单利</string>
</property>
</item>
<item>
<property name="text">
<string>复利</string>
</property>
</item>
</widget>
</item>
<item row="2" column="6">
<widget class="QLineEdit" name="txtValue"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="txtMoneyCurrent">
<property name="text">
<string>1000000</string>
</property>
</widget>
</item>
<item row="0" column="4" rowspan="3">
<widget class="QPushButton" name="btnOk">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>计算</string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QLineEdit" name="txtValue1"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labMoneyCurrent">
<property name="text">
<string>本金</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cboxYear">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>1年</string>
</property>
</item>
<item>
<property name="text">
<string>3年</string>
</property>
</item>
<item>
<property name="text">
<string>5年</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="labYears">
<property name="text">
<string>年限</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labType">
<property name="text">
<string>方式</string>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QRadioButton" name="rbtn2">
<property name="text">
<string>总计2</string>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="QLineEdit" name="txtValue2"/>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="txtRate">
<property name="text">
<string>0.04125</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QRadioButton" name="rbtn1">
<property name="text">
<string>总计1</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="labMoneyAll">
<property name="text">
<string>总计</string>
</property>
</widget>
</item>
<item row="2" column="5">
<widget class="QLabel" name="labValue">
<property name="text">
<string>总计差额</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="txtYears">
<property name="text">
<string>30</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>489</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>txtMoneyCurrent</tabstop>
<tabstop>txtRate</tabstop>
<tabstop>cboxYear</tabstop>
<tabstop>txtYears</tabstop>
<tabstop>cboxType</tabstop>
<tabstop>txtMoneyAll</tabstop>
<tabstop>btnOk</tabstop>
<tabstop>rbtn1</tabstop>
<tabstop>txtValue1</tabstop>
<tabstop>rbtn2</tabstop>
<tabstop>txtValue2</tabstop>
<tabstop>txtValue</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>