X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fui%2Finfoview.ui;h=2a22c689d03c711ff7e878b431a489442e279bd9;hb=147b9d8a408c0ac8b4f284c98fcb5af41873ce9a;hp=b4355774119af2ae82f6697ceaff1cbd57137ef6;hpb=5940cfda3be2c7b4ecbd64c814948b29139177c0;p=hbs.git diff --git a/bs/ui/infoview.ui b/bs/ui/infoview.ui index b435577..2a22c68 100644 --- a/bs/ui/infoview.ui +++ b/bs/ui/infoview.ui @@ -1,5 +1,7 @@ InfoView +A nice little widget who don't know much about the rest of the world.. ;) +Michael Andree InfoView @@ -8,94 +10,86 @@ 0 0 - 293 - 117 + 302 + 217 + + + 5 + 4 + 0 + 0 + + 32767 - 150 + 221 Form2 - + unnamed - 0 + 4 - 0 + 5 - + - Layout7 + GroupLabel - - - unnamed - - - 0 + + &Group + + + GroupCombo + + + + + BattleLabel + + + &Battle + + + BattleCombo + + + + + + Friendly - - 0 + + + + Hostile - - - RaceLabel - - - &Race - - - RaceCombo - - - - - RaceCombo - - - - - EtaLabel - - - &Eta - - - EtaSpin - - - - - EtaSpin - - - - - NameLine - - - - - NameLabel - - - &Name - - - NameLine - - - + + + GroupCombo + + + NoInsertion + + + + + BattleCombo + + + NoInsertion + - + Layout13 @@ -107,7 +101,7 @@ 0 - 0 + 5 @@ -126,7 +120,7 @@ - + Spacer1 @@ -135,12 +129,6 @@ Expanding - - - 20 - 20 - - @@ -161,20 +149,106 @@ false - &Remove + Remo&ve - + + + Spacer4 + + + Vertical + + + Expanding + + + + + 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 <p> <b>If you use -1 for an atttacker and it freeze, IT'S YOUR OWN FAULT! </b> + + + + + StaySpin + + + -1 + + + - - ApplyButton - clicked() - InfoView - ApplyButton_clicked() - CancelButton clicked() @@ -193,6 +267,18 @@ InfoView RemoveButton_clicked() + + ApplyButton + clicked() + InfoView + ApplyButton_clicked() + + + NameLine + textChanged(const QString&) + InfoView + slotNameChanged(const QString&) + NameLine @@ -207,6 +293,11 @@ vector infoview.ui.h + + QString m_Name; + QString m_Battle; + QString m_Group; + remove() cancel() @@ -214,17 +305,30 @@ add() - init() - destroy() + init() + destroy() setRaces( std::vector<QString> races ) setEta( int eta ) setFleetName( QString name ) setRace( QString name ) InfoView_destroyed( QObject * ) - ApplyButton_clicked() CancelButton_clicked() NewButton_clicked() RemoveButton_clicked() + 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 ) - +