X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fui%2Fbsappbase.ui;h=ed313f63a5184da2a039d751d82c294b30890d5d;hb=e0be1e6e8f7a246acf49e1f315c8d5bc5a65bfa3;hp=e6baafab460f1bbf2755bb49acf2fe3375db9c48;hpb=dc90594097a886eee49e9bfe45da6d4f9765179a;p=hbs.git diff --git a/bs/ui/bsappbase.ui b/bs/ui/bsappbase.ui index e6baafa..ed313f6 100644 --- a/bs/ui/bsappbase.ui +++ b/bs/ui/bsappbase.ui @@ -8,8 +8,8 @@ 0 0 - 726 - 519 + 700 + 534 @@ -24,8 +24,8 @@ 0 0 - 726 - 29 + 700 + 23 @@ -50,6 +50,7 @@ + @@ -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 + + @@ -329,6 +397,17 @@ 4194382 + + + battleSimulateAction + + + Run Simulate Battle + + + 4194386 + + @@ -453,12 +532,55 @@ 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) + - ../bsconf.h - qinputdialog.h - ../bsview.h + qapplication.h ../bsdoc.h + ../bsview.h + qinputdialog.h + ../bsconf.h bsappbase.ui.h @@ -471,6 +593,10 @@ BSView* view BSDoc* doc + + ticksChanged(int, int); + resultModeChanged(int); + fileNew() fileOpen() @@ -488,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 )