]> ruin.nu Git - hbs.git/commitdiff
Mostly inital commits.
authorMichael Andreen <harv@ruin.nu>
Sat, 9 Mar 2002 19:14:44 +0000 (19:14 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 9 Mar 2002 19:14:44 +0000 (19:14 +0000)
Fleetviewbase is totally cleaned up.. preparing for removal

bs/ui/fleetviewbase.ui
bs/ui/fleetviewbase.ui.h
bs/ui/resourceview.ui [new file with mode: 0644]
bs/ui/resourceview.ui.h [new file with mode: 0644]
bs/ui/roidseditview.ui [new file with mode: 0644]
bs/ui/roidseditview.ui.h [new file with mode: 0644]
bs/ui/uniteditview.ui [new file with mode: 0644]
bs/ui/uniteditview.ui.h [new file with mode: 0644]

index eb940f0a85cb4bf119223cfcd6ea6e2f454e8538..dce411f6a26af54b20312786d0ff3592212b7796 100644 (file)
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>627</width>
-            <height>414</height>
+            <width>518</width>
+            <height>467</height>
         </rect>
     </property>
     <property name="caption">
         <string>Form1</string>
     </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="2" column="0">
-            <property name="name">
-                <cstring>RoidsGroup</cstring>
-            </property>
-            <property name="title">
-                <string>Roids</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLabel" row="0" column="1">
-                    <property name="name">
-                        <cstring>TextLabel1</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Metal</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="2" column="1">
-                    <property name="name">
-                        <cstring>LineEdit27</cstring>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="1" column="2">
-                    <property name="name">
-                        <cstring>LineEdit29</cstring>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="2" column="2">
-                    <property name="name">
-                        <cstring>LineEdit28</cstring>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="0" column="2">
-                    <property name="name">
-                        <cstring>TextLabel2</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Crystal</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="1" column="3">
-                    <property name="name">
-                        <cstring>LineEdit31</cstring>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="2" column="3">
-                    <property name="name">
-                        <cstring>LineEdit30</cstring>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="0" column="3">
-                    <property name="name">
-                        <cstring>TextLabel3</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Eonium</string>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="0" column="4">
-                    <property name="name">
-                        <cstring>TextLabel4</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Uninit</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="1" column="4">
-                    <property name="name">
-                        <cstring>LineEdit32</cstring>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="2" column="4">
-                    <property name="name">
-                        <cstring>LineEdit33</cstring>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="1" column="0">
-                    <property name="name">
-                        <cstring>TextLabel5</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Total</string>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="2" column="0">
-                    <property name="name">
-                        <cstring>TextLabel6</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Lost</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit" row="1" column="1">
-                    <property name="name">
-                        <cstring>LineEdit26</cstring>
-                    </property>
-                </widget>
-            </grid>
-        </widget>
-        <widget class="QGroupBox" row="3" column="0">
-            <property name="name">
-                <cstring>CaptureBox</cstring>
-            </property>
-            <property name="title">
-                <string>Captured roids</string>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>TextLabel18</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Metal</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit">
-                    <property name="name">
-                        <cstring>MetalLine</cstring>
-                    </property>
-                    <property name="focusPolicy">
-                        <enum>NoFocus</enum>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>TextLabel19</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Crystal</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit">
-                    <property name="name">
-                        <cstring>CrystalLine</cstring>
-                    </property>
-                    <property name="focusPolicy">
-                        <enum>NoFocus</enum>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>TextLabel20</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Eonium</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit">
-                    <property name="name">
-                        <cstring>EoniumLine</cstring>
-                    </property>
-                    <property name="focusPolicy">
-                        <enum>NoFocus</enum>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>TextLabel7</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Uninit</string>
-                    </property>
-                </widget>
-                <widget class="QLineEdit">
-                    <property name="name">
-                        <cstring>UninitLine</cstring>
-                    </property>
-                    <property name="readOnly">
-                        <bool>true</bool>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <spacer row="1" column="0">
-            <property name="name" stdset="0">
-                <cstring>Spacer4</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>20</width>
-                    <height>20</height>
-                </size>
-            </property>
-        </spacer>
-        <widget class="QLayoutWidget" row="0" column="0">
-            <property name="name">
-                <cstring>Layout6</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>0</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget">
-                    <property name="name">
-                        <cstring>Layout15</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="0" column="1">
-                            <property name="name">
-                                <cstring>TextLabel13</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Total</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="3" column="1">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel12</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Name</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="6" column="2">
-                            <property name="name">
-                                <cstring>LineEdit12</cstring>
-                            </property>
-                            <property name="focusPolicy">
-                                <enum>NoFocus</enum>
-                            </property>
-                            <property name="readOnly">
-                                <bool>true</bool>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="6" column="1">
-                            <property name="name">
-                                <cstring>LineEdit6</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="2" column="1">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="2">
-                            <property name="name">
-                                <cstring>TextLabel14</cstring>
-                            </property>
-                            <property name="text">
-                                <string>L/S</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="2" column="2">
-                            <property name="name">
-                                <cstring>LineEdit8</cstring>
-                            </property>
-                            <property name="focusPolicy">
-                                <enum>NoFocus</enum>
-                            </property>
-                            <property name="readOnly">
-                                <bool>true</bool>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="3" column="0">
-                            <property name="name">
-                                <cstring>WarfrigateLabel</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Warfrigate</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="4" column="0">
-                            <property name="name">
-                                <cstring>DevistatorLabel</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Devistator</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="3" column="2">
-                            <property name="name">
-                                <cstring>LineEdit9</cstring>
-                            </property>
-                            <property name="focusPolicy">
-                                <enum>NoFocus</enum>
-                            </property>
-                            <property name="readOnly">
-                                <bool>true</bool>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="4" column="1">
-                            <property name="name">
-                                <cstring>LineEdit4</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="5" column="0">
-                            <property name="name">
-                                <cstring>StarCruiserLabel</cstring>
-                            </property>
-                            <property name="text">
-                                <string>StarCruiser</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>PheonixLabel</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Pheonix</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="4" column="2">
-                            <property name="name">
-                                <cstring>LineEdit10</cstring>
-                            </property>
-                            <property name="focusPolicy">
-                                <enum>NoFocus</enum>
-                            </property>
-                            <property name="readOnly">
-                                <bool>true</bool>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="1">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="6" column="0">
-                            <property name="name">
-                                <cstring>DreadnaughLabel</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Dreadnaught</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="5" column="1">
-                            <property name="name">
-                                <cstring>LineEdit5</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit7</cstring>
-                            </property>
-                            <property name="focusPolicy">
-                                <enum>NoFocus</enum>
-                            </property>
-                            <property name="readOnly">
-                                <bool>true</bool>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="5" column="2">
-                            <property name="name">
-                                <cstring>LineEdit11</cstring>
-                            </property>
-                            <property name="focusPolicy">
-                                <enum>NoFocus</enum>
-                            </property>
-                            <property name="readOnly">
-                                <bool>true</bool>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>InterceptorLabel</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Interceptor</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-                <spacer>
-                    <property name="name" stdset="0">
-                        <cstring>Spacer5</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="QLayoutWidget">
-                    <property name="name">
-                        <cstring>Layout4</cstring>
-                    </property>
-                    <vbox>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget">
-                            <property name="name">
-                                <cstring>Layout16</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLineEdit" row="3" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit9_2</cstring>
-                                    </property>
-                                    <property name="focusPolicy">
-                                        <enum>NoFocus</enum>
-                                    </property>
-                                    <property name="readOnly">
-                                        <bool>true</bool>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="3" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit3_2</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit1_2</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="3" column="0">
-                                    <property name="name">
-                                        <cstring>BlackWidowLabel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>BlackWidow</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>SpiderLabel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Spider</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="4" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit10_2</cstring>
-                                    </property>
-                                    <property name="focusPolicy">
-                                        <enum>NoFocus</enum>
-                                    </property>
-                                    <property name="readOnly">
-                                        <bool>true</bool>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="4" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit4_2</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>WraithLabel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Wraith</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="1" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit7_2</cstring>
-                                    </property>
-                                    <property name="focusPolicy">
-                                        <enum>NoFocus</enum>
-                                    </property>
-                                    <property name="readOnly">
-                                        <bool>true</bool>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="2">
-                                    <property name="name">
-                                        <cstring>TextLabel17</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>L/S</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel15</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Name</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit2_2</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="5" column="0">
-                                    <property name="name">
-                                        <cstring>SpectreLabel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Spectre</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="5" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit5_2</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>TextLabel16</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Total</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="2" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit8_2</cstring>
-                                    </property>
-                                    <property name="focusPolicy">
-                                        <enum>NoFocus</enum>
-                                    </property>
-                                    <property name="readOnly">
-                                        <bool>true</bool>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="5" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit11_2</cstring>
-                                    </property>
-                                    <property name="focusPolicy">
-                                        <enum>NoFocus</enum>
-                                    </property>
-                                    <property name="readOnly">
-                                        <bool>true</bool>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="4" column="0">
-                                    <property name="name">
-                                        <cstring>TarantulaLabel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Tarantula</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <spacer>
-                            <property name="name" stdset="0">
-                                <cstring>Spacer2</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>20</width>
-                                    <height>20</height>
-                                </size>
-                            </property>
-                        </spacer>
-                    </vbox>
-                </widget>
-            </hbox>
-        </widget>
-    </grid>
 </widget>
 <connections>
 </connections>
 <tabstops>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>LineEdit2</tabstop>
-    <tabstop>LineEdit3</tabstop>
-    <tabstop>LineEdit4</tabstop>
-    <tabstop>LineEdit5</tabstop>
-    <tabstop>LineEdit6</tabstop>
-    <tabstop>LineEdit1_2</tabstop>
-    <tabstop>LineEdit2_2</tabstop>
-    <tabstop>LineEdit3_2</tabstop>
-    <tabstop>LineEdit4_2</tabstop>
-    <tabstop>LineEdit5_2</tabstop>
-    <tabstop>LineEdit8</tabstop>
-    <tabstop>MetalLine</tabstop>
-    <tabstop>CrystalLine</tabstop>
-    <tabstop>EoniumLine</tabstop>
-    <tabstop>LineEdit7</tabstop>
-    <tabstop>LineEdit9</tabstop>
-    <tabstop>LineEdit10</tabstop>
-    <tabstop>LineEdit11</tabstop>
-    <tabstop>LineEdit12</tabstop>
-    <tabstop>LineEdit7_2</tabstop>
-    <tabstop>LineEdit8_2</tabstop>
-    <tabstop>LineEdit9_2</tabstop>
-    <tabstop>LineEdit10_2</tabstop>
-    <tabstop>LineEdit11_2</tabstop>
 </tabstops>
 <includes>
     <include location="local" impldecl="in implementation">fleetviewbase.ui.h</include>
 </includes>
 <slots>
-    <slot>slotAttacker( bool b )</slot>
-    <slot>slotHomePlanet( bool b )</slot>
+    <slot>slotAttacker(bool b)</slot>
+    <slot>slotHomePlanet(bool b)</slot>
 </slots>
 <pixmapinproject/>
 <layoutdefaults spacing="6" margin="11"/>
index 5d3e4dc34329e1b6ce85824e916b519613f560fe..5f0912bb3c43a75657b8899930e83f121a1c6ecc 100644 (file)
@@ -9,24 +9,24 @@
 
 void FleetViewBase::slotAttacker(bool b)
 {
-    if (b)
+/*    if (b)
     {
        CaptureBox->setTitle(tr("Captured roids"));
     }
     else
     {
        CaptureBox->setTitle(tr("Salvage"));
-    }
+    }*/
 }
 
 void FleetViewBase::slotHomePlanet( bool b )
 {
-    if (b)
+/*    if (b)
     {
        RoidsGroup->show();
     }
     else
     {
        RoidsGroup->hide();
-    }
+    }*/
 }
\ No newline at end of file
diff --git a/bs/ui/resourceview.ui b/bs/ui/resourceview.ui
new file mode 100644 (file)
index 0000000..8fde5eb
--- /dev/null
@@ -0,0 +1,110 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>ResourceView</class>
+<comment>This widget is used to show captured roids or salvage</comment>
+<author>Michael Andreen</author>
+<widget class="QGroupBox">
+    <property name="name">
+        <cstring>ResourceView</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>241</width>
+            <height>75</height>
+        </rect>
+    </property>
+    <property name="caption">
+        <string>QGroupBoxForm</string>
+    </property>
+    <property name="title">
+        <string>Resources</string>
+    </property>
+    <grid>
+        <property name="name">
+            <cstring>unnamed</cstring>
+        </property>
+        <property name="margin">
+            <number>3</number>
+        </property>
+        <property name="spacing">
+            <number>0</number>
+        </property>
+        <widget class="QLabel" row="0" column="3">
+            <property name="name">
+                <cstring>uninitLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Uninit</string>
+            </property>
+        </widget>
+        <widget class="QLabel" row="0" column="1">
+            <property name="name">
+                <cstring>crystalLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Crystal</string>
+            </property>
+        </widget>
+        <widget class="QLabel" row="0" column="0">
+            <property name="name">
+                <cstring>metalLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Metal</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="0">
+            <property name="name">
+                <cstring>MetalLine</cstring>
+            </property>
+            <property name="focusPolicy">
+                <enum>NoFocus</enum>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="1">
+            <property name="name">
+                <cstring>CrystalLine</cstring>
+            </property>
+            <property name="focusPolicy">
+                <enum>NoFocus</enum>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLabel" row="0" column="2">
+            <property name="name">
+                <cstring>eoniumLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Eonium</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="2">
+            <property name="name">
+                <cstring>UninitLine</cstring>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="3">
+            <property name="name">
+                <cstring>EoniumLine</cstring>
+            </property>
+            <property name="focusPolicy">
+                <enum>NoFocus</enum>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+    </grid>
+</widget>
+<pixmapinproject/>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>
diff --git a/bs/ui/resourceview.ui.h b/bs/ui/resourceview.ui.h
new file mode 100644 (file)
index 0000000..a794cb3
--- /dev/null
@@ -0,0 +1,9 @@
+/****************************************************************************
+** ui.h extension file, included from the uic-generated form implementation.
+**
+** If you wish to add, delete or rename slots use Qt Designer which will
+** update this file, preserving your code. Create an init() slot in place of
+** a constructor, and a destroy() slot in place of a destructor.
+*****************************************************************************/
+
+//test
\ No newline at end of file
diff --git a/bs/ui/roidseditview.ui b/bs/ui/roidseditview.ui
new file mode 100644 (file)
index 0000000..42b5966
--- /dev/null
@@ -0,0 +1,139 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>RoidsEditView</class>
+<author>Michael Andreen</author>
+<widget class="QGroupBox">
+    <property name="name">
+        <cstring>RoidsEditView</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>289</width>
+            <height>100</height>
+        </rect>
+    </property>
+    <property name="caption">
+        <string>Roids</string>
+    </property>
+    <property name="title">
+        <string>Roids</string>
+    </property>
+    <grid>
+        <property name="name">
+            <cstring>unnamed</cstring>
+        </property>
+        <property name="margin">
+            <number>3</number>
+        </property>
+        <property name="spacing">
+            <number>0</number>
+        </property>
+        <widget class="QLabel" row="0" column="3">
+            <property name="name">
+                <cstring>eoniumLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Eonium</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="3">
+            <property name="name">
+                <cstring>LineEdit31</cstring>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="4">
+            <property name="name">
+                <cstring>LineEdit32</cstring>
+            </property>
+        </widget>
+        <widget class="QLabel" row="0" column="2">
+            <property name="name">
+                <cstring>crystalLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Crystal</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="1">
+            <property name="name">
+                <cstring>LineEdit26</cstring>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="2" column="1">
+            <property name="name">
+                <cstring>LineEdit27</cstring>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLabel" row="1" column="0">
+            <property name="name">
+                <cstring>TextLabel5</cstring>
+            </property>
+            <property name="text">
+                <string>Total</string>
+            </property>
+        </widget>
+        <widget class="QLabel" row="0" column="1">
+            <property name="name">
+                <cstring>metalLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Metal</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="1" column="2">
+            <property name="name">
+                <cstring>LineEdit29</cstring>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="2" column="2">
+            <property name="name">
+                <cstring>LineEdit28</cstring>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLabel" row="2" column="0">
+            <property name="name">
+                <cstring>TextLabel6</cstring>
+            </property>
+            <property name="text">
+                <string>Lost</string>
+            </property>
+        </widget>
+        <widget class="QLabel" row="0" column="4">
+            <property name="name">
+                <cstring>uninitLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Uninit</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="2" column="3">
+            <property name="name">
+                <cstring>LineEdit30</cstring>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QLineEdit" row="2" column="4">
+            <property name="name">
+                <cstring>LineEdit33</cstring>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+    </grid>
+</widget>
+<includes>
+    <include location="local" impldecl="in implementation">roidseditview.ui.h</include>
+</includes>
+<pixmapinproject/>
+<layoutdefaults spacing="0" margin="2"/>
+</UI>
diff --git a/bs/ui/roidseditview.ui.h b/bs/ui/roidseditview.ui.h
new file mode 100644 (file)
index 0000000..6f98119
--- /dev/null
@@ -0,0 +1,8 @@
+/****************************************************************************
+** ui.h extension file, included from the uic-generated form implementation.
+**
+** If you wish to add, delete or rename slots use Qt Designer which will
+** update this file, preserving your code. Create an init() slot in place of
+** a constructor, and a destroy() slot in place of a destructor.
+*****************************************************************************/
+//test
\ No newline at end of file
diff --git a/bs/ui/uniteditview.ui b/bs/ui/uniteditview.ui
new file mode 100644 (file)
index 0000000..699e228
--- /dev/null
@@ -0,0 +1,64 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>UnitEditView</class>
+<comment>Shows the name, an inputfield where you can type the total number of that unit and another linedit to show the lost/survived units.</comment>
+<author>Michael Andreen</author>
+<widget class="QWidget">
+    <property name="name">
+        <cstring>UnitEditView</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>144</width>
+            <height>31</height>
+        </rect>
+    </property>
+    <property name="caption">
+        <string>Unit</string>
+    </property>
+    <hbox>
+        <property name="name">
+            <cstring>unnamed</cstring>
+        </property>
+        <property name="margin">
+            <number>2</number>
+        </property>
+        <property name="spacing">
+            <number>0</number>
+        </property>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>UnitLabel</cstring>
+            </property>
+            <property name="text">
+                <string>Unit</string>
+            </property>
+            <property name="buddy" stdset="0">
+                <cstring>TotalEdit</cstring>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>TotalEdit</cstring>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>LostSurvivedEdit</cstring>
+            </property>
+            <property name="focusPolicy">
+                <enum>NoFocus</enum>
+            </property>
+            <property name="readOnly">
+                <bool>true</bool>
+            </property>
+        </widget>
+    </hbox>
+</widget>
+<includes>
+    <include location="local" impldecl="in implementation">uniteditview.ui.h</include>
+</includes>
+<pixmapinproject/>
+<layoutdefaults spacing="0" margin="2"/>
+</UI>
diff --git a/bs/ui/uniteditview.ui.h b/bs/ui/uniteditview.ui.h
new file mode 100644 (file)
index 0000000..6f98119
--- /dev/null
@@ -0,0 +1,8 @@
+/****************************************************************************
+** ui.h extension file, included from the uic-generated form implementation.
+**
+** If you wish to add, delete or rename slots use Qt Designer which will
+** update this file, preserving your code. Create an init() slot in place of
+** a constructor, and a destroy() slot in place of a destructor.
+*****************************************************************************/
+//test
\ No newline at end of file