Moved the Send Button to right side of the Chat LineEdit for better look.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5679 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2012-10-15 13:49:47 +00:00
parent 965ecae223
commit 5bded75b0c

View file

@ -6,13 +6,13 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>535</width> <width>646</width>
<height>428</height> <height>296</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing"> <property name="spacing">
<number>1</number> <number>0</number>
</property> </property>
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
@ -203,9 +203,6 @@ border-image: url(:/images/closepressed.png)
</item> </item>
<item> <item>
<widget class="QSplitter" name="chatsplitter"> <widget class="QSplitter" name="chatsplitter">
<property name="lineWidth">
<number>1</number>
</property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
@ -215,87 +212,109 @@ border-image: url(:/images/closepressed.png)
<property name="childrenCollapsible"> <property name="childrenCollapsible">
<bool>false</bool> <bool>false</bool>
</property> </property>
<widget class="QWidget" name="verticalLayoutWidget"> <widget class="LinkTextBrowser" name="textBrowser">
<layout class="QVBoxLayout" name="verticalLayout_2"> <property name="sizePolicy">
<item> <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<widget class="LinkTextBrowser" name="textBrowser"> <horstretch>0</horstretch>
<property name="sizePolicy"> <verstretch>0</verstretch>
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> </sizepolicy>
<horstretch>0</horstretch> </property>
<verstretch>0</verstretch> <property name="minimumSize">
</sizepolicy> <size>
</property> <width>0</width>
<property name="minimumSize"> <height>30</height>
<size> </size>
<width>0</width> </property>
<height>30</height> <property name="contextMenuPolicy">
</size> <enum>Qt::CustomContextMenu</enum>
</property> </property>
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
</widget>
</item>
</layout>
</widget> </widget>
<widget class="QWidget" name="layoutWidget_2"> <widget class="QWidget" name="layoutWidget">
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="1"> <item>
<widget class="QLabel" name="statusLabel"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="text"> <item>
<string/> <widget class="QLabel" name="typingpixmapLabel">
</property> <property name="minimumSize">
<property name="margin"> <size>
<number>0</number> <width>18</width>
</property> <height>18</height>
<property name="indent"> </size>
<number>3</number> </property>
</property> <property name="maximumSize">
</widget> <size>
<width>18</width>
<height>18</height>
</size>
</property>
<property name="text">
<string notr="true">T</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="statusLabel">
<property name="text">
<string/>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="indent">
<number>3</number>
</property>
</widget>
</item>
</layout>
</item> </item>
<item row="0" column="0"> <item>
<widget class="QLabel" name="typingpixmapLabel"> <layout class="QGridLayout" name="gridLayout">
<property name="minimumSize"> <item row="0" column="0" rowspan="2">
<size> <widget class="MimeTextEdit" name="chatTextEdit">
<width>18</width> <property name="sizePolicy">
<height>18</height> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
</size> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="maximumSize"> </sizepolicy>
<size> </property>
<width>18</width> <property name="minimumSize">
<height>18</height> <size>
</size> <width>0</width>
</property> <height>30</height>
<property name="text"> </size>
<string notr="true">T</string> </property>
</property> <property name="contextMenuPolicy">
<property name="alignment"> <enum>Qt::CustomContextMenu</enum>
<set>Qt::AlignCenter</set> </property>
</property> </widget>
</widget> </item>
</item> <item row="0" column="1">
<item row="2" column="0" colspan="2"> <widget class="QPushButton" name="sendButton">
<widget class="MimeTextEdit" name="chatTextEdit"> <property name="text">
<property name="sizePolicy"> <string>Send</string>
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> </property>
<horstretch>0</horstretch> </widget>
<verstretch>0</verstretch> </item>
</sizepolicy> <item row="1" column="1">
</property> <spacer name="verticalSpacer">
<property name="minimumSize"> <property name="orientation">
<size> <enum>Qt::Vertical</enum>
<width>0</width> </property>
<height>30</height> <property name="sizeHint" stdset="0">
</size> <size>
</property> <width>38</width>
<property name="contextMenuPolicy"> <height>18</height>
<enum>Qt::CustomContextMenu</enum> </size>
</property> </property>
</widget> </spacer>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -616,13 +635,6 @@ border-image: url(:/images/closepressed.png)
</property> </property>
</spacer> </spacer>
</item> </item>
<item>
<widget class="QPushButton" name="sendButton">
<property name="text">
<string>Send</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@ -730,6 +742,13 @@ border-image: url(:/images/closepressed.png)
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../images.qrc"/> <include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>