X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fui%2Finfoview.ui;h=2a22c689d03c711ff7e878b431a489442e279bd9;hb=935b6de2d1428854d76acc20b1727eb4a30f9273;hp=e9e7ffa148d17eaaa1b0dc5adff8e5f75d00335e;hpb=ec7ebf4a9acd1d7b7e4e7967c4afa94300ed5ff9;p=hbs.git diff --git a/bs/ui/infoview.ui b/bs/ui/infoview.ui index e9e7ffa..2a22c68 100644 --- a/bs/ui/infoview.ui +++ b/bs/ui/infoview.ui @@ -1,6 +1,7 @@ InfoView - +A nice little widget who don't know much about the rest of the world.. ;) +Michael Andree InfoView @@ -9,10 +10,24 @@ 0 0 - 192 - 144 + 302 + 217 + + + 5 + 4 + 0 + 0 + + + + + 32767 + 221 + + Form2 @@ -21,99 +36,60 @@ unnamed - 1 + 4 - 1 + 5 - + - Layout11 + GroupLabel - - - unnamed - - - 0 + + &Group + + + GroupCombo + + + + + BattleLabel + + + &Battle + + + BattleCombo + + + + + + Friendly - - 6 + + + + Hostile - - - Layout10 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel3 - - - Name - - - - - TextLabel1 - - - Eta - - - - - TextLabel2 - - - Planet score - - - - - - - Layout9 - - - - unnamed - - - 0 - - - 6 - - - - LineEdit5 - - - - - LineEdit3 - - - - - LineEdit4 - - - - - + + + GroupCombo + + + NoInsertion + - + + + BattleCombo + + + NoInsertion + + + Layout13 @@ -125,22 +101,22 @@ 0 - 0 + 5 - PushButton1 + ApplyButton - Apply + &Apply - PushButton2 + CancelButton - Cancel + &Cancel @@ -153,49 +129,206 @@ Expanding - - - 20 - 20 - - - PushButton3 + NewButton false - New + &New - PushButton4 + RemoveButton 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 + + - init() - destroy() + + CancelButton + clicked() + InfoView + CancelButton_clicked() + + + NewButton + clicked() + InfoView + NewButton_clicked() + + + RemoveButton + clicked() + InfoView + RemoveButton_clicked() + + + ApplyButton + clicked() + InfoView + ApplyButton_clicked() + + + NameLine + textChanged(const QString&) + InfoView + slotNameChanged(const QString&) + - - { - -} - { - -} - + + NameLine + EtaSpin + RaceCombo + ApplyButton + CancelButton + NewButton + RemoveButton + + + vector + infoview.ui.h + + + QString m_Name; + QString m_Battle; + QString m_Group; + + + remove() + cancel() + apply() + add() + + + init() + destroy() + setRaces( std::vector<QString> races ) + setEta( int eta ) + setFleetName( QString name ) + setRace( QString name ) + InfoView_destroyed( QObject * ) + 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 ) + +