X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fui%2Finfoview.ui;h=bb57b75002469dc7b26c71ed8fcc2639fcdc425e;hb=7311d423f454c500dbc60dd822007da3981b0d56;hp=b34ef8a5428debf100bce165bbef7a9f41b1db2e;hpb=33b6dc7ca95a05c26a78879413395c1588066b77;p=hbs.git
diff --git a/bs/ui/infoview.ui b/bs/ui/infoview.ui
index b34ef8a..bb57b75 100644
--- a/bs/ui/infoview.ui
+++ b/bs/ui/infoview.ui
@@ -9,9 +9,9 @@
0
- 0
+ 4
267
- 198
+ 221
@@ -25,7 +25,7 @@
32767
- 200
+ 221
@@ -36,10 +36,10 @@
unnamed
- 3
+ 0
- 2
+ 0
@@ -77,78 +77,19 @@
GroupCombo
+
+ NoInsertion
+
BattleCombo
-
-
-
- RaceLabel
-
-
- &Race
-
-
- RaceCombo
-
-
-
-
- NameLine
-
-
-
-
- NameLabel
-
-
- &Name
-
-
- NameLine
+
+ NoInsertion
-
-
- RaceCombo
-
-
-
-
- EtaLabel
-
-
- &Eta
-
-
- EtaSpin
-
-
-
-
- EtaSpin
-
-
-
-
- Spacer3
-
-
- Vertical
-
-
- Expanding
-
-
-
- 20
- 20
-
-
-
-
+
Layout13
@@ -179,7 +120,7 @@
-
+
Spacer1
@@ -188,12 +129,6 @@
Expanding
-
-
- 20
- 20
-
-
@@ -214,13 +149,13 @@
false
- &Remove
+ Remo&ve
-
-
+
+
Spacer4
@@ -229,13 +164,88 @@
Expanding
-
-
- 20
- 20
-
+
+
+
+ RaceLabel
+
+
+ &Race
+
+
+ RaceCombo
+
+
+
+
+ RaceCombo
+
+
+
+
+ Spacer3
+
+
+ Vertical
+
+
+ Expanding
+
+
+ NameLabel
+
+
+ Na&me
+
+
+ NameLine
+
+
+
+
+ EtaLabel
+
+
+ E&ta
+
+
+ EtaSpin
+
+
+
+
+ NameLine
+
+
+
+
+ EtaSpin
+
+
+
+
+ StayLabel
+
+
+ Stays
+
+
+ StaySpin
+
+
+ Sets the number of ticks the fleet stays at the target, usually 3 for hostile and 6 for friendly. The fleet is disabled if stays is 0, and it stays the whole battle if it's -1
+
+
+
+
+ StaySpin
+
+
+ -1
+
+
@@ -257,6 +267,18 @@
InfoView
RemoveButton_clicked()
+
+ ApplyButton
+ clicked()
+ InfoView
+ ApplyButton_clicked()
+
+
+ NameLine
+ textChanged(const QString&)
+ InfoView
+ slotNameChanged(const QString&)
+
NameLine
@@ -271,6 +293,11 @@
vector
infoview.ui.h
+
+ QString m_Name;
+ QString m_Battle;
+ QString m_Group;
+
remove()
cancel()
@@ -278,8 +305,8 @@
add()
- init()
- destroy()
+ init()
+ destroy()
setRaces( std::vector<QString> races )
setEta( int eta )
setFleetName( QString name )
@@ -291,6 +318,17 @@
setGroup( QString s )
setBattles( std::vector<QString> battles )
setBattle( QString s )
+ enableNameChange( bool b )
+ enableRemove( bool b )
+ ApplyButton_clicked()
+ battle()
+ eta()
+ fleetName()
+ group()
+ race()
+ slotNameChanged( const QString & s )
+ stays()
+ setStays( int ticks )