summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/settings/ksettingsonlinequotesdecl.ui
blob: 88678ece13692a44095dd52defdeeded24a3955f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsOnlineQuotesDecl</class>
<widget class="TQWidget">
    <property name="name">
        <cstring>KSettingsOnlineQuotesDecl</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>512</width>
            <height>442</height>
        </rect>
    </property>
    <property name="tqminimumSize">
        <size>
            <width>0</width>
            <height>0</height>
        </size>
    </property>
    <property name="caption">
        <string>Online Quotes</string>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="KListView">
            <column>
                <property name="text">
                    <string>Name</string>
                </property>
                <property name="clickable">
                    <bool>true</bool>
                </property>
                <property name="resizable">
                    <bool>true</bool>
                </property>
            </column>
            <property name="name">
                <cstring>m_quoteSourceList</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>7</hsizetype>
                    <vsizetype>3</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="allColumnsShowFocus">
                <bool>true</bool>
            </property>
            <property name="defaultRenameAction">
                <enum>Accept</enum>
            </property>
            <property name="itemsRenameable">
                <bool>true</bool>
            </property>
        </widget>
        <widget class="TQGroupBox">
            <property name="name">
                <cstring>groupParsing</cstring>
            </property>
            <property name="title">
                <string>Details</string>
            </property>
            <property name="whatsThis" stdset="0">
                <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="mailto:kmymoney2-user@lists.sourceforge.net"&gt;kmymoney2-user@lists.sourceforge.net&lt;/a&gt; to find what settings work for other users in your country.&lt;/i&gt;</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQLabel" row="3" column="0">
                    <property name="name">
                        <cstring>textLabel4</cstring>
                    </property>
                    <property name="text">
                        <string>Date</string>
                    </property>
                </widget>
                <widget class="TQLabel" row="1" column="0">
                    <property name="name">
                        <cstring>textLabel2</cstring>
                    </property>
                    <property name="text">
                        <string>Symbol</string>
                    </property>
                </widget>
                <widget class="KLineEdit" row="1" column="1" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>m_editSymbol</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Regular Expression to extract the symbol from the downloaded data</string>
                    </property>
                </widget>
                <widget class="KLineEdit" row="2" column="1" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>m_editPrice</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Regular Expression to extract the price from the downloaded data</string>
                    </property>
                </widget>
                <widget class="KLineEdit" row="0" column="1" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>m_editURL</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>URL to be used to download the quote</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <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>
                    </property>
                </widget>
                <widget class="TQLabel" row="2" column="0">
                    <property name="name">
                        <cstring>textLabel3</cstring>
                    </property>
                    <property name="text">
                        <string>Price</string>
                    </property>
                </widget>
                <widget class="KLineEdit" row="3" column="1" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>m_editDate</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Regular Expression to extract the date from the downloaded data</string>
                    </property>
                </widget>
                <widget class="TQLabel" row="4" column="0">
                    <property name="name">
                        <cstring>textLabel4_2</cstring>
                    </property>
                    <property name="text">
                        <string>Date Format</string>
                    </property>
                </widget>
                <widget class="TQLabel" row="0" column="0">
                    <property name="name">
                        <cstring>textLabel1</cstring>
                    </property>
                    <property name="text">
                        <string>URL</string>
                    </property>
                </widget>
                <widget class="KLineEdit" row="4" column="1">
                    <property name="name">
                        <cstring>m_editDateFormat</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Regular Expression to extract the date from the downloaded data</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="4" column="2">
                    <property name="name">
                        <cstring>m_skipStripping</cstring>
                    </property>
                    <property name="text">
                        <string>Skip HTML stripping</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <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;

&lt;p&gt;The following items are usually removed by stripping:

&lt;ul&gt;
&lt;li&gt;HTML tags such as &lt;b&gt;&amp;lt;tag&amp;gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&amp; encoded characters such as &lt;b&gt;&amp;amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;duplicate whitespace&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</string>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="TQLayoutWidget">
            <property name="name">
                <cstring>tqlayout15</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="KPushButton">
                    <property name="name">
                        <cstring>m_newButton</cstring>
                    </property>
                    <property name="text">
                        <string>New</string>
                    </property>
                </widget>
                <widget class="KPushButton">
                    <property name="name">
                        <cstring>m_deleteButton</cstring>
                    </property>
                    <property name="text">
                        <string>Delete</string>
                    </property>
                </widget>
                <spacer>
                    <property name="name">
                        <cstring>spacer6</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Expanding</enum>
                    </property>
                    <property name="tqsizeHint">
                        <size>
                            <width>240</width>
                            <height>20</height>
                        </size>
                    </property>
                </spacer>
                <widget class="KPushButton">
                    <property name="name">
                        <cstring>m_updateButton</cstring>
                    </property>
                    <property name="text">
                        <string>Update</string>
                    </property>
                </widget>
            </hbox>
        </widget>
    </vbox>
</widget>
<tqlayoutdefaults spacing="6" margin="11"/>
</UI>