X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fui%2Finfoview.ui;h=bb57b75002469dc7b26c71ed8fcc2639fcdc425e;hb=7311d423f454c500dbc60dd822007da3981b0d56;hp=6354911dd7506a4d1c6a671048dd96c81531ffcc;hpb=ba016135c4c232c79cb35c92f239579ca3d84df3;p=hbs.git diff --git a/bs/ui/infoview.ui b/bs/ui/infoview.ui index 6354911..bb57b75 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 @@ -7,21 +9,29 @@ 0 - 0 - 263 - 117 + 4 + 267 + 221 + + + 5 + 4 + 0 + 0 + + 32767 - 150 + 221 Form2 - + unnamed @@ -31,71 +41,55 @@ 0 - + - 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 @@ -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 + + + + + StaySpin + + + -1 + + + - - ApplyButton - clicked() - InfoView - ApplyButton_clicked() - CancelButton clicked() @@ -193,11 +267,37 @@ 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() @@ -205,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 )