convert subtotals dialog to .ui

Change-Id: Icab4e598c5355a1e971fdaa5a0a4d0d72c703021
CID#705114 (unlikely) invalid iterator

Change-Id: Ic6918da552be4905c35c5353bfb97b801e7d493c
CID#705119 (unlikely) invalid iterator

Change-Id: I6b6c99893f18deb1686fca9094037e2fada1b302
CID#736937 Not restoring ostream format

Change-Id: I07b1d90258647453e498b574bc38c78872041c2d
CID#736021 (unlikely) invalid iterator use

Change-Id: Ic23ccd99a573765ba434fd2fb7bbfe1d3491fcd3
CID#736018 (unlikely) invalid iterator use

Change-Id: I56899cfa1010f547c2793b5248dc91a3ceb4cdb4
CID#736017 (unlikely) invalid iterator use

Change-Id: Ibc097bfbb5cbfa221aa20cea0eba4d168b17a95f
CID#736013 unlikely invalid iterator use

Change-Id: I78928d4eee28adbb06b4087c51a4b384ca4e43f8
CID#982601 using invalid iterator

Change-Id: Id5813c4353828db76f03ea885247a08d92226088
CID#982602 using invalid iterator

Change-Id: I20d61539900626ebd5e8271e0db5ea3c22cf381e
CID#982603 using invalid iterator

Change-Id: Iab80b282942dca468c314c5742cab62cb9920eb7
CID#982604 using invalid iterator

Change-Id: Ic62e84d256ab710c33d51c98750730064388af51
CID#982605 using invalid iterator

Change-Id: Ia2413a7040124b0c27ca7a3dbaaa5f222395aba8
CID#982606 using invalid iterator

Change-Id: Ic0f186bed177de1ed35072cef864e2079da48cd3
CID#982607 using invalid iterator

Change-Id: Ic57140eab3c93e68a8455e5b9975154f76166473
CID#982608 using invalid iterator

Change-Id: I0075323a75ea7c8af9738ab3ff9a0c9e2d1346d7
fix indent

Change-Id: I6e531cdd2dd0657286cc369031072c28cf9c8e37
CID#982609 inefficient iterator usage confusing coverity

Change-Id: I9f170cc8c36fe89e596ee703231ba8abff5564c5
fix indent

Change-Id: I68aae5b6059c0e7281e45d39eb94ce247c6dae47
CID#982610 inefficient iterator usage confusing coverity

Change-Id: I79142f5f1723fa2db0e729cb0dacb201e41077bc