<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
  <author></author>
  <comment></comment>
  <exportmacro></exportmacro>
  <class>KSettingsOnlineQuotesDecl</class>
  <widget class="QWidget" name="KSettingsOnlineQuotesDecl">
    <property name="geometry">
      <rect>
        <x>0</x>
        <y>0</y>
        <width>512</width>
        <height>442</height>
      </rect>
    </property>
    <property name="minimumSize">
      <size>
        <width>0</width>
        <height>0</height>
      </size>
    </property>
    <property name="windowTitle">
      <string>Online Quotes</string>
    </property>
    <layout class="QVBoxLayout">
      <item>
        <widget class="KListWidget" name="m_quoteSourceList">
          <property name="sizePolicy">
            <sizepolicy>
              <hsizetype>7</hsizetype>
              <vsizetype>3</vsizetype>
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
            </sizepolicy>
          </property>
          <column>
            <property name="text">
              <string comment="@title header of the quote source name column">Name</string>
            </property>
            <property name="clickable">
              <bool>true</bool>
            </property>
            <property name="resizable">
              <bool>true</bool>
            </property>
          </column>
        </widget>
      </item>
      <item>
        <widget class="QGroupBox" name="groupParsing">
          <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=&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>
          </property>
          <layout class="QGridLayout">
            <item row="3" column="0">
              <widget class="QLabel" name="textLabel4">
                <property name="text">
                  <string>Date</string>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="1" column="0">
              <widget class="QLabel" name="textLabel2">
                <property name="text">
                  <string>Symbol</string>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="1" column="1" rowspan="1" colspan="2">
              <widget class="KLineEdit" name="m_editSymbol">
                <property name="toolTip" stdset="0">
                  <string>Regular Expression to extract the symbol from the downloaded data</string>
                </property>
              </widget>
            </item>
            <item row="2" column="1" rowspan="1" colspan="2">
              <widget class="KLineEdit" name="m_editPrice">
                <property name="toolTip" stdset="0">
                  <string>Regular Expression to extract the price from the downloaded data</string>
                </property>
              </widget>
            </item>
            <item row="0" column="1" rowspan="1" colspan="2">
              <widget class="KLineEdit" name="m_editURL">
                <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>
            </item>
            <item row="2" column="0">
              <widget class="QLabel" name="textLabel3">
                <property name="text">
                  <string>Price</string>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="3" column="1" rowspan="1" colspan="2">
              <widget class="KLineEdit" name="m_editDate">
                <property name="toolTip" stdset="0">
                  <string>Regular Expression to extract the date from the downloaded data</string>
                </property>
              </widget>
            </item>
            <item row="4" column="0">
              <widget class="QLabel" name="textLabel4_2">
                <property name="text">
                  <string>Date Format</string>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="0" column="0">
              <widget class="QLabel" name="textLabel1">
                <property name="text">
                  <string>URL</string>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="4" column="1">
              <widget class="KLineEdit" name="m_editDateFormat">
                <property name="toolTip" stdset="0">
                  <string>Regular Expression to extract the date from the downloaded data</string>
                </property>
              </widget>
            </item>
            <item row="4" column="2">
              <widget class="QCheckBox" name="m_skipStripping">
                <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>
            </item>
          </layout>
        </widget>
      </item>
      <item>
        <layout class="QHBoxLayout">
          <item>
            <widget class="KPushButton" name="m_newButton">
              <property name="text">
                <string comment="@action create new quote source">New</string>
              </property>
            </widget>
          </item>
          <item>
            <widget class="KPushButton" name="m_deleteButton">
              <property name="text">
                <string>Delete</string>
              </property>
            </widget>
          </item>
          <item>
            <spacer name="spacer6">
              <property name="sizeHint">
                <size>
                  <width>240</width>
                  <height>20</height>
                </size>
              </property>
              <property name="sizeType">
                <enum>QSizePolicy::Expanding</enum>
              </property>
              <property name="orientation">
                <enum>Qt::Horizontal</enum>
              </property>
            </spacer>
          </item>
          <item>
            <widget class="KPushButton" name="m_updateButton">
              <property name="text">
                <string comment="@action update quotes from online quote source">Update</string>
              </property>
            </widget>
          </item>
        </layout>
      </item>
    </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
    <customwidgets>
    <customwidget>
      <class>KListWidget</class>
      <extends>QListWidget</extends>
      <header location="global">klistwidget.h</header>
    </customwidget>
  </customwidgets>
</ui>
