Warning, /office/kmymoney/kmymoney/dialogs/kcurrencyeditordlg.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>KCurrencyEditorDlg</class>
0004  <widget class="QDialog" name="KCurrencyEditorDlg">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>303</width>
0010     <height>314</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>Currency editor</string>
0015   </property>
0016   <property name="sizeGripEnabled">
0017    <bool>true</bool>
0018   </property>
0019   <layout class="QVBoxLayout" name="verticalLayout">
0020    <item>
0021     <layout class="QFormLayout" name="formLayout">
0022      <item row="0" column="0">
0023       <widget class="QLabel" name="lblIsoCode">
0024        <property name="text">
0025         <string>ISO Code</string>
0026        </property>
0027       </widget>
0028      </item>
0029      <item row="2" column="0">
0030       <widget class="QLabel" name="lblSymbol">
0031        <property name="text">
0032         <string>Symbol:</string>
0033        </property>
0034       </widget>
0035      </item>
0036      <item row="3" column="0">
0037       <widget class="QLabel" name="lblCashFraction">
0038        <property name="text">
0039         <string>Smallest account unit:</string>
0040        </property>
0041       </widget>
0042      </item>
0043      <item row="4" column="0">
0044       <widget class="QLabel" name="lblAccountFraction">
0045        <property name="text">
0046         <string>Smallest cash unit:</string>
0047        </property>
0048       </widget>
0049      </item>
0050      <item row="5" column="0">
0051       <widget class="QLabel" name="lblRemainder">
0052        <property name="text">
0053         <string>Rounding method</string>
0054        </property>
0055       </widget>
0056      </item>
0057      <item row="6" column="0">
0058       <widget class="QLabel" name="lblpricePrecision">
0059        <property name="text">
0060         <string>Price precision:</string>
0061        </property>
0062       </widget>
0063      </item>
0064      <item row="6" column="1">
0065       <widget class="QSpinBox" name="spbPricePrecision">
0066        <property name="toolTip">
0067         <string comment="@info:tooltip">Enter the price precision for this currency to be used for exchange rates.</string>
0068        </property>
0069        <property name="minimum">
0070         <number>2</number>
0071        </property>
0072        <property name="maximum">
0073         <number>10</number>
0074        </property>
0075        <property name="value">
0076         <number>4</number>
0077        </property>
0078       </widget>
0079      </item>
0080      <item row="1" column="0">
0081       <widget class="QLabel" name="lblName">
0082        <property name="text">
0083         <string>Name</string>
0084        </property>
0085       </widget>
0086      </item>
0087      <item row="1" column="1">
0088       <widget class="QLineEdit" name="leName">
0089        <property name="toolTip">
0090         <string comment="@info:tooltip">Enter the name of the currency here (e.g. Euro)</string>
0091        </property>
0092       </widget>
0093      </item>
0094      <item row="0" column="1">
0095       <widget class="QLineEdit" name="leIsoCode">
0096        <property name="toolTip">
0097         <string comment="@info:tooltip">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter the ISO4217 code for the currency here (e.g. EUR for the Euro). This cannot be changed once the currency is created.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0098        </property>
0099       </widget>
0100      </item>
0101      <item row="2" column="1">
0102       <widget class="QLineEdit" name="leSymbol">
0103        <property name="toolTip">
0104         <string comment="@info:tooltip">Enter the monetary symbol of the currency here (e.g. € for the Euro)</string>
0105        </property>
0106       </widget>
0107      </item>
0108      <item row="3" column="1">
0109       <widget class="QLineEdit" name="leAccountFraction">
0110        <property name="toolTip">
0111         <string comment="@info:tooltip">Enter the smallest fraction of the currency used for bank accounts here. This cannot be changed once the currency is created.</string>
0112        </property>
0113       </widget>
0114      </item>
0115      <item row="4" column="1">
0116       <widget class="QLineEdit" name="leCashFraction">
0117        <property name="toolTip">
0118         <string comment="@info:tooltip">Enter the smallest fraction of the currency used for cash accounts here. This cannot be changed once the currency is created.</string>
0119        </property>
0120       </widget>
0121      </item>
0122      <item row="5" column="1">
0123       <widget class="QComboBox" name="comboRoundingMethod">
0124        <property name="toolTip">
0125         <string comment="@info:tooltip">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter the rounding method used for this currency.  See &lt;span style=&quot; font-weight:600;&quot;&gt;What's this&lt;/span&gt; for more details.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0126        </property>
0127        <property name="whatsThis">
0128         <string comment="@info:whatsthis">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundNever&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Don't do any rounding, simply truncate and print a warning in case of a remainder. Otherwise the same as RoundTrunc.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundFloor&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Round to the largest integral value not greater than the value. E.g. 0.5 -&amp;gt; 0.0 and -0.5 -&amp;gt; -1.0&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundCeil&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Round to the smallest integral value not less than the value. E.g. 0.5 -&amp;gt; 1.0 and -0.5 -&amp;gt; -0.0&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundTruncate&lt;/span&gt;&lt;/p&gt;&lt;p&gt;No rounding, simply truncate any fraction&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundPromote&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Use RoundCeil for positive and RoundFloor for negative values. E.g. 0.5 -&amp;gt; 1.0 and -0.5 -&amp;gt; -1.0&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundHalfDown&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Round up or down with the following constraints: 0.1 .. 0.5 -&amp;gt; 0.0 and 0.6 .. 0.9 -&amp;gt; 1.0&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundHalfUp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Round up or down with the following constraints: 0.1 .. 0.4 -&amp;gt; 0.0 and 0.5 .. 0.9 -&amp;gt; 1.0&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;RoundRound&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Use RoundHalfDown for 0.1 .. 0.4 and RoundHalfUp for 0.6 .. 0.9. Use RoundHalfUp for 0.5 in case the resulting numerator is odd, RoundHalfDown in case the resulting numerator is even. E.g. 0.5 -&amp;gt; 0.0 and 1.5 -&amp;gt; 2.0&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0129        </property>
0130        <property name="currentIndex">
0131         <number>7</number>
0132        </property>
0133        <item>
0134         <property name="text">
0135          <string>Never</string>
0136         </property>
0137        </item>
0138        <item>
0139         <property name="text">
0140          <string>Floor</string>
0141         </property>
0142        </item>
0143        <item>
0144         <property name="text">
0145          <string>Ceil</string>
0146         </property>
0147        </item>
0148        <item>
0149         <property name="text">
0150          <string>Truncate</string>
0151         </property>
0152        </item>
0153        <item>
0154         <property name="text">
0155          <string>Promote</string>
0156         </property>
0157        </item>
0158        <item>
0159         <property name="text">
0160          <string>Half Down</string>
0161         </property>
0162        </item>
0163        <item>
0164         <property name="text">
0165          <string>Half Up</string>
0166         </property>
0167        </item>
0168        <item>
0169         <property name="text">
0170          <string>Round</string>
0171         </property>
0172        </item>
0173       </widget>
0174      </item>
0175     </layout>
0176    </item>
0177    <item>
0178     <widget class="QDialogButtonBox" name="buttonBox">
0179      <property name="standardButtons">
0180       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
0181      </property>
0182     </widget>
0183    </item>
0184   </layout>
0185  </widget>
0186  <layoutdefault spacing="6" margin="11"/>
0187  <tabstops>
0188   <tabstop>leIsoCode</tabstop>
0189   <tabstop>leName</tabstop>
0190   <tabstop>leSymbol</tabstop>
0191   <tabstop>leAccountFraction</tabstop>
0192   <tabstop>leCashFraction</tabstop>
0193   <tabstop>comboRoundingMethod</tabstop>
0194   <tabstop>spbPricePrecision</tabstop>
0195  </tabstops>
0196  <resources/>
0197  <connections>
0198   <connection>
0199    <sender>buttonBox</sender>
0200    <signal>accepted()</signal>
0201    <receiver>KCurrencyEditorDlg</receiver>
0202    <slot>accept()</slot>
0203    <hints>
0204     <hint type="sourcelabel">
0205      <x>199</x>
0206      <y>296</y>
0207     </hint>
0208     <hint type="destinationlabel">
0209      <x>199</x>
0210      <y>159</y>
0211     </hint>
0212    </hints>
0213   </connection>
0214   <connection>
0215    <sender>buttonBox</sender>
0216    <signal>rejected()</signal>
0217    <receiver>KCurrencyEditorDlg</receiver>
0218    <slot>reject()</slot>
0219    <hints>
0220     <hint type="sourcelabel">
0221      <x>199</x>
0222      <y>296</y>
0223     </hint>
0224     <hint type="destinationlabel">
0225      <x>199</x>
0226      <y>159</y>
0227     </hint>
0228    </hints>
0229   </connection>
0230  </connections>
0231 </ui>