Added Cancel Buttons for Chat and Peer feed Items, and disable the Send Buttons by default, added for PeerItem to check if TextEdit is empty or not too.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-09-08 22:46:26 +00:00
parent a66816ff33
commit 87d2cec44c
5 changed files with 308 additions and 257 deletions

View file

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>513</width>
<width>543</width>
<height>213</height>
</rect>
</property>
@ -193,7 +193,7 @@ border-radius: 10px}</string>
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0" colspan="5">
<item row="0" column="0" colspan="6">
<widget class="QFrame" name="messageframe">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
@ -306,11 +306,21 @@ border-radius: 10px}</string>
</property>
</spacer>
</item>
<item row="1" column="4">
<item row="1" column="5">
<widget class="QPushButton" name="sendButton">
<property name="text">
<string>Send</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="cancelButton">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>