kde-extraapps/kcalc/general.ui
Ivailo Monev 6ccf553d1e generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-14 16:21:09 +03:00

239 lines
7.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>General</class>
<widget class="QWidget" name="General">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>293</width>
<height>319</height>
</rect>
</property>
<property name="windowTitle">
<string>General</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QGroupBox" name="precisionGroupBox">
<property name="title">
<string>Precision</string>
</property>
<layout class="QHBoxLayout">
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="textLabel1">
<property name="text">
<string>&amp;Maximum number of digits:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>kcfg_Precision</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Precision">
<property name="toolTip">
<string>Maximum number of digits displayed</string>
</property>
<property name="whatsThis">
<string>KCalc can compute with many more digits than the number that fits on the display. This setting gives the maximum number of digits displayed, before KCalc starts using scientific notation, i.e. notation of the type 2.34e12.</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="kcfg_Fixed">
<property name="toolTip">
<string>Whether to use fixed decimal places</string>
</property>
<property name="text">
<string>Set &amp;decimal precision</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="kcfg_FixedPrecision">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Number of fixed decimal digits</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Grouping</string>
</property>
<layout class="QVBoxLayout" name="_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="kcfg_GroupDigits">
<property name="toolTip">
<string>Whether to group digits</string>
</property>
<property name="text">
<string>Group digits</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="grouping_binary_lb">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Binary</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="grouping_octal_lb">
<property name="text">
<string>Octal</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="grouping_hexadecimal_lb">
<property name="text">
<string>Hexadecimal</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_BinaryGrouping"/>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="kcfg_OctalGrouping"/>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="kcfg_HexadecimalGrouping"/>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="miscGroupBox">
<property name="title">
<string>Misc</string>
</property>
<layout class="QVBoxLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="kcfg_Beep">
<property name="toolTip">
<string>Whether to beep on error</string>
</property>
<property name="text">
<string>&amp;Beep on error</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_CaptionResult">
<property name="toolTip">
<string>Whether to show the result in the window title</string>
</property>
<property name="text">
<string>Show &amp;result in window title</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_TwosComplement">
<property name="toolTip">
<string>Whether to use Two's Complement for non-decimal numbers</string>
</property>
<property name="whatsThis">
<string>Select to use Two's Complement notation for Binary, Octal and Hexidecimal numbers. This is a common notation to represent negative numbers for non-decimal numbers in computers.</string>
</property>
<property name="text">
<string>Two's complement</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<tabstops>
<tabstop>kcfg_Precision</tabstop>
<tabstop>kcfg_Fixed</tabstop>
<tabstop>kcfg_FixedPrecision</tabstop>
</tabstops>
<connections>
<connection>
<sender>kcfg_Fixed</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_FixedPrecision</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>97</x>
<y>76</y>
</hint>
<hint type="destinationlabel">
<x>256</x>
<y>94</y>
</hint>
</hints>
</connection>
</connections>
</ui>