]> ruin.nu Git - hbs.git/blobdiff - bs/ui/infoview.ui
adding, removing and chaning fleets now works.
[hbs.git] / bs / ui / infoview.ui
index 411daeb40f27cebea0c743f69ea820dfcdee65e9..33135f7ef3f7373ad4e9a29aa764735cb634b850 100644 (file)
             <property name="name">
                 <cstring>GroupCombo</cstring>
             </property>
+            <property name="insertionPolicy">
+                <enum>NoInsertion</enum>
+            </property>
         </widget>
         <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
             <property name="name">
                 <cstring>BattleCombo</cstring>
             </property>
+            <property name="insertionPolicy">
+                <enum>NoInsertion</enum>
+            </property>
         </widget>
         <widget class="QLabel" row="5" column="0">
             <property name="name">
                 <cstring>NameLabel</cstring>
             </property>
             <property name="text">
-                <string>&amp;Name</string>
+                <string>Na&amp;me</string>
             </property>
             <property name="buddy" stdset="0">
                 <cstring>NameLine</cstring>
                 <cstring>EtaLabel</cstring>
             </property>
             <property name="text">
-                <string>&amp;Eta</string>
+                <string>E&amp;ta</string>
             </property>
             <property name="buddy" stdset="0">
                 <cstring>EtaSpin</cstring>
                         <bool>false</bool>
                     </property>
                     <property name="text">
-                        <string>&amp;Remove</string>
+                        <string>Remo&amp;ve</string>
                     </property>
                 </widget>
             </hbox>
         <receiver>InfoView</receiver>
         <slot>ApplyButton_clicked()</slot>
     </connection>
+    <connection>
+        <sender>NameLine</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>InfoView</receiver>
+        <slot>slotNameChanged(const QString&amp;)</slot>
+    </connection>
 </connections>
 <tabstops>
     <tabstop>NameLine</tabstop>
     <include location="global" impldecl="in declaration">vector</include>
     <include location="local" impldecl="in implementation">infoview.ui.h</include>
 </includes>
+<variables>
+    <variable>QString m_Name;</variable>
+    <variable>QString m_Battle;</variable>
+    <variable>QString m_Group;</variable>
+</variables>
 <signals>
     <signal>remove()</signal>
     <signal>cancel()</signal>
     <slot returnType="QString">fleetName()</slot>
     <slot returnType="QString">group()</slot>
     <slot returnType="QString">race()</slot>
+    <slot>slotNameChanged( const QString &amp; s )</slot>
 </slots>
 <layoutdefaults spacing="0" margin="0"/>
 </UI>