Some fine adjustments to the new search function of the log viewer.

Tue, 01 May 2012 16:01:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 01 May 2012 16:01:44 +0200
changeset 1829
fa72a573967f
parent 1824
d1e20bfe86cd
child 1830
f2fccb8c2ab4

Some fine adjustments to the new search function of the log viewer.

UI/LogView.py file | annotate | diff | comparison | revisions
UI/SearchWidget.ui file | annotate | diff | comparison | revisions
--- a/UI/LogView.py	Tue May 01 15:20:39 2012 +0200
+++ b/UI/LogView.py	Tue May 01 16:01:44 2012 +0200
@@ -38,6 +38,7 @@
         self.__searchWidget.hide()
         
         self.__layout = QHBoxLayout(self)
+        self.__layout.setContentsMargins(1, 1, 1, 1)
         self.__layout.addWidget(self.__logViewer)
         self.__layout.addWidget(self.__searchWidget)
         
--- a/UI/SearchWidget.ui	Tue May 01 15:20:39 2012 +0200
+++ b/UI/SearchWidget.ui	Tue May 01 16:01:44 2012 +0200
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>343</width>
-    <height>76</height>
+    <width>274</width>
+    <height>114</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -64,20 +64,6 @@
        </property>
       </widget>
      </item>
-     <item>
-      <widget class="QToolButton" name="findPrevButton">
-       <property name="toolTip">
-        <string>Press to find the previous occurrence</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="findNextButton">
-       <property name="toolTip">
-        <string>Press to find the next occurrence</string>
-       </property>
-      </widget>
-     </item>
     </layout>
    </item>
    <item>
@@ -99,6 +85,24 @@
     </layout>
    </item>
    <item>
+    <layout class="QHBoxLayout" name="horizontalLayout_3">
+     <item>
+      <widget class="QToolButton" name="findPrevButton">
+       <property name="toolTip">
+        <string>Press to find the previous occurrence</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QToolButton" name="findNextButton">
+       <property name="toolTip">
+        <string>Press to find the next occurrence</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
     <spacer name="verticalSpacer">
      <property name="orientation">
       <enum>Qt::Vertical</enum>
@@ -117,8 +121,8 @@
   <tabstop>findtextCombo</tabstop>
   <tabstop>caseCheckBox</tabstop>
   <tabstop>wordCheckBox</tabstop>
+  <tabstop>findPrevButton</tabstop>
   <tabstop>findNextButton</tabstop>
-  <tabstop>findPrevButton</tabstop>
   <tabstop>closeButton</tabstop>
  </tabstops>
  <resources/>

eric ide

mercurial