Added a menu for the Hide Unconnected Button and renamed it

Added new action for Hide Status Column to the Display Menu
Moved Hide Offline Friends action to the Display Menu

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3159 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-18 21:59:33 +00:00
parent ec6c252d62
commit 09ac44316a
3 changed files with 81 additions and 11 deletions

View file

@ -606,12 +606,26 @@ p, li { white-space: pre-wrap; }
</spacer>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="hide_unconnected">
<widget class="QPushButton" name="displayButton">
<property name="toolTip">
<string>hide unconnected</string>
<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;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:'MS Shell Dlg 2'; font-size:8.25pt; 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:8pt;&quot;&gt;Display&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="styleSheet">
<string notr="true"> QPushButton:hover {
<string notr="true">QPushButton::menu-indicator {
subcontrol-origin: padding;
subcontrol-position: bottom right;
}
QPushButton::menu-indicator:pressed, QPushButton::menu-indicator:open {
position: relative;
top: 2px; left: 2px; /* shift the arrow by 2 px */
}
QPushButton:hover {
border: 1px solid #CCCCCC;
}</string>
</property>
@ -620,7 +634,7 @@ p, li { white-space: pre-wrap; }
</property>
<property name="icon">
<iconset resource="images.qrc">
<normaloff>:/images/user/identityoffline24.png</normaloff>:/images/user/identityoffline24.png</iconset>
<normaloff>:/images/looknfeel.png</normaloff>:/images/looknfeel.png</iconset>
</property>
<property name="iconSize">
<size>
@ -649,7 +663,7 @@ p, li { white-space: pre-wrap; }
</property>
<property name="minimumSize">
<size>
<width>250</width>
<width>150</width>
<height>0</height>
</size>
</property>
@ -1426,6 +1440,22 @@ p, li { white-space: pre-wrap; }
<string>Save Chat History</string>
</property>
</action>
<action name="action_Hide_Offline_Friends">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Hide Offline Friends</string>
</property>
</action>
<action name="action_Hide_Status_Column">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Hide Status Column</string>
</property>
</action>
</widget>
<resources>
<include location="images.qrc"/>