1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>KSettingsOnlineQuotes</class>
4 <widget class="QWidget" name="KSettingsOnlineQuotes">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>512</width>
10    <height>592</height>
11   </rect>
12  </property>
13  <property name="minimumSize">
14   <size>
15    <width>0</width>
16    <height>0</height>
17   </size>
18  </property>
19  <property name="windowTitle">
20   <string>Online Quotes</string>
21  </property>
22  <layout class="QVBoxLayout">
23   <item>
24    <widget class="QListWidget" name="m_quoteSourceList">
25     <property name="sizePolicy">
26      <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
27       <horstretch>0</horstretch>
28       <verstretch>0</verstretch>
29      </sizepolicy>
30     </property>
31    </widget>
32   </item>
33   <item>
34    <widget class="QGroupBox" name="groupParsing">
35     <property name="whatsThis">
36      <string>&lt;i&gt;Enter regular expressions which can be used to parse the data returned from the URL entered above.  The symbol, price, and date must be found in the quote data to be usable. You may also try the KMyMoney user's mailinglist at &lt;a href=&quot;mailto:kmymoney@kde.org&quot;&gt;kmymoney@kde.org&lt;/a&gt; to find what settings work for other users in your country.&lt;/i&gt;</string>
37     </property>
38     <property name="title">
39      <string>Details</string>
40     </property>
41     <layout class="QGridLayout">
42      <item row="7" column="0">
43       <widget class="QLabel" name="textLabel4_2">
44        <property name="text">
45         <string>Date Format</string>
46        </property>
47        <property name="wordWrap">
48         <bool>false</bool>
49        </property>
50       </widget>
51      </item>
52      <item row="2" column="0">
53       <widget class="QLabel" name="textLabel2">
54        <property name="text">
55         <string>Identifier</string>
56        </property>
57        <property name="wordWrap">
58         <bool>false</bool>
59        </property>
60       </widget>
61      </item>
62      <item row="1" column="1" colspan="2">
63       <widget class="KLineEdit" name="m_editCSVURL"/>
64      </item>
65      <item row="2" column="1" colspan="2">
66       <widget class="KLineEdit" name="m_editIdentifier">
67        <property name="toolTip">
68         <string>Regular Expression to extract the identifier from the downloaded data</string>
69        </property>
70       </widget>
71      </item>
72      <item row="4" column="0">
73       <widget class="QLabel" name="textLabel3">
74        <property name="text">
75         <string>Price</string>
76        </property>
77        <property name="wordWrap">
78         <bool>false</bool>
79        </property>
80       </widget>
81      </item>
82      <item row="5" column="1" colspan="2">
83       <widget class="KLineEdit" name="m_editDate">
84        <property name="toolTip">
85         <string>Regular Expression to extract the date from the downloaded data</string>
86        </property>
87       </widget>
88      </item>
89      <item row="5" column="0">
90       <widget class="QLabel" name="textLabel4">
91        <property name="text">
92         <string>Date</string>
93        </property>
94        <property name="wordWrap">
95         <bool>false</bool>
96        </property>
97       </widget>
98      </item>
99      <item row="0" column="0">
100       <widget class="QLabel" name="textLabel1">
101        <property name="text">
102         <string>URL</string>
103        </property>
104        <property name="wordWrap">
105         <bool>false</bool>
106        </property>
107       </widget>
108      </item>
109      <item row="1" column="0">
110       <widget class="QLabel" name="label">
111        <property name="text">
112         <string>CSV URL</string>
113        </property>
114       </widget>
115      </item>
116      <item row="0" column="1" colspan="2">
117       <widget class="KLineEdit" name="m_editURL">
118        <property name="toolTip">
119         <string>URL to be used to download the quote</string>
120        </property>
121        <property name="whatsThis">
122         <string>Enter the URL from which stock quotes will be fetched.  &lt;b&gt;%1&lt;/b&gt; will be replaced with the symbol for the security being quoted. For currency conversions, &lt;b&gt;%2&lt;/b&gt; will be replaced with the currency to be quoted and &lt;b&gt;%1&lt;/b&gt; with the currency the quote is based on.</string>
123        </property>
124       </widget>
125      </item>
126      <item row="7" column="1">
127       <widget class="KLineEdit" name="m_editDateFormat">
128        <property name="toolTip">
129         <string>Regular Expression to extract the date from the downloaded data</string>
130        </property>
131       </widget>
132      </item>
133      <item row="3" column="1" colspan="2">
134       <widget class="QComboBox" name="m_editIdentifyBy"/>
135      </item>
136      <item row="4" column="1" colspan="2">
137       <widget class="KLineEdit" name="m_editPrice">
138        <property name="toolTip">
139         <string>Regular Expression to extract the price from the downloaded data</string>
140        </property>
141       </widget>
142      </item>
143      <item row="7" column="2">
144       <widget class="QCheckBox" name="m_skipStripping">
145        <property name="whatsThis">
146         <string>&lt;p&gt;For easier processing of the data returned by the online source, KMyMoney usually strips unused parts before it is parsed with the regular expressions. If matching of the fields relies on those items, then use this option to turn stripping off.&lt;/p&gt;
147
148&lt;p&gt;The following items are usually removed by stripping:
149
150&lt;ul&gt;
151&lt;li&gt;HTML tags such as &lt;b&gt;&amp;lt;tag&amp;gt;&lt;/b&gt;&lt;/li&gt;
152&lt;li&gt;&amp; encoded characters such as &lt;b&gt;&amp;amp;nbsp;&lt;/b&gt;&lt;/li&gt;
153&lt;li&gt;duplicate whitespace&lt;/li&gt;
154&lt;/ul&gt;
155&lt;/p&gt;</string>
156        </property>
157        <property name="text">
158         <string>Skip HTML stripping</string>
159        </property>
160       </widget>
161      </item>
162      <item row="3" column="0">
163       <widget class="QLabel" name="label_2">
164        <property name="text">
165         <string>Identify by</string>
166        </property>
167       </widget>
168      </item>
169     </layout>
170    </widget>
171   </item>
172   <item>
173    <layout class="QHBoxLayout">
174     <item>
175      <widget class="QPushButton" name="m_newButton">
176       <property name="toolTip">
177        <string>Create a new source entry for online quotes</string>
178       </property>
179       <property name="whatsThis">
180        <string>Use this to create a new entry for online quotes</string>
181       </property>
182       <property name="text">
183        <string comment="@action create new quote source">New</string>
184       </property>
185      </widget>
186     </item>
187     <item>
188      <widget class="QPushButton" name="m_deleteButton">
189       <property name="toolTip">
190        <string>Delete the selected source entry</string>
191       </property>
192       <property name="whatsThis">
193        <string>Use this to delete the selected online source entry</string>
194       </property>
195       <property name="text">
196        <string>Delete</string>
197       </property>
198      </widget>
199     </item>
200     <item>
201      <spacer name="spacer6">
202       <property name="orientation">
203        <enum>Qt::Horizontal</enum>
204       </property>
205       <property name="sizeType">
206        <enum>QSizePolicy::Expanding</enum>
207       </property>
208       <property name="sizeHint" stdset="0">
209        <size>
210         <width>240</width>
211         <height>20</height>
212        </size>
213       </property>
214      </spacer>
215     </item>
216     <item>
217      <widget class="QPushButton" name="m_dumpCSVProfile">
218       <property name="toolTip">
219        <string>Dumps CSV profile used for importing downloaded prices, which can be customized by user in CSV Importer.</string>
220       </property>
221       <property name="text">
222        <string>Dump CSV</string>
223       </property>
224      </widget>
225     </item>
226     <item>
227      <widget class="QPushButton" name="m_updateButton">
228       <property name="toolTip">
229        <string>Accepts the entered data and stores it</string>
230       </property>
231       <property name="whatsThis">
232        <string>Use this to accept the modified data.</string>
233       </property>
234       <property name="text">
235        <string comment="@action update quotes from online quote source">Update</string>
236       </property>
237      </widget>
238     </item>
239    </layout>
240   </item>
241  </layout>
242 </widget>
243 <layoutdefault spacing="6" margin="11"/>
244 <customwidgets>
245  <customwidget>
246   <class>KLineEdit</class>
247   <extends>QLineEdit</extends>
248   <header>klineedit.h</header>
249  </customwidget>
250 </customwidgets>
251 <resources/>
252 <connections/>
253</ui>
254