加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainwindow.ui 8.46 KB
一键复制 编辑 原始数据 按行查看 历史
fchaos 提交于 2014-12-22 13:13 . 修改了历史记录区域可编辑的bug
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>255</width>
<height>542</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QLabel" name="portrait">
<property name="geometry">
<rect>
<x>12</x>
<y>20</y>
<width>71</width>
<height>61</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="images.qrc">:/img/Person.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="user_name">
<property name="geometry">
<rect>
<x>94</x>
<y>10</y>
<width>171</width>
<height>21</height>
</rect>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="styleSheet">
<string notr="true">font: 10pt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="portrait_1">
<property name="geometry">
<rect>
<x>8</x>
<y>10</y>
<width>81</width>
<height>81</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>100</y>
<width>257</width>
<height>451</height>
</rect>
</property>
<property name="sizeIncrement">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<property name="tabPosition">
<enum>QTabWidget::North</enum>
</property>
<property name="tabShape">
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="elideMode">
<enum>Qt::ElideNone</enum>
</property>
<property name="documentMode">
<bool>false</bool>
</property>
<property name="tabsClosable">
<bool>false</bool>
</property>
<property name="movable">
<bool>false</bool>
</property>
<widget class="QWidget" name="linkman">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="sizeIncrement">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="statusTip">
<string/>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<attribute name="title">
<string> 联系人 </string>
</attribute>
<widget class="QToolBox" name="toolBox">
<property name="geometry">
<rect>
<x>-1</x>
<y>0</y>
<width>253</width>
<height>421</height>
</rect>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="currentIndex">
<number>2</number>
</property>
<property name="tabSpacing">
<number>0</number>
</property>
<widget class="QWidget" name="myfriend">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>253</width>
<height>358</height>
</rect>
</property>
<attribute name="label">
<string>我的好友</string>
</attribute>
</widget>
<widget class="QWidget" name="stranger">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>253</width>
<height>358</height>
</rect>
</property>
<attribute name="label">
<string>陌生人</string>
</attribute>
</widget>
<widget class="QWidget" name="blacklist">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>253</width>
<height>358</height>
</rect>
</property>
<attribute name="label">
<string>黑名单</string>
</attribute>
</widget>
</widget>
</widget>
<widget class="QWidget" name="group_0">
<attribute name="title">
<string></string>
</attribute>
<widget class="QToolBox" name="group">
<property name="geometry">
<rect>
<x>-2</x>
<y>0</y>
<width>257</width>
<height>421</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<property name="tabSpacing">
<number>0</number>
</property>
<widget class="QWidget" name="mygroup">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>257</width>
<height>400</height>
</rect>
</property>
<attribute name="label">
<string>我的群</string>
</attribute>
</widget>
</widget>
</widget>
<widget class="QWidget" name="addlink">
<attribute name="title">
<string> 添加 </string>
</attribute>
<widget class="QPushButton" name="addfriend">
<property name="geometry">
<rect>
<x>17</x>
<y>30</y>
<width>211</width>
<height>351</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>34</pointsize>
</font>
</property>
<property name="text">
<string>各种添加</string>
</property>
</widget>
</widget>
</widget>
</widget>
</widget>
<resources>
<include location="images.qrc"/>
</resources>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化