Enhanced the optics of the AdBlock dialog.

Tue, 21 Feb 2012 17:19:21 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 21 Feb 2012 17:19:21 +0100
changeset 1649
1b7cd7409170
parent 1647
30be422ac04b
child 1651
bc68f24d5658

Enhanced the optics of the AdBlock dialog.

Helpviewer/AdBlock/AdBlockDialog.py file | annotate | diff | comparison | revisions
Helpviewer/AdBlock/AdBlockDialog.ui file | annotate | diff | comparison | revisions
icons/default/adBlockPlus48.png file | annotate | diff | comparison | revisions
icons/default/adBlockPlus64.png file | annotate | diff | comparison | revisions
--- a/Helpviewer/AdBlock/AdBlockDialog.py	Sun Feb 19 20:24:03 2012 +0100
+++ b/Helpviewer/AdBlock/AdBlockDialog.py	Tue Feb 21 17:19:21 2012 +0100
@@ -34,6 +34,7 @@
         self.setupUi(self)
         
         self.clearButton.setIcon(UI.PixmapCache.getIcon("clearLeft.png"))
+        self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("adBlockPlus48.png"))
         
         self.__adBlockModel = AdBlockModel(self)
         self.__proxyModel = E5TreeSortFilterProxyModel(self)
--- a/Helpviewer/AdBlock/AdBlockDialog.ui	Sun Feb 19 20:24:03 2012 +0100
+++ b/Helpviewer/AdBlock/AdBlockDialog.ui	Tue Feb 21 17:19:21 2012 +0100
@@ -27,8 +27,31 @@
      </property>
      <layout class="QVBoxLayout" name="verticalLayout">
       <item>
-       <layout class="QHBoxLayout" name="horizontalLayout_2">
-        <item>
+       <layout class="QGridLayout" name="gridLayout">
+        <property name="horizontalSpacing">
+         <number>0</number>
+        </property>
+        <item row="0" column="0" rowspan="2">
+         <widget class="QLabel" name="iconLabel">
+          <property name="text">
+           <string notr="true">Icon</string>
+          </property>
+         </widget>
+        </item>
+        <item row="0" column="1" colspan="3">
+         <spacer name="horizontalSpacer_3">
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>158</width>
+            <height>20</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item row="1" column="1">
          <spacer name="horizontalSpacer">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
@@ -41,29 +64,22 @@
           </property>
          </spacer>
         </item>
-        <item>
-         <layout class="QHBoxLayout" name="horizontalLayout">
-          <property name="spacing">
-           <number>0</number>
+        <item row="1" column="2">
+         <widget class="QLineEdit" name="searchEdit">
+          <property name="toolTip">
+           <string>Enter search term for subscriptions and rules</string>
           </property>
-          <item>
-           <widget class="QLineEdit" name="searchEdit">
-            <property name="toolTip">
-             <string>Enter search term for subscriptions and rules</string>
-            </property>
-           </widget>
-          </item>
-          <item>
-           <widget class="QToolButton" name="clearButton">
-            <property name="toolTip">
-             <string>Press to clear the search edit</string>
-            </property>
-            <property name="text">
-             <string/>
-            </property>
-           </widget>
-          </item>
-         </layout>
+         </widget>
+        </item>
+        <item row="1" column="3">
+         <widget class="QToolButton" name="clearButton">
+          <property name="toolTip">
+           <string>Press to clear the search edit</string>
+          </property>
+          <property name="text">
+           <string/>
+          </property>
+         </widget>
         </item>
        </layout>
       </item>
@@ -191,4 +207,4 @@
    </hints>
   </connection>
  </connections>
-</ui>
\ No newline at end of file
+</ui>
Binary file icons/default/adBlockPlus48.png has changed
Binary file icons/default/adBlockPlus64.png has changed

eric ide

mercurial