[PC-BSD Commits] r2355 - pcbsd/trunk/CrashHandler

svn at pcbsd.org svn at pcbsd.org
Wed Jul 16 08:15:30 PDT 2008


Author: kris
Date: 2008-07-16 08:15:29 -0700 (Wed, 16 Jul 2008)
New Revision: 2355

Modified:
   pcbsd/trunk/CrashHandler/crashhandler.ui
Log:

Updated the default layout for CrashHandler, should get rid of some weird resize problems



Modified: pcbsd/trunk/CrashHandler/crashhandler.ui
===================================================================
--- pcbsd/trunk/CrashHandler/crashhandler.ui	2008-07-16 15:10:06 UTC (rev 2354)
+++ pcbsd/trunk/CrashHandler/crashhandler.ui	2008-07-16 15:15:29 UTC (rev 2355)
@@ -5,73 +5,93 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>493</width>
-    <height>124</height>
+    <width>495</width>
+    <height>126</height>
    </rect>
   </property>
+  <property name="minimumSize" >
+   <size>
+    <width>495</width>
+    <height>126</height>
+   </size>
+  </property>
   <property name="windowTitle" >
    <string>PC-BSD Crash Handler</string>
   </property>
+  <property name="windowIcon" >
+   <iconset resource="CrashHandler.qrc" >
+    <normaloff>:/small_icon.png</normaloff>:/small_icon.png</iconset>
+  </property>
   <layout class="QGridLayout" name="gridLayout_2" >
    <item row="0" column="0" >
-    <widget class="QLabel" name="icon" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="frameShape" >
-      <enum>QFrame::NoFrame</enum>
-     </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Plain</enum>
-     </property>
-     <property name="pixmap" >
-      <pixmap resource="CrashHandler.qrc" >:/large_icon.png</pixmap>
-     </property>
-     <property name="scaledContents" >
-      <bool>true</bool>
-     </property>
-     <property name="wordWrap" >
-      <bool>false</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="1" >
-    <widget class="QLabel" name="text" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="minimumSize" >
-      <size>
-       <width>417</width>
-       <height>71</height>
-      </size>
-     </property>
-     <property name="frameShape" >
-      <enum>QFrame::NoFrame</enum>
-     </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Plain</enum>
-     </property>
-     <property name="text" >
-      <string>PC-BSD encountered an error while trying to start &lt;b>#&lt;/b>&lt;br>&lt;br>
+    <layout class="QHBoxLayout" name="horizontalLayout" >
+     <item>
+      <widget class="QLabel" name="icon" >
+       <property name="sizePolicy" >
+        <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="maximumSize" >
+        <size>
+         <width>64</width>
+         <height>64</height>
+        </size>
+       </property>
+       <property name="frameShape" >
+        <enum>QFrame::NoFrame</enum>
+       </property>
+       <property name="frameShadow" >
+        <enum>QFrame::Plain</enum>
+       </property>
+       <property name="pixmap" >
+        <pixmap resource="CrashHandler.qrc" >:/large_icon.png</pixmap>
+       </property>
+       <property name="scaledContents" >
+        <bool>true</bool>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QLabel" name="text" >
+       <property name="sizePolicy" >
+        <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="minimumSize" >
+        <size>
+         <width>417</width>
+         <height>71</height>
+        </size>
+       </property>
+       <property name="frameShape" >
+        <enum>QFrame::NoFrame</enum>
+       </property>
+       <property name="frameShadow" >
+        <enum>QFrame::Plain</enum>
+       </property>
+       <property name="text" >
+        <string>PC-BSD encountered an error while trying to start &lt;b>#&lt;/b>&lt;br>&lt;br>
 
 If you often see this message, there is a problem with this application. For more information on this error, click 'Details'.</string>
-     </property>
-     <property name="alignment" >
-      <set>Qt::AlignVCenter</set>
-     </property>
-     <property name="wordWrap" >
-      <bool>true</bool>
-     </property>
-    </widget>
+       </property>
+       <property name="alignment" >
+        <set>Qt::AlignVCenter</set>
+       </property>
+       <property name="wordWrap" >
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
    </item>
-   <item row="1" column="0" colspan="2" >
+   <item row="1" column="0" >
     <widget class="Q3Frame" name="buttonFrame" >
      <property name="enabled" >
       <bool>true</bool>



More information about the Commits mailing list