TCPClient/mainwidget.ui

249 lines
5.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWidget</class>
<widget class="QWidget" name="MainWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>722</width>
<height>587</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>722</width>
<height>587</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>60</x>
<y>500</y>
<width>361</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="send_text">
<property name="text">
<string>发送文件</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="save_btn">
<property name="text">
<string>保存聊天记录</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget_2">
<property name="geometry">
<rect>
<x>470</x>
<y>500</y>
<width>211</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="exit_btn">
<property name="text">
<string>退出聊天</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="stop">
<property name="text">
<string>注销用户</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QTextEdit" name="textEdit">
<property name="geometry">
<rect>
<x>60</x>
<y>50</y>
<width>361</width>
<height>401</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-radius:20px;</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget_3">
<property name="geometry">
<rect>
<x>490</x>
<y>50</y>
<width>171</width>
<height>401</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_3">
<property name="styleSheet">
<string notr="true">font: 10pt &quot;Arial Black&quot;;</string>
</property>
<property name="text">
<string>在线用户列表</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="name_list">
<property name="styleSheet">
<string notr="true"> QListWidget { outline: none; border:1px solid white; color: #696969;border-radius:\n7px;}
QListWidget::Item { width: 60px; height: 35px; }
QListWidget::Item:hover { background: #FFA500; color: white; }
QListWidget::item:selected { background: #FFC0CB; color: #DC143C; }
/*QListWidget::item:selected:!active { background: blue; }*/
QScrollBar:vertical
{
width:8px;
background:rgba(0,0,0,0%);
margin:0px,0px,0px,0px;
padding-top:16px;
padding-bottom:16px;
}
QScrollBar::handle:vertical
{
width:8px;
background:rgba(0,0,0,25%);
border-radius:4px;
min-height:20;
}
QScrollBar::handle:vertical:hover
{
width:8px;
background:rgba(0,0,0,50%);
border-radius:4px;
min-height:20;
}
/*
QScrollBar::add-line:vertical
{
height:9px;width:8px;
subcontrol-position:bottom;
}
QScrollBar::sub-line:vertical
{
height:9px;width:8px;
subcontrol-position:top;
}
QScrollBar::add-line:vertical:hover
{
height:9px;width:8px;
subcontrol-position:bottom;
}
QScrollBar::sub-line:vertical:hover
{
height:9px;width:8px;
subcontrol-position:top;
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical
{
background:rgba(0,0,0,10%);
border-radius:4px;
}*/</string>
</property>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
<item>
<property name="text">
<string>新建项目</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget_4">
<property name="geometry">
<rect>
<x>60</x>
<y>460</y>
<width>361</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLineEdit" name="msg_edit">
<property name="styleSheet">
<string notr="true">border-radius:
7px;padding:2px 4px;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="send_btn">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>发送</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>