TCPClient/mainwidget.ui

324 lines
7.5 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>
<property name="styleSheet">
<string notr="true">#MainWidget
{background-color:rgba(131, 212, 255,175);}</string>
</property>
<widget class="QTextBrowser" name="textEdit">
<property name="geometry">
<rect>
<x>50</x>
<y>30</y>
<width>401</width>
<height>471</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt;
border-radius:7px</string>
</property>
</widget>
<widget class="QLineEdit" name="msg_edit">
<property name="geometry">
<rect>
<x>50</x>
<y>520</y>
<width>301</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-radius:
7px;padding:2px 4px;</string>
</property>
</widget>
<widget class="QPushButton" name="send_btn">
<property name="geometry">
<rect>
<x>360</x>
<y>520</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border :1px solid rgb(66,20,255);
border-radius: 5px;
/*border-image: url(:/icon.png);*/
qproperty-icon: url(:/send.png);
icon-size: 40px 40px;
padding-right:15px;
background-color: rgb();
}</string>
</property>
<property name="text">
<string>发送</string>
</property>
</widget>
<widget class="QPushButton" name="send_text">
<property name="geometry">
<rect>
<x>500</x>
<y>480</y>
<width>60</width>
<height>35</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">#send_text
{
border-image: url(:/text.png);
padding-right:15px;
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="save_btn">
<property name="geometry">
<rect>
<x>570</x>
<y>480</y>
<width>60</width>
<height>35</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">#save_btn
{
border-image: url(:/save.png);
padding-right:15px;
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="stop">
<property name="geometry">
<rect>
<x>570</x>
<y>520</y>
<width>61</width>
<height>35</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">#stop
{
border-image: url(:/cancel.png);
padding-right:15px;
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="exit_btn">
<property name="geometry">
<rect>
<x>500</x>
<y>520</y>
<width>60</width>
<height>35</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">#exit_btn
{
border-image: url(:/quit.png);
padding-right:15px;
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>520</x>
<y>30</y>
<width>126</width>
<height>32</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 10pt &quot;Arial Black&quot;;</string>
</property>
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial Black'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:700;&quot;&gt;在线用户列表&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>490</x>
<y>30</y>
<width>31</width>
<height>29</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
border-image: url(:/namelist.png);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="margin">
<number>0</number>
</property>
</widget>
<widget class="QListWidget" name="name_list">
<property name="geometry">
<rect>
<x>490</x>
<y>70</y>
<width>171</width>
<height>391</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QListWidget { outline: none;/* border:1px solid ; color: #696969;border :1px solid ;*/}
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>
<property name="icon">
<iconset resource="imgs/imgs.qrc">
<normaloff>:/user_label.png</normaloff>:/user_label.png</iconset>
</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>
</widget>
<resources>
<include location="imgs/imgs.qrc"/>
</resources>
<connections/>
</ui>