1.粉紅
(1)顯示
(2)格式
/** 該頁面為粉紅色皮膚 */ /*背景*/ #frame_background{ border-image:url(:/res/pic/background-1.png); } /*登入背景*/ #frame_login{background-color:#ffffff} /*右側圖片*/ #frame_pic{ background-image:url(:/res/pic/1.png); } /*賬戶和密碼框*/ #frame_user_name,#frame_pwd{ border: 1px solid #696969; border-radius: 5px; } QLineEdit{ border: none; } /*按鈕-忘記密碼*/ #btn_forget{ border:none; color:#e83737; } /*按鈕-忘記密碼-滑鼠懸停*/ #btn_forget:hover{ border:none; color:#e83737; } /*按鈕-登入*/ #btn_login{ color:#ffffff; border: none; background-color:#fd6c92; border-radius: 5px; } /*按鈕-登入-滑鼠懸停*/ #btn_login:hover{ color:#ffffff; border: none; background-color:#fd4979; border-radius: 5px; } /*按鈕-登入-滑鼠按下*/ #btn_login:pressed{ color:#ffffff; border: none; background-color:#fd6c92; border-radius: 5px; } /*label-login*/ #label_login { color:#e83737; } /*圖示-賬戶*/ #label_user_name { border-image:url(:/res/pic/user_name.png); } /*圖示-密碼*/ #label_pwd { border-image:url(:/res/pic/pwd.png); } /*按鈕-qq*/ #btn_qq{ background-image:url(:/res/pic/qq.png); background-position:center; background-repeat:no-repeat; border:none; } /*按鈕-qq-滑鼠懸停*/ #btn_qq:hover{ background-image:url(:/res/pic/qq-hover.png); background-position:center; background-repeat:no-repeat; border:none; } /*按鈕-微信*/ #btn_wx{ background-image:url(:/res/pic/wx.png); background-position:center; background-repeat:no-repeat; border:none; } /*按鈕-微信-滑鼠懸停*/ #btn_wx:hover{ background-image:url(:/res/pic/wx-hover.png); background-position:center; background-repeat:no-repeat; border:none; } /*按鈕-微博-*/ #btn_wb{ background-image:url(:/res/pic/wb.png); background-position:center; background-repeat:no-repeat; border:none; } /*按鈕-微博-滑鼠懸停*/ #btn_wb:hover{ background-image:url(:/res/pic/wb-hover.png); background-position:center; background-repeat:no-repeat; border:none; } /*按鈕-粉紅*/ #btn_1{ color:#e83737; background-color:#ffffff; border:none; border-radius: 10px; } /*按鈕-黃綠*/ #btn_2{ color:#d7b105; background-color:#ffffff; border:none; border-radius: 10px; } /*按鈕-淺紫*/ #btn_3{ color:#7185ff; background-color:#ffffff; border:none; border-radius: 10px; } /*按鈕-青綠*/ #btn_4{ color:#7bb7a5; background-color:#ffffff; border:none; border-radius: 10px; }
2.黃色
(1)顯示
(2)格式
/** 該頁面為黃綠色皮膚 */ #frame_background{ border-image:url(:/res/pic/background-2.png); } #frame_login{background-color:#ffffff} #frame_pic{ background-image:url(:/res/pic/2.png); } #frame_user_name,#frame_pwd{ border: 1px solid #696969; border-radius: 5px; } QLineEdit{ border: none; } #btn_forget{ border:none; color:#d7b105; } #btn_forget:hover{ border:none; color:#d7b105; } #btn_login{ color:#80712d; border: none; background-color:#ffde49; border-radius: 5px; } #btn_login:hover{ color:#80712d; border: none; background-color:#fdd72d; border-radius: 5px; } #btn_login:pressed{ color:#80712d; border: none; background-color:#ffde49; border-radius: 5px; } #label_login { color:#d7b105; } #label_user_name { border-image:url(:/res/pic/user_name.png); } #label_pwd { border-image:url(:/res/pic/pwd.png); } #btn_qq{ background-image:url(:/res/pic/qq.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_qq:hover{ background-image:url(:/res/pic/qq-hover.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wx{ background-image:url(:/res/pic/wx.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wx:hover{ background-image:url(:/res/pic/wx-hover.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wb{ background-image:url(:/res/pic/wb.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wb:hover{ background-image:url(:/res/pic/wb-hover.png); background-position:center; background-repeat:no-repeat; border:none; }
3.淺紫
(1)顯示
(2)格式
/** 該頁面為淺紫色皮膚 */ #frame_background{ border-image:url(:/res/pic/background-3.png); } #frame_login{background-color:#ffffff} #frame_pic{ background-image:url(:/res/pic/3.png); } #frame_user_name,#frame_pwd{ border: 1px solid #696969; border-radius: 5px; } QLineEdit{ border: none; } #btn_forget{ border:none; color:#7185ff; } #btn_forget:hover{ border:none; color:#7185ff; } #btn_login{ color:#ffffff; border: none; background-color:#8293fd; border-radius: 5px; } #btn_login:hover{ color:#ffffff; border: none; background-color:#4861fb; border-radius: 5px; } #btn_login:pressed{ color:#ffffff; border: none; background-color:#8293fd; border-radius: 5px; } #label_login { color:#7185ff; } #label_user_name { border-image:url(:/res/pic/user_name.png); } #label_pwd { border-image:url(:/res/pic/pwd.png); } #btn_qq{ background-image:url(:/res/pic/qq.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_qq:hover{ background-image:url(:/res/pic/qq-hover.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wx{ background-image:url(:/res/pic/wx.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wx:hover{ background-image:url(:/res/pic/wx-hover.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wb{ background-image:url(:/res/pic/wb.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wb:hover{ background-image:url(:/res/pic/wb-hover.png); background-position:center; background-repeat:no-repeat; border:none; }
4.青綠
(1)顯示
(2)格式
/** 該頁面為淺紫色皮膚 */ #frame_background{ border-image:url(:/res/pic/background-4.png); } #frame_login{background-color:#ffffff} #frame_pic{ background-image:url(:/res/pic/4.png); } #frame_user_name,#frame_pwd{ border: 1px solid #696969; border-radius: 5px; } QLineEdit{ border: none; } #btn_forget{ border:none; color:#7bb7a5; } #btn_forget:hover{ border:none; color:#7bb7a5; } #btn_login{ color:#316f67; border: none; background-color:#74fae9; border-radius: 5px; } #btn_login:hover{ color:#316f67; border: none; background-color:#4af8e2; border-radius: 5px; } #btn_login:pressed{ color:#316f67; border: none; background-color:#74fae9; border-radius: 5px; } #label_login { color:#7bb7a5; } #label_user_name { border-image:url(:/res/pic/user_name.png); } #label_pwd { border-image:url(:/res/pic/pwd.png); } #btn_qq{ background-image:url(:/res/pic/qq.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_qq:hover{ background-image:url(:/res/pic/qq-hover.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wx{ background-image:url(:/res/pic/wx.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wx:hover{ background-image:url(:/res/pic/wx-hover.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wb{ background-image:url(:/res/pic/wb.png); background-position:center; background-repeat:no-repeat; border:none; } #btn_wb:hover{ background-image:url(:/res/pic/wb-hover.png); background-position:center; background-repeat:no-repeat; border:none; }
5.不同顏色切換
QPushButton * btn; btn=qobject_cast<QPushButton*>(sender()); QString filePath; if("btn_1"==btn->objectName()) { filePath=":/res/qss/style-1.qss"; } else if("btn_2"==btn->objectName()) { filePath=":/res/qss/style-2.qss"; } else if("btn_3"==btn->objectName()) { filePath=":/res/qss/style-3.qss"; } else if("btn_4"==btn->objectName()) { filePath=":/res/qss/style-4.qss"; } QFile file(filePath); file.open(QFile::ReadOnly); QTextStream filetext(&file); QString styleSheet=filetext.readAll(); this->setStyleSheet(styleSheet); file.close();
6.UI檔案
<?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>1400</width> <height>900</height> </rect> </property> <property name="windowTitle"> <string>Widget</string> </property> <layout class="QVBoxLayout" name="verticalLayout_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="QFrame" name="frame_background"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_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="verticalSpacer_10"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_12"> <item> <spacer name="horizontalSpacer_17"> <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> <layout class="QHBoxLayout" name="horizontalLayout_11"> <item> <widget class="QPushButton" name="btn_1"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="maximumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="text"> <string>粉紅</string> </property> </widget> </item> <item> <widget class="QPushButton" name="btn_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="maximumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="text"> <string>黃色</string> </property> </widget> </item> <item> <widget class="QPushButton" name="btn_3"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="maximumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="text"> <string>淺紫</string> </property> </widget> </item> <item> <widget class="QPushButton" name="btn_4"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="maximumSize"> <size> <width>120</width> <height>40</height> </size> </property> <property name="text"> <string>青綠</string> </property> </widget> </item> </layout> </item> <item> <spacer name="horizontalSpacer_18"> <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> <spacer name="verticalSpacer_8"> <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> <layout class="QHBoxLayout" name="horizontalLayout_10"> <item> <spacer name="horizontalSpacer_15"> <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> <layout class="QHBoxLayout" name="horizontalLayout_9"> <item> <widget class="QFrame" name="frame_login"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>450</width> <height>550</height> </size> </property> <property name="maximumSize"> <size> <width>450</width> <height>550</height> </size> </property> <property name="font"> <font> <family>Arial</family> </font> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <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> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <spacer name="horizontalSpacer_13"> <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_login"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="font"> <font> <family>Arial</family> <pointsize>22</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'SimSun'; font-size:22pt; font-weight:600; font-style:normal;"> <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">LOGIN</p></body></html></string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_14"> <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> <spacer name="verticalSpacer_2"> <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> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <spacer name="horizontalSpacer_5"> <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="QFrame" name="frame_user_name"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="label_user_name"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>40</horstretch> <verstretch>40</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>40</width> <height>40</height> </size> </property> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QLineEdit" name="lineE_user_name"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>180</width> <height>40</height> </size> </property> <property name="maximumSize"> <size> <width>180</width> <height>40</height> </size> </property> </widget> </item> </layout> </widget> </item> <item> <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>30</height> </size> </property> </spacer> </item> </layout> </item> <item> <spacer name="verticalSpacer_3"> <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> <layout class="QHBoxLayout" name="horizontalLayout_7"> <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> <item> <widget class="QFrame" name="frame_pwd"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QLabel" name="label_pwd"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>40</horstretch> <verstretch>40</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>40</width> <height>40</height> </size> </property> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QLineEdit" name="lineE_pwd"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>180</width> <height>40</height> </size> </property> <property name="maximumSize"> <size> <width>180</width> <height>40</height> </size> </property> </widget> </item> </layout> </widget> </item> <item> <spacer name="horizontalSpacer_4"> <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> <spacer name="verticalSpacer_4"> <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> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Minimum</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>175</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="btn_forget"> <property name="font"> <font> <family>Arial</family> <pointsize>10</pointsize> <weight>75</weight> <bold>true</bold> <underline>true</underline> </font> </property> <property name="text"> <string>Forget Password?</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> </layout> </item> <item> <spacer name="verticalSpacer_5"> <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> <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> <spacer name="horizontalSpacer_7"> <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="btn_login"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>200</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>250</width> <height>16777215</height> </size> </property> <property name="font"> <font> <family>Arial</family> <pointsize>14</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>LOGIN</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_8"> <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> <spacer name="verticalSpacer_6"> <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> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <spacer name="horizontalSpacer_9"> <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="btn_qq"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string/> </property> </widget> </item> <item> <spacer name="horizontalSpacer_10"> <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="btn_wx"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string/> </property> </widget> </item> <item> <spacer name="horizontalSpacer_11"> <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="btn_wb"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string/> </property> </widget> </item> <item> <spacer name="horizontalSpacer_12"> <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> <spacer name="verticalSpacer_7"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="frame_pic"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>450</width> <height>550</height> </size> </property> <property name="maximumSize"> <size> <width>450</width> <height>550</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> </widget> </item> </layout> </item> <item> <spacer name="horizontalSpacer_16"> <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> <spacer name="verticalSpacer_9"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>26</height> </size> </property> </spacer> </item> </layout> </widget> </item> </layout> </widget> <layoutdefault spacing="6" margin="11"/> <resources/> <connections/> </ui>