123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>page_main</class>
- <widget class="QMainWindow" name="page_main">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1066</width>
- <height>749</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <property name="styleSheet">
- <string notr="true">font: "宋体";</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <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>
- <property name="spacing">
- <number>0</number>
- </property>
- <item row="0" column="0">
- <widget class="QWidget" name="menu_widget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>400</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>40</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">QWidget#menu_widget {
- background-color:rgb(86, 104, 156)
- }</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <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>
- <spacer name="horizontalSpacer_7">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>23</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label">
- <property name="styleSheet">
- <string notr="true">QLabel {
- font:bold 28px;
- color:rgb(225, 215, 183);
- }</string>
- </property>
- <property name="text">
- <string>NGS仿真</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="logout_button">
- <property name="minimumSize">
- <size>
- <width>58</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>58</width>
- <height>30</height>
- </size>
- </property>
- <property name="cursor">
- <cursorShape>PointingHandCursor</cursorShape>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="styleSheet">
- <string notr="true">QPushButton {
- border:1px solid rgb(170, 0, 0);
- background-color:transparent;
- font-size:18px;
- color:rgb(170, 0, 0);
- border-radius:4px;
- }
- QPushButton:hover {
- background-color:rgba(254,134,55,1);
- color:rgba(255,255,255,1);
- }
- </string>
- </property>
- <property name="text">
- <string>退出</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_6">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>11</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="spacing">
- <number>0</number>
- </property>
- <item>
- <widget class="QWidget" name="main_fun_widget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>105</width>
- <height>400</height>
- </size>
- </property>
- <property name="font">
- <font>
- <family>Microsoft Sans Serif</family>
- <italic>false</italic>
- <bold>false</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true">QWidget#main_fun_widget {
- border-right:6px solid qlineargradient(x0: 0, x1: 1, stop: 0 rgba(0, 0, 0, 0), stop: 1 rgba(0, 0, 0, 0.18));
- background-color:rgba(246,246,246,1);
- }
- QPushButton {
-
- font: 12pt "宋体";
- font-size:16px;
- color:rgba(51,51,51,1);
- background-color:transparent;
- text-align:left;
- border-top:none;
- border-left:none;
- border-right:none;
- border-bottom:2px solid transparent;
- padding:0px 0px 0px 20px;
- margin:0px 0px;
- }
- QPushButton:checked {
-
- background-color:rgb(125, 147, 195);
- }
- QPushButton:hover {
- border-bottom:2px solid rgb(225, 215, 183);
- }</string>
- </property>
- <widget class="QPushButton" name="btn_model_select">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>100</width>
- <height>44</height>
- </rect>
- </property>
- <property name="cursor">
- <cursorShape>PointingHandCursor</cursorShape>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="text">
- <string>模型设置</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>:/mainwindow/images/mainwindow/home.png</normaloff>:/mainwindow/images/mainwindow/home.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton" name="btn_chart_file">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>40</y>
- <width>100</width>
- <height>44</height>
- </rect>
- </property>
- <property name="cursor">
- <cursorShape>PointingHandCursor</cursorShape>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="text">
- <string>曲线显示</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>:/mainwindow/images/mainwindow/home.png</normaloff>:/mainwindow/images/mainwindow/home.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton" name="btn_database">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>80</y>
- <width>100</width>
- <height>44</height>
- </rect>
- </property>
- <property name="cursor">
- <cursorShape>PointingHandCursor</cursorShape>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="text">
- <string>历史数据</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>:/mainwindow/images/mainwindow/home.png</normaloff>:/mainwindow/images/mainwindow/home.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QStackedWidget" name="fun_stacked_widget">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>848</width>
- <height>424</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">QStackedWidget#fun_stacked_widget {
- background-color:rgba(242,242,242,1);
- }</string>
- </property>
- <property name="lineWidth">
- <number>1</number>
- </property>
- <property name="currentIndex">
- <number>-1</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1066</width>
- <height>25</height>
- </rect>
- </property>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- </widget>
- <resources/>
- <connections/>
- </ui>
|