]> ruin.nu Git - hbs.git/blobdiff - bs/ui/resourceview.ui
added functionallity to show the cost for each roid.
[hbs.git] / bs / ui / resourceview.ui
index 6221366e10bcd157292bf733be147631801b9b0d..376a60a53f4d11f126615f961445b50fc3794107 100644 (file)
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>241</width>
-            <height>75</height>
+            <width>551</width>
+            <height>105</height>
         </rect>
     </property>
-    <property name="maximumSize">
+    <property name="sizePolicy">
+        <sizepolicy>
+            <hsizetype>5</hsizetype>
+            <vsizetype>4</vsizetype>
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+        </sizepolicy>
+    </property>
+    <property name="minimumSize">
         <size>
-            <width>32767</width>
-            <height>90</height>
+            <width>0</width>
+            <height>105</height>
         </size>
     </property>
     <property name="caption">
         <string>QGroupBoxForm</string>
     </property>
     <property name="title">
-        <string>Resources</string>
+        <string>Resources and Score</string>
     </property>
     <grid>
         <property name="name">
             <cstring>unnamed</cstring>
         </property>
         <property name="margin">
-            <number>3</number>
+            <number>11</number>
         </property>
         <property name="spacing">
-            <number>0</number>
+            <number>6</number>
         </property>
-        <widget class="QLabel" row="0" column="3">
+        <widget class="QLabel" row="0" column="2" rowspan="1" colspan="2">
             <property name="name">
-                <cstring>uninitLabel</cstring>
+                <cstring>crystalLabel</cstring>
             </property>
             <property name="text">
-                <string>Uninit</string>
+                <string>Crystal</string>
             </property>
         </widget>
-        <widget class="QLabel" row="0" column="1">
+        <widget class="QLabel" row="0" column="4" rowspan="1" colspan="2">
             <property name="name">
-                <cstring>crystalLabel</cstring>
+                <cstring>eoniumLabel</cstring>
             </property>
             <property name="text">
-                <string>Crystal</string>
+                <string>Eonium</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="6" rowspan="1" colspan="2">
+            <property name="name">
+                <cstring>EoniumEdit</cstring>
+            </property>
+            <property name="focusPolicy">
+                <enum>NoFocus</enum>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="2" rowspan="1" colspan="2">
+            <property name="name">
+                <cstring>CrystalEdit</cstring>
+            </property>
+            <property name="focusPolicy">
+                <enum>NoFocus</enum>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
             </property>
         </widget>
-        <widget class="QLabel" row="0" column="0">
+        <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
             <property name="name">
                 <cstring>metalLabel</cstring>
             </property>
@@ -60,9 +90,9 @@
                 <string>Metal</string>
             </property>
         </widget>
-        <widget class="QLineEdit" row="1" column="0">
+        <widget class="QLineEdit" row="1" column="4" rowspan="1" colspan="2">
             <property name="name">
-                <cstring>MetalLine</cstring>
+                <cstring>UninitEdit</cstring>
             </property>
             <property name="focusPolicy">
                 <enum>NoFocus</enum>
                 <bool>true</bool>
             </property>
         </widget>
-        <widget class="QLineEdit" row="1" column="1">
+        <widget class="QLineEdit" row="1" column="0" rowspan="1" colspan="2">
             <property name="name">
-                <cstring>CrystalLine</cstring>
+                <cstring>MetalEdit</cstring>
             </property>
             <property name="focusPolicy">
                 <enum>NoFocus</enum>
                 <bool>true</bool>
             </property>
         </widget>
-        <widget class="QLabel" row="0" column="2">
+        <widget class="QLabel" row="2" column="0">
             <property name="name">
-                <cstring>eoniumLabel</cstring>
+                <cstring>ScoreLabel</cstring>
             </property>
             <property name="text">
-                <string>Eonium</string>
+                <string>Score:</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
+            <property name="name">
+                <cstring>ScoreEdit</cstring>
+            </property>
+            <property name="focusPolicy">
+                <enum>NoFocus</enum>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLabel" row="2" column="3">
+            <property name="name">
+                <cstring>ScoreLostLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Lost</string>
+            </property>
+        </widget>
+        <widget class="QLabel" row="0" column="6" rowspan="1" colspan="2">
+            <property name="name">
+                <cstring>uninitLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Uninit</string>
             </property>
         </widget>
-        <widget class="QLineEdit" row="1" column="2">
+        <widget class="QLineEdit" row="2" column="4">
             <property name="name">
-                <cstring>UninitLine</cstring>
+                <cstring>ScoreLostEdit</cstring>
             </property>
             <property name="focusPolicy">
                 <enum>NoFocus</enum>
                 <bool>true</bool>
             </property>
         </widget>
-        <widget class="QLineEdit" row="1" column="3">
+        <widget class="QLabel" row="2" column="5" rowspan="1" colspan="2">
+            <property name="name">
+                <cstring>CostLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Cost</string>
+            </property>
+            <property name="toolTip" stdset="0">
+                <string>The cost in k score / init roid</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="2" column="7">
             <property name="name">
-                <cstring>EoniumLine</cstring>
+                <cstring>CostEdit</cstring>
             </property>
             <property name="focusPolicy">
                 <enum>NoFocus</enum>
         </widget>
     </grid>
 </widget>
+<connections>
+</connections>
 <includes>
     <include location="local" impldecl="in implementation">resourceview.ui.h</include>
 </includes>
+<slots>
+    <slot>setLines( QString type, float i )</slot>
+</slots>
 <pixmapinproject/>
 <layoutdefaults spacing="6" margin="11"/>
 </UI>