]> ruin.nu Git - hbs.git/blobdiff - bs/ui/fleetviewbase.ui.h
commiting the basic structure and some test code
[hbs.git] / bs / ui / fleetviewbase.ui.h
diff --git a/bs/ui/fleetviewbase.ui.h b/bs/ui/fleetviewbase.ui.h
new file mode 100644 (file)
index 0000000..89d1385
--- /dev/null
@@ -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