127 lines
3.3 KiB
XML
127 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>QtUtilities::QtLanguageOptionPage</class>
|
|
<widget class="QWidget" name="QtUtilities::QtLanguageOptionPage">
|
|
<property name="windowTitle">
|
|
<string>Localization</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset theme="preferences-desktop-locale">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QGroupBox { font-weight: bold };</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="localeComboBox">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="localeLabel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Locale</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="defaultLabel">
|
|
<property name="text">
|
|
<string>Use system default</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" alignment="Qt::AlignHCenter">
|
|
<widget class="QCheckBox" name="localeCheckBox">
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLabel" name="languageLabel">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</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>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>These settings take effect after restarting the application.</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>localeCheckBox</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>localeComboBox</receiver>
|
|
<slot>setDisabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>159</x>
|
|
<y>39</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>75</x>
|
|
<y>39</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|