1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>KCategoriesView</class>
4 <widget class="QWidget" name="KCategoriesView">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>405</width>
10    <height>209</height>
11   </rect>
12  </property>
13  <layout class="QVBoxLayout">
14   <property name="leftMargin">
15    <number>0</number>
16   </property>
17   <property name="topMargin">
18    <number>0</number>
19   </property>
20   <property name="rightMargin">
21    <number>0</number>
22   </property>
23   <property name="bottomMargin">
24    <number>0</number>
25   </property>
26   <item>
27    <widget class="KMyMoneyAccountTreeView" name="m_accountTree"/>
28   </item>
29   <item>
30    <layout class="QHBoxLayout">
31     <item>
32      <widget class="KLineEdit" name="m_searchWidget">
33       <property name="showClearButton" stdset="0">
34        <bool>true</bool>
35       </property>
36      </widget>
37     </item>
38     <item>
39      <widget class="QPushButton" name="m_collapseButton">
40       <property name="toolTip">
41        <string>Collapse all accounts in the list</string>
42       </property>
43       <property name="text">
44        <string/>
45       </property>
46      </widget>
47     </item>
48     <item>
49      <widget class="QPushButton" name="m_expandButton">
50       <property name="toolTip">
51        <string>Expand all accounts in the list</string>
52       </property>
53       <property name="text">
54        <string/>
55       </property>
56      </widget>
57     </item>
58    </layout>
59   </item>
60   <item>
61    <widget class="QLabel" name="m_hiddenCategories">
62     <property name="text">
63      <string>Note: Unused categories are not shown as selected by settings.</string>
64     </property>
65     <property name="wordWrap">
66      <bool>false</bool>
67     </property>
68    </widget>
69   </item>
70   <item>
71    <layout class="QHBoxLayout">
72     <item>
73      <spacer name="Spacer1">
74       <property name="orientation">
75        <enum>Qt::Horizontal</enum>
76       </property>
77       <property name="sizeType">
78        <enum>QSizePolicy::Expanding</enum>
79       </property>
80       <property name="sizeHint" stdset="0">
81        <size>
82         <width>310</width>
83         <height>16</height>
84        </size>
85       </property>
86      </spacer>
87     </item>
88     <item>
89      <widget class="QLabel" name="m_totalProfitsLabel">
90       <property name="minimumSize">
91        <size>
92         <width>150</width>
93         <height>0</height>
94        </size>
95       </property>
96       <property name="text">
97        <string>Total Profits:</string>
98       </property>
99       <property name="textFormat">
100        <enum>Qt::RichText</enum>
101       </property>
102       <property name="alignment">
103        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
104       </property>
105       <property name="wordWrap">
106        <bool>true</bool>
107       </property>
108      </widget>
109     </item>
110    </layout>
111   </item>
112  </layout>
113 </widget>
114 <layoutdefault spacing="6" margin="11"/>
115 <customwidgets>
116  <customwidget>
117   <class>KLineEdit</class>
118   <extends>QLineEdit</extends>
119   <header>klineedit.h</header>
120  </customwidget>
121  <customwidget>
122   <class>KMyMoneyAccountTreeView</class>
123   <extends>QTreeView</extends>
124   <header>kmymoneyaccounttreeview.h</header>
125  </customwidget>
126 </customwidgets>
127 <resources/>
128 <connections>
129  <connection>
130   <sender>m_collapseButton</sender>
131   <signal>clicked()</signal>
132   <receiver>m_accountTree</receiver>
133   <slot>collapseAll()</slot>
134   <hints>
135    <hint type="sourcelabel">
136     <x>327</x>
137     <y>140</y>
138    </hint>
139    <hint type="destinationlabel">
140     <x>202</x>
141     <y>58</y>
142    </hint>
143   </hints>
144  </connection>
145  <connection>
146   <sender>m_expandButton</sender>
147   <signal>clicked()</signal>
148   <receiver>m_accountTree</receiver>
149   <slot>expandAll()</slot>
150   <hints>
151    <hint type="sourcelabel">
152     <x>380</x>
153     <y>140</y>
154    </hint>
155    <hint type="destinationlabel">
156     <x>202</x>
157     <y>58</y>
158    </hint>
159   </hints>
160  </connection>
161 </connections>
162</ui>
163