Files
QWidgetDemo/pressureconversioncalculator/form/frmmain.ui
2020-11-16 16:25:43 +08:00

507 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>frmMain</class>
<widget class="QDialog" name="frmMain">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QWidget" name="widgetTitle" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<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="pixmap">
<pixmap resource="../other/main.qrc">:/image/logo.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</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_3">
<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 resource="../other/main.qrc">
<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="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 resource="../other/main.qrc">
<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">
<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">
<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="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</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="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</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="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QStackedWidget" name="stackedWidget">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>104</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_rbit">
<property name="text">
<string>小数点保留位</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_bar">
<property name="text">
<string>巴 (bar)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_kpa">
<property name="text">
<string>千帕 (kPa)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_mbar">
<property name="text">
<string>毫巴 (mbar)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_unit">
<property name="text">
<string>标准大气压</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_feet">
<property name="text">
<string>磅力/英尺2</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_british_hg">
<property name="text">
<string>英吋汞柱</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_kilogram_force">
<property name="text">
<string>公斤力/米2</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QSpinBox" name="spinBox_rbit">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>10</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_bar"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_kpa"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_mbar"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_unit"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_feet"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_british_hg"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_kilogram_force"/>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>105</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QLabel" name="label_mpa">
<property name="text">
<string>兆帕 (MPa)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_hpa">
<property name="text">
<string>百帕 (hPa)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_pascal">
<property name="text">
<string>帕斯卡</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_mmhg">
<property name="text">
<string>毫米汞柱 (托)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_cmz">
<property name="text">
<string>磅力/英寸2</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_kgf_cm2">
<property name="text">
<string>公斤力/厘米2</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_mm_water_column">
<property name="text">
<string>毫米水柱</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QLineEdit" name="lineEdit_mpa"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_hpa"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_pascal"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_mmhg"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_cmz"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_kgf_cm2"/>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_mm_water_column"/>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>104</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="page2">
<layout class="QVBoxLayout" name="verticalLayout_3"/>
</widget>
<widget class="QWidget" name="page3">
<layout class="QVBoxLayout" name="verticalLayout_5"/>
</widget>
<widget class="QWidget" name="page4">
<layout class="QVBoxLayout" name="verticalLayout_4"/>
</widget>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../other/main.qrc"/>
</resources>
<connections/>
</ui>