Use QTextBrowser to show html text and images for boards and presets.
[bertos.git] / wizard / ui / preset_page.ui
index 3418f1200c0df12dcd788921ee1fb7ae7790157b..0da7fc65db25e7b463309f98924f5bc495fae54d 100644 (file)
@@ -6,43 +6,43 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>400</width>
-    <height>300</height>
+    <width>551</width>
+    <height>485</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
-  <layout class="QHBoxLayout" name="horizontalLayout">
+  <layout class="QVBoxLayout" name="verticalLayout" stretch="0,1">
    <item>
-    <widget class="QListWidget" name="presetList"/>
+    <widget class="QLabel" name="categoryDescription">
+     <property name="text">
+      <string/>
+     </property>
+    </widget>
    </item>
    <item>
-    <layout class="QVBoxLayout" name="verticalLayout">
+    <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
      <item>
-      <widget class="QLabel" name="imageLabel">
-       <property name="text">
-        <string/>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer name="verticalSpacer">
-       <property name="orientation">
-        <enum>Qt::Vertical</enum>
+      <widget class="QListWidget" name="presetList">
+       <property name="minimumSize">
+        <size>
+         <width>200</width>
+         <height>0</height>
+        </size>
        </property>
-       <property name="sizeHint" stdset="0">
+       <property name="maximumSize">
         <size>
-         <width>20</width>
-         <height>40</height>
+         <width>200</width>
+         <height>16777215</height>
         </size>
        </property>
-      </spacer>
+      </widget>
      </item>
      <item>
-      <widget class="QLabel" name="descriptionLabel">
-       <property name="text">
-        <string/>
+      <widget class="QTextBrowser" name="descriptionArea">
+       <property name="openExternalLinks">
+        <bool>true</bool>
        </property>
       </widget>
      </item>