From bdcb677a098dcf851892537dafedb91ab37f2a8b Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Mon, 24 Sep 2001 19:52:55 +0000 Subject: [PATCH] commiting the basic structure and some test code --- bs/ui/fleetviewbase.ui | 794 +++++++++++++++++++++++++++++++++------ bs/ui/fleetviewbase.ui.h | 22 ++ 2 files changed, 702 insertions(+), 114 deletions(-) create mode 100644 bs/ui/fleetviewbase.ui.h diff --git a/bs/ui/fleetviewbase.ui b/bs/ui/fleetviewbase.ui index edacee0..a736d64 100644 --- a/bs/ui/fleetviewbase.ui +++ b/bs/ui/fleetviewbase.ui @@ -15,167 +15,733 @@ Form1 - + - TextLabel6 + Layout13 - 410 - 90 - 65 - 15 + 308 + 11 + 281 + 344 - - TextLabel6 - - - - - TextLabel7 - - - - 415 - 110 - 65 - 15 - - - - TextLabel7 - + + + unnamed + + + 0 + + + 6 + + + + Layout12 + + + + unnamed + + + 0 + + + 6 + + + + Layout11 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel15 + + + Name + + + + + TextLabel16 + + + Total + + + + + TextLabel17 + + + L/S + + + + + + + Layout8 + + + + unnamed + + + 0 + + + 6 + + + + Layout2 + + + + unnamed + + + 0 + + + 6 + + + + SpiderLabel + + + Spider + + + + + WraithLabel + + + Wraith + + + + + BlackWidowLabel + + + BlackWidow + + + + + TextLabel9 + + + TextLabel9 + + + + + TextLabel10 + + + TextLabel10 + + + + + + + Layout7 + + + + unnamed + + + 0 + + + 6 + + + + LineEdit1_2 + + + + + LineEdit2_2 + + + + + LineEdit3_2 + + + + + LineEdit4_2 + + + + + LineEdit5_2 + + + + + + + Layout6 + + + + unnamed + + + 0 + + + 6 + + + + LineEdit7_2 + + + + + LineEdit8_2 + + + + + LineEdit9_2 + + + + + LineEdit10_2 + + + + + LineEdit11_2 + + + true + + + + + + + + + + + Spacer2 + + + Vertical + + + Expanding + + + + 20 + 20 + + + + - + - TextLabel8 - - - - 415 - 130 - 65 - 15 - - - - TextLabel8 - - - - - TextLabel9 - - - - 415 - 150 - 65 - 15 - + Spacer1 - - TextLabel9 + + Horizontal - - - - TextLabel10 + + Expanding - - - 420 - 170 - 72 - 15 - + + + 20 + 20 + - - TextLabel10 - - - + + - TextLabel3 + Layout15 - 100 - 120 - 65 - 15 + 11 + 11 + 284 + 305 - - TextLabel3 - + + + unnamed + + + 0 + + + 6 + + + + Layout10 + + + + unnamed + + + 0 + + + 6 + + + + Layout9 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel12 + + + Name + + + + + TextLabel13 + + + Total + + + + + TextLabel14 + + + L/S + + + + + + + Layout5 + + + + unnamed + + + 0 + + + 6 + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + InterceptorLabel + + + Interceptor + + + + + PheonixLabel + + + Pheonix + + + + + WarfrigateLabel + + + Warfrigate + + + + + DevistatorLabel + + + Devistator + + + + + StarCruiserLabel + + + StarCruiser + + + + + DreadnaughLabel + + + Dreadnaught + + + + + + + Layout3 + + + + unnamed + + + 0 + + + 6 + + + + LineEdit1 + + + + + LineEdit2 + + + + + LineEdit3 + + + + + LineEdit4 + + + + + LineEdit5 + + + + + LineEdit6 + + + + + + + Layout4 + + + + unnamed + + + 0 + + + 6 + + + + LineEdit7 + + + + + LineEdit8 + + + + + LineEdit9 + + + + + LineEdit10 + + + + + LineEdit11 + + + + + LineEdit12 + + + + + + + + + + + Spacer4 + + + Vertical + + + Expanding + + + + 20 + 20 + + + + - + - TextLabel4 + CaptureBox - 115 - 155 - 65 - 15 + 11 + 361 + 578 + 51 - - TextLabel4 + + Captured roids + + + unnamed + + + 11 + + + 6 + + + + TextLabel18 + + + Metal + + + + + LineEdit23 + + + true + + + + + TextLabel19 + + + Crystal + + + + + LineEdit24 + + + true + + + + + TextLabel20 + + + Eonium + + + + + LineEdit25 + + + true + + + - + - TextLabel1 + SalvageBox - 90 - 65 - 65 - 15 + 11 + 418 + 578 + 51 - - TextLabel1 + + Salvage + + + unnamed + + + 11 + + + 6 + + + + TextLabel18_2 + + + Metal + + + + + LineEdit23_2 + + + true + + + + + TextLabel19_2 + + + Crystal + + + + + LineEdit24_2 + + + true + + + + + TextLabel20_2 + + + Eonium + + + + + LineEdit25_2 + + + true + + + - + - TextLabel2 + PushButton1 - 95 - 90 - 65 - 15 + 170 + 330 + 80 + 25 - TextLabel2 + PushButton1 - - - - TextLabel5 + + true - - - 110 - 180 - 65 - 15 - - - - TextLabel5 + + true + + + PushButton1 + toggled(bool) + FleetViewBase + slotAttacker(bool) + + + + fleetviewbase.ui.h + + + slotAttacker( bool b ) + diff --git a/bs/ui/fleetviewbase.ui.h b/bs/ui/fleetviewbase.ui.h new file mode 100644 index 0000000..89d1385 --- /dev/null +++ b/bs/ui/fleetviewbase.ui.h @@ -0,0 +1,22 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you wish to add, delete or rename slots use Qt Designer which will +** update this file, preserving your code. Create an init() slot in place of +** a constructor, and a destroy() slot in place of a destructor. +*****************************************************************************/ + + +void FleetViewBase::slotAttacker(bool b) +{ + if (b) + { + CaptureBox->show(); + SalvageBox->hide(); + } + else + { + SalvageBox->show(); + CaptureBox->hid(); + } +} \ No newline at end of file -- 2.39.2