]> ruin.nu Git - hbs.git/blobdiff - bs/ui/infoview.ui
some changes
[hbs.git] / bs / ui / infoview.ui
index e9e7ffa148d17eaaa1b0dc5adff8e5f75d00335e..6354911dd7506a4d1c6a671048dd96c81531ffcc 100644 (file)
@@ -1,6 +1,5 @@
 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
 <class>InfoView</class>
-<layoutdefaults spacing="0" margin="0"/>
 <widget class="QWidget">
     <property name="name">
         <cstring>InfoView</cstring>
@@ -9,28 +8,34 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>192</width>
-            <height>144</height>
+            <width>263</width>
+            <height>117</height>
         </rect>
     </property>
+    <property name="maximumSize">
+        <size>
+            <width>32767</width>
+            <height>150</height>
+        </size>
+    </property>
     <property name="caption">
         <string>Form2</string>
     </property>
-    <grid>
+    <vbox>
         <property name="name">
             <cstring>unnamed</cstring>
         </property>
         <property name="margin">
-            <number>1</number>
+            <number>0</number>
         </property>
         <property name="spacing">
-            <number>1</number>
+            <number>0</number>
         </property>
-        <widget class="QLayoutWidget" row="0" column="0">
+        <widget class="QLayoutWidget">
             <property name="name">
-                <cstring>Layout11</cstring>
+                <cstring>Layout7</cstring>
             </property>
-            <hbox>
+            <grid>
                 <property name="name">
                     <cstring>unnamed</cstring>
                 </property>
                     <number>0</number>
                 </property>
                 <property name="spacing">
-                    <number>6</number>
+                    <number>0</number>
                 </property>
-                <widget class="QLayoutWidget">
+                <widget class="QLabel" row="2" column="0">
                     <property name="name">
-                        <cstring>Layout10</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="QLabel">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Name</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Eta</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Planet score</string>
-                            </property>
-                        </widget>
-                    </vbox>
+                        <cstring>RaceLabel</cstring>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Race</string>
+                    </property>
+                    <property name="buddy" stdset="0">
+                        <cstring>RaceCombo</cstring>
+                    </property>
                 </widget>
-                <widget class="QLayoutWidget">
+                <widget class="QComboBox" row="2" column="1">
                     <property name="name">
-                        <cstring>Layout9</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="QLineEdit">
-                            <property name="name">
-                                <cstring>LineEdit5</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit">
-                            <property name="name">
-                                <cstring>LineEdit4</cstring>
-                            </property>
-                        </widget>
-                    </vbox>
+                        <cstring>RaceCombo</cstring>
+                    </property>
                 </widget>
-            </hbox>
+                <widget class="QLabel" row="1" column="0">
+                    <property name="name">
+                        <cstring>EtaLabel</cstring>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Eta</string>
+                    </property>
+                    <property name="buddy" stdset="0">
+                        <cstring>EtaSpin</cstring>
+                    </property>
+                </widget>
+                <widget class="QSpinBox" row="1" column="1">
+                    <property name="name">
+                        <cstring>EtaSpin</cstring>
+                    </property>
+                </widget>
+                <widget class="QLineEdit" row="0" column="1">
+                    <property name="name">
+                        <cstring>NameLine</cstring>
+                    </property>
+                </widget>
+                <widget class="QLabel" row="0" column="0">
+                    <property name="name">
+                        <cstring>NameLabel</cstring>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Name</string>
+                    </property>
+                    <property name="buddy" stdset="0">
+                        <cstring>NameLine</cstring>
+                    </property>
+                </widget>
+            </grid>
         </widget>
-        <widget class="QLayoutWidget" row="1" column="0">
+        <widget class="QLayoutWidget">
             <property name="name">
                 <cstring>Layout13</cstring>
             </property>
                 </property>
                 <widget class="QPushButton">
                     <property name="name">
-                        <cstring>PushButton1</cstring>
+                        <cstring>ApplyButton</cstring>
                     </property>
                     <property name="text">
-                        <string>Apply</string>
+                        <string>&amp;Apply</string>
                     </property>
                 </widget>
                 <widget class="QPushButton">
                     <property name="name">
-                        <cstring>PushButton2</cstring>
+                        <cstring>CancelButton</cstring>
                     </property>
                     <property name="text">
-                        <string>Cancel</string>
+                        <string>&amp;Cancel</string>
                     </property>
                 </widget>
                 <spacer>
-                    <property name="name">
+                    <property name="name" stdset="0">
                         <cstring>Spacer1</cstring>
                     </property>
                     <property name="orientation">
                 </spacer>
                 <widget class="QPushButton">
                     <property name="name">
-                        <cstring>PushButton3</cstring>
+                        <cstring>NewButton</cstring>
                     </property>
                     <property name="enabled">
                         <bool>false</bool>
                     </property>
                     <property name="text">
-                        <string>New</string>
+                        <string>&amp;New</string>
                     </property>
                 </widget>
                 <widget class="QPushButton">
                     <property name="name">
-                        <cstring>PushButton4</cstring>
+                        <cstring>RemoveButton</cstring>
                     </property>
                     <property name="enabled">
                         <bool>false</bool>
                     </property>
                     <property name="text">
-                        <string>Remove</string>
+                        <string>&amp;Remove</string>
                     </property>
                 </widget>
             </hbox>
         </widget>
-    </grid>
+    </vbox>
 </widget>
 <connections>
-    <slot access="protected" language="C++" returnType="void">init()</slot>
-    <slot access="protected" language="C++" returnType="void">destroy()</slot>
+    <connection>
+        <sender>ApplyButton</sender>
+        <signal>clicked()</signal>
+        <receiver>InfoView</receiver>
+        <slot>ApplyButton_clicked()</slot>
+    </connection>
+    <connection>
+        <sender>CancelButton</sender>
+        <signal>clicked()</signal>
+        <receiver>InfoView</receiver>
+        <slot>CancelButton_clicked()</slot>
+    </connection>
+    <connection>
+        <sender>NewButton</sender>
+        <signal>clicked()</signal>
+        <receiver>InfoView</receiver>
+        <slot>NewButton_clicked()</slot>
+    </connection>
+    <connection>
+        <sender>RemoveButton</sender>
+        <signal>clicked()</signal>
+        <receiver>InfoView</receiver>
+        <slot>RemoveButton_clicked()</slot>
+    </connection>
 </connections>
-<functions>
-    <function name="init()" >{
-
-}</function>
-    <function name="destroy()" >{
-
-}</function>
-</functions>
+<includes>
+    <include location="global" impldecl="in declaration">vector</include>
+    <include location="local" impldecl="in implementation">infoview.ui.h</include>
+</includes>
+<signals>
+    <signal>remove()</signal>
+    <signal>cancel()</signal>
+    <signal>apply()</signal>
+    <signal>add()</signal>
+</signals>
+<slots>
+    <slot access="protected">init()</slot>
+    <slot access="protected">destroy()</slot>
+    <slot>setRaces( std::vector&lt;QString&gt; races )</slot>
+    <slot>setEta( int eta )</slot>
+    <slot>setFleetName( QString name )</slot>
+    <slot>setRace( QString name )</slot>
+    <slot>InfoView_destroyed( QObject * )</slot>
+    <slot>ApplyButton_clicked()</slot>
+    <slot>CancelButton_clicked()</slot>
+    <slot>NewButton_clicked()</slot>
+    <slot>RemoveButton_clicked()</slot>
+</slots>
+<layoutdefaults spacing="0" margin="0"/>
 </UI>