1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>SplitDialog</class>
4 <widget class="QDialog" name="SplitDialog">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>771</width>
10    <height>426</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Dialog</string>
15  </property>
16  <layout class="QHBoxLayout" name="horizontalLayout">
17   <item>
18    <layout class="QVBoxLayout" name="splitsLayout" stretch="10,1">
19     <item>
20      <widget class="SplitView" name="splitView"/>
21     </item>
22     <item>
23      <widget class="QTableWidget" name="summaryView">
24       <property name="enabled">
25        <bool>false</bool>
26       </property>
27       <property name="sizePolicy">
28        <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
29         <horstretch>0</horstretch>
30         <verstretch>0</verstretch>
31        </sizepolicy>
32       </property>
33       <property name="minimumSize">
34        <size>
35         <width>0</width>
36         <height>72</height>
37        </size>
38       </property>
39       <property name="palette">
40        <palette>
41         <active>
42          <colorrole role="WindowText">
43           <brush brushstyle="SolidPattern">
44            <color alpha="255">
45             <red>0</red>
46             <green>0</green>
47             <blue>0</blue>
48            </color>
49           </brush>
50          </colorrole>
51          <colorrole role="Button">
52           <brush brushstyle="SolidPattern">
53            <color alpha="255">
54             <red>207</red>
55             <green>204</green>
56             <blue>201</blue>
57            </color>
58           </brush>
59          </colorrole>
60          <colorrole role="Light">
61           <brush brushstyle="SolidPattern">
62            <color alpha="255">
63             <red>255</red>
64             <green>255</green>
65             <blue>255</blue>
66            </color>
67           </brush>
68          </colorrole>
69          <colorrole role="Midlight">
70           <brush brushstyle="SolidPattern">
71            <color alpha="255">
72             <red>231</red>
73             <green>229</green>
74             <blue>228</blue>
75            </color>
76           </brush>
77          </colorrole>
78          <colorrole role="Dark">
79           <brush brushstyle="SolidPattern">
80            <color alpha="255">
81             <red>103</red>
82             <green>102</green>
83             <blue>100</blue>
84            </color>
85           </brush>
86          </colorrole>
87          <colorrole role="Mid">
88           <brush brushstyle="SolidPattern">
89            <color alpha="255">
90             <red>138</red>
91             <green>136</green>
92             <blue>134</blue>
93            </color>
94           </brush>
95          </colorrole>
96          <colorrole role="Text">
97           <brush brushstyle="SolidPattern">
98            <color alpha="255">
99             <red>0</red>
100             <green>0</green>
101             <blue>0</blue>
102            </color>
103           </brush>
104          </colorrole>
105          <colorrole role="BrightText">
106           <brush brushstyle="SolidPattern">
107            <color alpha="255">
108             <red>255</red>
109             <green>255</green>
110             <blue>255</blue>
111            </color>
112           </brush>
113          </colorrole>
114          <colorrole role="ButtonText">
115           <brush brushstyle="SolidPattern">
116            <color alpha="255">
117             <red>0</red>
118             <green>0</green>
119             <blue>0</blue>
120            </color>
121           </brush>
122          </colorrole>
123          <colorrole role="Base">
124           <brush brushstyle="SolidPattern">
125            <color alpha="0">
126             <red>255</red>
127             <green>255</green>
128             <blue>255</blue>
129            </color>
130           </brush>
131          </colorrole>
132          <colorrole role="Window">
133           <brush brushstyle="SolidPattern">
134            <color alpha="255">
135             <red>207</red>
136             <green>204</green>
137             <blue>201</blue>
138            </color>
139           </brush>
140          </colorrole>
141          <colorrole role="Shadow">
142           <brush brushstyle="SolidPattern">
143            <color alpha="255">
144             <red>0</red>
145             <green>0</green>
146             <blue>0</blue>
147            </color>
148           </brush>
149          </colorrole>
150          <colorrole role="AlternateBase">
151           <brush brushstyle="SolidPattern">
152            <color alpha="255">
153             <red>231</red>
154             <green>229</green>
155             <blue>228</blue>
156            </color>
157           </brush>
158          </colorrole>
159          <colorrole role="ToolTipBase">
160           <brush brushstyle="SolidPattern">
161            <color alpha="255">
162             <red>255</red>
163             <green>255</green>
164             <blue>220</blue>
165            </color>
166           </brush>
167          </colorrole>
168          <colorrole role="ToolTipText">
169           <brush brushstyle="SolidPattern">
170            <color alpha="255">
171             <red>0</red>
172             <green>0</green>
173             <blue>0</blue>
174            </color>
175           </brush>
176          </colorrole>
177         </active>
178         <inactive>
179          <colorrole role="WindowText">
180           <brush brushstyle="SolidPattern">
181            <color alpha="255">
182             <red>0</red>
183             <green>0</green>
184             <blue>0</blue>
185            </color>
186           </brush>
187          </colorrole>
188          <colorrole role="Button">
189           <brush brushstyle="SolidPattern">
190            <color alpha="255">
191             <red>207</red>
192             <green>204</green>
193             <blue>201</blue>
194            </color>
195           </brush>
196          </colorrole>
197          <colorrole role="Light">
198           <brush brushstyle="SolidPattern">
199            <color alpha="255">
200             <red>255</red>
201             <green>255</green>
202             <blue>255</blue>
203            </color>
204           </brush>
205          </colorrole>
206          <colorrole role="Midlight">
207           <brush brushstyle="SolidPattern">
208            <color alpha="255">
209             <red>231</red>
210             <green>229</green>
211             <blue>228</blue>
212            </color>
213           </brush>
214          </colorrole>
215          <colorrole role="Dark">
216           <brush brushstyle="SolidPattern">
217            <color alpha="255">
218             <red>103</red>
219             <green>102</green>
220             <blue>100</blue>
221            </color>
222           </brush>
223          </colorrole>
224          <colorrole role="Mid">
225           <brush brushstyle="SolidPattern">
226            <color alpha="255">
227             <red>138</red>
228             <green>136</green>
229             <blue>134</blue>
230            </color>
231           </brush>
232          </colorrole>
233          <colorrole role="Text">
234           <brush brushstyle="SolidPattern">
235            <color alpha="255">
236             <red>0</red>
237             <green>0</green>
238             <blue>0</blue>
239            </color>
240           </brush>
241          </colorrole>
242          <colorrole role="BrightText">
243           <brush brushstyle="SolidPattern">
244            <color alpha="255">
245             <red>255</red>
246             <green>255</green>
247             <blue>255</blue>
248            </color>
249           </brush>
250          </colorrole>
251          <colorrole role="ButtonText">
252           <brush brushstyle="SolidPattern">
253            <color alpha="255">
254             <red>0</red>
255             <green>0</green>
256             <blue>0</blue>
257            </color>
258           </brush>
259          </colorrole>
260          <colorrole role="Base">
261           <brush brushstyle="SolidPattern">
262            <color alpha="0">
263             <red>255</red>
264             <green>255</green>
265             <blue>255</blue>
266            </color>
267           </brush>
268          </colorrole>
269          <colorrole role="Window">
270           <brush brushstyle="SolidPattern">
271            <color alpha="255">
272             <red>207</red>
273             <green>204</green>
274             <blue>201</blue>
275            </color>
276           </brush>
277          </colorrole>
278          <colorrole role="Shadow">
279           <brush brushstyle="SolidPattern">
280            <color alpha="255">
281             <red>0</red>
282             <green>0</green>
283             <blue>0</blue>
284            </color>
285           </brush>
286          </colorrole>
287          <colorrole role="AlternateBase">
288           <brush brushstyle="SolidPattern">
289            <color alpha="255">
290             <red>231</red>
291             <green>229</green>
292             <blue>228</blue>
293            </color>
294           </brush>
295          </colorrole>
296          <colorrole role="ToolTipBase">
297           <brush brushstyle="SolidPattern">
298            <color alpha="255">
299             <red>255</red>
300             <green>255</green>
301             <blue>220</blue>
302            </color>
303           </brush>
304          </colorrole>
305          <colorrole role="ToolTipText">
306           <brush brushstyle="SolidPattern">
307            <color alpha="255">
308             <red>0</red>
309             <green>0</green>
310             <blue>0</blue>
311            </color>
312           </brush>
313          </colorrole>
314         </inactive>
315         <disabled>
316          <colorrole role="WindowText">
317           <brush brushstyle="SolidPattern">
318            <color alpha="255">
319             <red>103</red>
320             <green>102</green>
321             <blue>100</blue>
322            </color>
323           </brush>
324          </colorrole>
325          <colorrole role="Button">
326           <brush brushstyle="SolidPattern">
327            <color alpha="255">
328             <red>207</red>
329             <green>204</green>
330             <blue>201</blue>
331            </color>
332           </brush>
333          </colorrole>
334          <colorrole role="Light">
335           <brush brushstyle="SolidPattern">
336            <color alpha="255">
337             <red>255</red>
338             <green>255</green>
339             <blue>255</blue>
340            </color>
341           </brush>
342          </colorrole>
343          <colorrole role="Midlight">
344           <brush brushstyle="SolidPattern">
345            <color alpha="255">
346             <red>231</red>
347             <green>229</green>
348             <blue>228</blue>
349            </color>
350           </brush>
351          </colorrole>
352          <colorrole role="Dark">
353           <brush brushstyle="SolidPattern">
354            <color alpha="255">
355             <red>103</red>
356             <green>102</green>
357             <blue>100</blue>
358            </color>
359           </brush>
360          </colorrole>
361          <colorrole role="Mid">
362           <brush brushstyle="SolidPattern">
363            <color alpha="255">
364             <red>138</red>
365             <green>136</green>
366             <blue>134</blue>
367            </color>
368           </brush>
369          </colorrole>
370          <colorrole role="Text">
371           <brush brushstyle="SolidPattern">
372            <color alpha="255">
373             <red>0</red>
374             <green>0</green>
375             <blue>0</blue>
376            </color>
377           </brush>
378          </colorrole>
379          <colorrole role="BrightText">
380           <brush brushstyle="SolidPattern">
381            <color alpha="255">
382             <red>255</red>
383             <green>255</green>
384             <blue>255</blue>
385            </color>
386           </brush>
387          </colorrole>
388          <colorrole role="ButtonText">
389           <brush brushstyle="SolidPattern">
390            <color alpha="255">
391             <red>103</red>
392             <green>102</green>
393             <blue>100</blue>
394            </color>
395           </brush>
396          </colorrole>
397          <colorrole role="Base">
398           <brush brushstyle="SolidPattern">
399            <color alpha="0">
400             <red>207</red>
401             <green>204</green>
402             <blue>201</blue>
403            </color>
404           </brush>
405          </colorrole>
406          <colorrole role="Window">
407           <brush brushstyle="SolidPattern">
408            <color alpha="255">
409             <red>207</red>
410             <green>204</green>
411             <blue>201</blue>
412            </color>
413           </brush>
414          </colorrole>
415          <colorrole role="Shadow">
416           <brush brushstyle="SolidPattern">
417            <color alpha="255">
418             <red>0</red>
419             <green>0</green>
420             <blue>0</blue>
421            </color>
422           </brush>
423          </colorrole>
424          <colorrole role="AlternateBase">
425           <brush brushstyle="SolidPattern">
426            <color alpha="255">
427             <red>207</red>
428             <green>204</green>
429             <blue>201</blue>
430            </color>
431           </brush>
432          </colorrole>
433          <colorrole role="ToolTipBase">
434           <brush brushstyle="SolidPattern">
435            <color alpha="255">
436             <red>255</red>
437             <green>255</green>
438             <blue>220</blue>
439            </color>
440           </brush>
441          </colorrole>
442          <colorrole role="ToolTipText">
443           <brush brushstyle="SolidPattern">
444            <color alpha="255">
445             <red>0</red>
446             <green>0</green>
447             <blue>0</blue>
448            </color>
449           </brush>
450          </colorrole>
451         </disabled>
452        </palette>
453       </property>
454       <property name="font">
455        <font>
456         <weight>75</weight>
457         <bold>true</bold>
458        </font>
459       </property>
460       <property name="frameShadow">
461        <enum>QFrame::Raised</enum>
462       </property>
463       <property name="verticalScrollBarPolicy">
464        <enum>Qt::ScrollBarAlwaysOff</enum>
465       </property>
466       <property name="horizontalScrollBarPolicy">
467        <enum>Qt::ScrollBarAlwaysOff</enum>
468       </property>
469       <property name="selectionMode">
470        <enum>QAbstractItemView::NoSelection</enum>
471       </property>
472       <property name="showGrid">
473        <bool>false</bool>
474       </property>
475       <property name="wordWrap">
476        <bool>false</bool>
477       </property>
478       <attribute name="horizontalHeaderVisible">
479        <bool>false</bool>
480       </attribute>
481       <attribute name="verticalHeaderVisible">
482        <bool>false</bool>
483       </attribute>
484       <attribute name="verticalHeaderDefaultSectionSize">
485        <number>22</number>
486       </attribute>
487       <row>
488        <property name="text">
489         <string notr="true">row</string>
490        </property>
491       </row>
492       <row>
493        <property name="text">
494         <string notr="true">row</string>
495        </property>
496       </row>
497       <row>
498        <property name="text">
499         <string notr="true">row</string>
500        </property>
501       </row>
502       <column>
503        <property name="text">
504         <string notr="true">col</string>
505        </property>
506        <property name="textAlignment">
507         <set>AlignLeft|AlignVCenter</set>
508        </property>
509       </column>
510       <column>
511        <property name="text">
512         <string notr="true">col</string>
513        </property>
514       </column>
515       <item row="0" column="0">
516        <property name="text">
517         <string>Sum of splits</string>
518        </property>
519        <property name="textAlignment">
520         <set>AlignRight|AlignVCenter</set>
521        </property>
522        <property name="flags">
523         <set>NoItemFlags</set>
524        </property>
525       </item>
526       <item row="0" column="1">
527        <property name="text">
528         <string notr="true"/>
529        </property>
530        <property name="textAlignment">
531         <set>AlignRight|AlignVCenter</set>
532        </property>
533       </item>
534       <item row="1" column="0">
535        <property name="text">
536         <string notr="true">Unassigned</string>
537        </property>
538        <property name="textAlignment">
539         <set>AlignRight|AlignVCenter</set>
540        </property>
541        <property name="flags">
542         <set>ItemIsEnabled</set>
543        </property>
544       </item>
545       <item row="1" column="1">
546        <property name="text">
547         <string notr="true"/>
548        </property>
549        <property name="textAlignment">
550         <set>AlignRight|AlignVCenter</set>
551        </property>
552       </item>
553       <item row="2" column="0">
554        <property name="text">
555         <string>Transaction amount</string>
556        </property>
557        <property name="textAlignment">
558         <set>AlignRight|AlignVCenter</set>
559        </property>
560        <property name="flags">
561         <set>ItemIsEnabled</set>
562        </property>
563       </item>
564       <item row="2" column="1">
565        <property name="text">
566         <string notr="true"/>
567        </property>
568        <property name="textAlignment">
569         <set>AlignRight|AlignVCenter</set>
570        </property>
571       </item>
572      </widget>
573     </item>
574    </layout>
575   </item>
576   <item>
577    <widget class="QFrame" name="buttonContainer">
578     <property name="frameShape">
579      <enum>QFrame::NoFrame</enum>
580     </property>
581     <property name="frameShadow">
582      <enum>QFrame::Plain</enum>
583     </property>
584     <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,1,1,1,1,3,1,1">
585      <property name="margin">
586       <number>0</number>
587      </property>
588      <item>
589       <widget class="QPushButton" name="newSplitButton">
590        <property name="toolTip">
591         <string>Create a new split</string>
592        </property>
593        <property name="text">
594         <string>New</string>
595        </property>
596       </widget>
597      </item>
598      <item>
599       <spacer name="verticalSpacer_2">
600        <property name="orientation">
601         <enum>Qt::Vertical</enum>
602        </property>
603        <property name="sizeHint" stdset="0">
604         <size>
605          <width>20</width>
606          <height>40</height>
607         </size>
608        </property>
609       </spacer>
610      </item>
611      <item>
612       <widget class="QPushButton" name="mergeButton">
613        <property name="toolTip">
614         <string>Merges splits with the same category to one split</string>
615        </property>
616        <property name="whatsThis">
617         <string>In case you have multiple split entries to the same category and you like to keep them as a single split, press this button. The amount for identical categories will be added and stored in a single split for that category.</string>
618        </property>
619        <property name="text">
620         <string>&amp;Merge</string>
621        </property>
622       </widget>
623      </item>
624      <item>
625       <widget class="QPushButton" name="deleteZeroButton">
626        <property name="toolTip">
627         <string>Removes all splits that have a value of zero</string>
628        </property>
629        <property name="text">
630         <string>Delete &amp;Zero</string>
631        </property>
632       </widget>
633      </item>
634      <item>
635       <widget class="QPushButton" name="deleteButton">
636        <property name="text">
637         <string>Delete</string>
638        </property>
639       </widget>
640      </item>
641      <item>
642       <widget class="QPushButton" name="deleteAllButton">
643        <property name="toolTip">
644         <string>Clear all splits</string>
645        </property>
646        <property name="whatsThis">
647         <string>Use this to delete all splits of this transaction.</string>
648        </property>
649        <property name="text">
650         <string>Delete &amp;All</string>
651        </property>
652       </widget>
653      </item>
654      <item>
655       <spacer name="verticalSpacer">
656        <property name="orientation">
657         <enum>Qt::Vertical</enum>
658        </property>
659        <property name="sizeHint" stdset="0">
660         <size>
661          <width>20</width>
662          <height>280</height>
663         </size>
664        </property>
665       </spacer>
666      </item>
667      <item>
668       <widget class="QPushButton" name="okButton">
669        <property name="text">
670         <string>&amp;OK</string>
671        </property>
672       </widget>
673      </item>
674      <item>
675       <widget class="QPushButton" name="cancelButton">
676        <property name="text">
677         <string>&amp;Cancel</string>
678        </property>
679       </widget>
680      </item>
681     </layout>
682    </widget>
683   </item>
684  </layout>
685 </widget>
686 <customwidgets>
687  <customwidget>
688   <class>SplitView</class>
689   <extends>QTableView</extends>
690   <header>ledgerview.h</header>
691  </customwidget>
692 </customwidgets>
693 <resources/>
694 <connections>
695  <connection>
696   <sender>okButton</sender>
697   <signal>clicked()</signal>
698   <receiver>SplitDialog</receiver>
699   <slot>accept()</slot>
700   <hints>
701    <hint type="sourcelabel">
702     <x>549</x>
703     <y>19</y>
704    </hint>
705    <hint type="destinationlabel">
706     <x>502</x>
707     <y>330</y>
708    </hint>
709   </hints>
710  </connection>
711  <connection>
712   <sender>cancelButton</sender>
713   <signal>clicked()</signal>
714   <receiver>SplitDialog</receiver>
715   <slot>reject()</slot>
716   <hints>
717    <hint type="sourcelabel">
718     <x>578</x>
719     <y>311</y>
720    </hint>
721    <hint type="destinationlabel">
722     <x>600</x>
723     <y>331</y>
724    </hint>
725   </hints>
726  </connection>
727 </connections>
728</ui>
729