179 lines
4.3 KiB
XML
179 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>enter_Window</class>
|
||
<widget class="QMainWindow" name="enter_Window">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>651</width>
|
||
<height>474</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>主窗口</string>
|
||
</property>
|
||
<widget class="QWidget" name="centralwidget">
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="camstatus_label">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QLabel
|
||
{
|
||
/*字体为微软雅黑*/
|
||
font-family:Microsoft Yahei;
|
||
/*字体大小为20点*/
|
||
font-size:30pt;
|
||
/*字体颜色为白色*/
|
||
/*color:white;*/
|
||
/*背景颜色*/
|
||
background-color:rgb(225 , 225 , 225);
|
||
/*边框圆角半径为8像素*/
|
||
border-radius:20px;
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>正在打开相机...</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QPushButton" name="spectral_mode_bt">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">/*按钮普通态*/
|
||
QPushButton
|
||
{
|
||
/*字体为微软雅黑*/
|
||
font-family:Microsoft Yahei;
|
||
/*字体大小为20点*/
|
||
font-size:25pt;
|
||
/*字体颜色为白色*/
|
||
/*color:white;*/
|
||
/*背景颜色*/
|
||
background-color:rgb(225 , 225 , 225);
|
||
/*边框圆角半径为8像素*/
|
||
border-radius:20px;
|
||
}
|
||
|
||
/*按钮停留态*/
|
||
QPushButton:hover
|
||
{
|
||
/*背景颜色*/
|
||
background-color:rgb(44 , 137 , 255);
|
||
/*边框圆角半径为8像素*/
|
||
/*border-radius:20px;*/
|
||
}
|
||
|
||
/*按钮按下态*/
|
||
QPushButton:pressed
|
||
{
|
||
/*背景颜色*/
|
||
background-color:rgb(255 , 0 , 0);
|
||
|
||
/*左内边距为3像素,让按下时字向右移动3像素*/
|
||
padding-left:3px;
|
||
|
||
/*上内边距为3像素,让按下时字向下移动3像素*/
|
||
padding-top:3px;
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>光谱模式</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QPushButton" name="image_mode_phone_bt">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">/*按钮普通态*/
|
||
QPushButton
|
||
{
|
||
/*字体为微软雅黑*/
|
||
font-family:Microsoft Yahei;
|
||
/*字体大小为20点*/
|
||
font-size:25pt;
|
||
/*字体颜色为白色*/
|
||
/*color:white;*/
|
||
/*背景颜色*/
|
||
background-color:rgb(225 , 225 , 225);
|
||
/*边框圆角半径为8像素*/
|
||
border-radius:20px;
|
||
}
|
||
|
||
/*按钮停留态*/
|
||
QPushButton:hover
|
||
{
|
||
/*背景颜色*/
|
||
background-color:rgb(44 , 137 , 255);
|
||
/*边框圆角半径为8像素*/
|
||
/*border-radius:20px;*/
|
||
}
|
||
|
||
/*按钮按下态*/
|
||
QPushButton:pressed
|
||
{
|
||
/*背景颜色*/
|
||
background-color:rgb(255 , 0 , 0);
|
||
|
||
/*左内边距为3像素,让按下时字向右移动3像素*/
|
||
padding-left:3px;
|
||
|
||
/*上内边距为3像素,让按下时字向下移动3像素*/
|
||
padding-top:3px;
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>影像模式</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QMenuBar" name="menubar">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>651</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
</widget>
|
||
<widget class="QStatusBar" name="statusbar"/>
|
||
<action name="actionwew_e">
|
||
<property name="text">
|
||
<string>wew e</string>
|
||
</property>
|
||
</action>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|