2023-04-02 21:23:20 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>1280</width>
|
|
|
|
<height>779</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>MainWindow</string>
|
|
|
|
</property>
|
2023-11-12 13:15:47 +08:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton {
|
|
|
|
background-color: rgb(240,240,240);
|
|
|
|
border:none;
|
|
|
|
}
|
|
|
|
QPushButton:hover{
|
|
|
|
background-color: rgb(209,209,209);
|
|
|
|
}
|
|
|
|
</string>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2023-04-05 00:01:06 +08:00
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2023-04-05 00:01:06 +08:00
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<item>
|
|
|
|
<widget class="QFrame" name="frame_info">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
2023-04-05 00:01:06 +08:00
|
|
|
<width>80</width>
|
2023-04-02 21:23:20 +08:00
|
|
|
<height>500</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
2023-04-05 00:01:06 +08:00
|
|
|
<width>80</width>
|
2023-04-02 21:23:20 +08:00
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">background-color:rgb(240,240,240)</string>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
2023-11-09 20:11:01 +08:00
|
|
|
<enum>QFrame::NoFrame</enum>
|
2023-04-02 21:23:20 +08:00
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
2023-11-09 20:11:01 +08:00
|
|
|
<enum>QFrame::Plain</enum>
|
2023-04-02 21:23:20 +08:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="verticalLayoutWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
2023-11-01 22:54:56 +08:00
|
|
|
<x>0</x>
|
2023-04-02 21:23:20 +08:00
|
|
|
<y>190</y>
|
2023-11-01 22:54:56 +08:00
|
|
|
<width>77</width>
|
2023-04-02 21:23:20 +08:00
|
|
|
<height>271</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,1,1,1">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_chat">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>60</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>微软雅黑</family>
|
|
|
|
</font>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<property name="styleSheet">
|
2023-11-12 13:15:47 +08:00
|
|
|
<string notr="true">QPushButton {
|
|
|
|
background-color: rgb(240,240,240);
|
|
|
|
border:none;
|
|
|
|
}
|
2023-04-02 21:23:20 +08:00
|
|
|
QPushButton:hover{background-color: rgb(209,209,209);}
|
|
|
|
</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>聊天</string>
|
|
|
|
</property>
|
2023-11-12 13:15:47 +08:00
|
|
|
<property name="autoDefault">
|
2023-11-09 20:11:01 +08:00
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2023-11-12 13:15:47 +08:00
|
|
|
<property name="default">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_contact">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>60</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>微软雅黑</family>
|
|
|
|
</font>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<property name="styleSheet">
|
2023-11-12 13:15:47 +08:00
|
|
|
<string notr="true">QPushButton {
|
|
|
|
background-color: rgb(240,240,240);
|
|
|
|
border:none;
|
|
|
|
}
|
|
|
|
QPushButton:hover{
|
|
|
|
background-color: rgb(209,209,209);
|
|
|
|
}
|
2023-04-02 21:23:20 +08:00
|
|
|
</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2023-11-11 19:35:25 +08:00
|
|
|
<string>好友</string>
|
2023-04-02 21:23:20 +08:00
|
|
|
</property>
|
2023-11-12 13:15:47 +08:00
|
|
|
<property name="default">
|
2023-11-09 20:11:01 +08:00
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2023-11-12 13:15:47 +08:00
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_myinfo">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>60</width>
|
|
|
|
<height>60</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>微软雅黑</family>
|
|
|
|
</font>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>我的</string>
|
|
|
|
</property>
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="flat">
|
2023-11-12 13:15:47 +08:00
|
|
|
<bool>false</bool>
|
2023-11-09 20:11:01 +08:00
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btn_about">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>60</width>
|
|
|
|
<height>60</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>微软雅黑</family>
|
|
|
|
</font>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton {background-color: rgb(240,240,240);}
|
|
|
|
QPushButton:hover{background-color: rgb(209,209,209);}
|
|
|
|
</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>关于</string>
|
|
|
|
</property>
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="flat">
|
2023-11-12 13:15:47 +08:00
|
|
|
<bool>false</bool>
|
2023-11-09 20:11:01 +08:00
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="myavatar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
2023-11-01 22:54:56 +08:00
|
|
|
<x>10</x>
|
2023-04-02 21:23:20 +08:00
|
|
|
<y>40</y>
|
2023-11-01 22:54:56 +08:00
|
|
|
<width>60</width>
|
|
|
|
<height>60</height>
|
2023-04-02 21:23:20 +08:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>avatar</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2023-11-01 22:54:56 +08:00
|
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>微软雅黑</family>
|
|
|
|
<weight>50</weight>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
2023-11-05 21:14:14 +08:00
|
|
|
<widget class="QWidget" name="page_chat"/>
|
|
|
|
<widget class="QWidget" name="page_contact"/>
|
2023-11-01 22:54:56 +08:00
|
|
|
<widget class="QWidget" name="page_myinfo"/>
|
|
|
|
<widget class="QWidget" name="page_2"/>
|
2023-04-02 21:23:20 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>1280</width>
|
|
|
|
<height>23</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<widget class="QMenu" name="menu_F">
|
|
|
|
<property name="title">
|
|
|
|
<string>文件(F)</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
<addaction name="action_3"/>
|
|
|
|
<addaction name="action_4"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="menu">
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>微软雅黑</family>
|
|
|
|
</font>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
<property name="title">
|
|
|
|
<string>编辑</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="menu_2">
|
|
|
|
<property name="title">
|
|
|
|
<string>帮助</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="action"/>
|
|
|
|
</widget>
|
|
|
|
<addaction name="menu_F"/>
|
|
|
|
<addaction name="menu"/>
|
|
|
|
<addaction name="menu_2"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
<action name="action_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>保存</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="action_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>退出</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="action">
|
|
|
|
<property name="text">
|
|
|
|
<string>关于</string>
|
|
|
|
</property>
|
2023-11-09 20:11:01 +08:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Microsoft YaHei UI</family>
|
|
|
|
</font>
|
|
|
|
</property>
|
2023-04-02 21:23:20 +08:00
|
|
|
</action>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|