[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r2086: Turn some small QPushButtons into small QToolButtons. These (trunk/src/gui/config)



Author: edmanm
Date: 2007-10-24 20:15:02 -0400 (Wed, 24 Oct 2007)
New Revision: 2086

Modified:
   trunk/src/gui/config/networkpage.ui
   trunk/src/gui/config/serverpage.ui
Log:
Turn some small QPushButtons into small QToolButtons. These look a little less
wonky on OS X.


Modified: trunk/src/gui/config/networkpage.ui
===================================================================
--- trunk/src/gui/config/networkpage.ui	2007-10-25 00:04:52 UTC (rev 2085)
+++ trunk/src/gui/config/networkpage.ui	2007-10-25 00:15:02 UTC (rev 2086)
@@ -340,13 +340,7 @@
            <number>6</number>
           </property>
           <item>
-           <widget class="QPushButton" name="btnAddBridge" >
-            <property name="maximumSize" >
-             <size>
-              <width>32</width>
-              <height>32</height>
-             </size>
-            </property>
+           <widget class="QToolButton" name="btnAddBridge" >
             <property name="text" >
              <string/>
             </property>
@@ -356,16 +350,10 @@
            </widget>
           </item>
           <item>
-           <widget class="QPushButton" name="btnRemoveBridge" >
+           <widget class="QToolButton" name="btnRemoveBridge" >
             <property name="enabled" >
              <bool>false</bool>
             </property>
-            <property name="maximumSize" >
-             <size>
-              <width>32</width>
-              <height>32</height>
-             </size>
-            </property>
             <property name="toolTip" >
              <string>Remove the selected bridges from the list</string>
             </property>
@@ -378,16 +366,10 @@
            </widget>
           </item>
           <item>
-           <widget class="QPushButton" name="btnCopyBridge" >
+           <widget class="QToolButton" name="btnCopyBridge" >
             <property name="enabled" >
              <bool>false</bool>
             </property>
-            <property name="maximumSize" >
-             <size>
-              <width>32</width>
-              <height>32</height>
-             </size>
-            </property>
             <property name="toolTip" >
              <string>Copy the selected bridges to the clipboard</string>
             </property>

Modified: trunk/src/gui/config/serverpage.ui
===================================================================
--- trunk/src/gui/config/serverpage.ui	2007-10-25 00:04:52 UTC (rev 2085)
+++ trunk/src/gui/config/serverpage.ui	2007-10-25 00:15:02 UTC (rev 2086)
@@ -429,27 +429,7 @@
              </widget>
             </item>
             <item>
-             <widget class="QPushButton" name="btnRateHelp" >
-              <property name="sizePolicy" >
-               <sizepolicy>
-                <hsizetype>1</hsizetype>
-                <vsizetype>1</vsizetype>
-                <horstretch>0</horstretch>
-                <verstretch>0</verstretch>
-               </sizepolicy>
-              </property>
-              <property name="minimumSize" >
-               <size>
-                <width>32</width>
-                <height>32</height>
-               </size>
-              </property>
-              <property name="maximumSize" >
-               <size>
-                <width>32</width>
-                <height>32</height>
-               </size>
-              </property>
+             <widget class="QToolButton" name="btnRateHelp" >
               <property name="contextMenuPolicy" >
                <enum>Qt::NoContextMenu</enum>
               </property>
@@ -837,27 +817,13 @@
                 <number>6</number>
                </property>
                <item>
-                <widget class="QPushButton" name="btnExitHelp" >
-                 <property name="sizePolicy" >
-                  <sizepolicy>
-                   <hsizetype>1</hsizetype>
-                   <vsizetype>1</vsizetype>
-                   <horstretch>0</horstretch>
-                   <verstretch>0</verstretch>
-                  </sizepolicy>
-                 </property>
+                <widget class="QToolButton" name="btnExitHelp" >
                  <property name="minimumSize" >
                   <size>
                    <width>32</width>
                    <height>32</height>
                   </size>
                  </property>
-                 <property name="maximumSize" >
-                  <size>
-                   <width>32</width>
-                   <height>32</height>
-                  </size>
-                 </property>
                  <property name="contextMenuPolicy" >
                   <enum>Qt::NoContextMenu</enum>
                  </property>