X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fui%2Fbsappbase.ui;h=9615c0fcf6b2a780e07df9ab97bbf583234aba65;hb=cb2fabf93c2f6ba8b57833309038adb972f58925;hp=fa0d859239421cae44553de64c051fa872ab6ee5;hpb=e07f49323a1936c90605d06f6f63e4c39b4c4aca;p=hbs.git diff --git a/bs/ui/bsappbase.ui b/bs/ui/bsappbase.ui index fa0d859..9615c0f 100644 --- a/bs/ui/bsappbase.ui +++ b/bs/ui/bsappbase.ui @@ -8,12 +8,12 @@ 0 0 - 726 - 519 + 700 + 534 - Form1 + Harvalen's Battlesystem @@ -24,8 +24,8 @@ 0 0 - 726 - 29 + 700 + 23 @@ -48,15 +48,16 @@ + + + + - - - @@ -69,6 +70,73 @@ + + + + TextLabel3 + + + Show result as: + + + + + resultModeCombo + + + + Unit difference + + + + + Blocked units + + + + + Survived units + + + + + + + TextLabel1 + + + From tick: + + + + + minTickSpin + + + 0 + + + + + TextLabel2 + + + to: + + + + + maxTickSpin + + + + + oneTickCheck + + + One tick only + + @@ -319,10 +387,27 @@ New + + Create what's needed to add fleets to a battle + + + Create a new battle with initial groups and home planet + 4194382 + + + battleSimulateAction + + + Run Simulate Battle + + + 4194386 + + @@ -447,21 +532,71 @@ BSAppBase battleNew() + + battleSimulateAction + activated() + BSAppBase + battleSimulate() + + + oneTickCheck + toggled(bool) + BSAppBase + oneTickCheck_toggled(bool) + + + resultModeCombo + activated(int) + BSAppBase + resultModeCombo_activated(int) + + + minTickSpin + valueChanged(int) + BSAppBase + slotTicksChanged(int) + + + minTickSpin + valueChanged(int) + BSAppBase + minTickSpin_valueChanged(int) + + + maxTickSpin + valueChanged(int) + BSAppBase + slotTicksChanged(int) + + + maxTickSpin + valueChanged(int) + BSAppBase + maxTickSpin_valueChanged(int) + + qapplication.h ../bsdoc.h ../bsview.h qinputdialog.h + ../bsconf.h bsappbase.ui.h - class BSDoc + class BSConf class BSView + class BSDoc - BSDoc* doc + BSConf* conf BSView* view + BSDoc* doc + + ticksChanged(int, int); + resultModeChanged(int); + fileNew() fileOpen() @@ -479,6 +614,12 @@ helpContents() helpAbout() battleNew() + battleSimulate() + oneTickCheck_toggled(bool b) + minTickSpin_valueChanged(int i) + maxTickSpin_valueChanged(int i) + slotTicksChanged(int i) + resultModeCombo_activated(int i)