2015-04-22 19:33:53 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QtGui::EditorAutoCorrectionOptionPage</class>
<widget class="QWidget" name="QtGui::EditorAutoCorrectionOptionPage">
<property name="windowTitle">
2016-04-04 14:51:14 +02:00
<string>Auto correction</string>
2015-04-22 19:33:53 +02:00
</property>
<property name="styleSheet">
<string notr="true">QGroupBox { font-weight: bold };</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
2023-05-07 22:18:31 +02:00
<string><html><head/><body><p>Auto correction/completion will be applied when showing the selected tag fields after <span style=" font-style:italic;">loading</span> a file but <span style=" font-style:italic;">not</span> before saving. This means the tag values you see when opening a file are already corrected. This also means when clicking the &quot;Save&quot; button the tags are saved as they are shown in the editor at this point with no further correction applied.</p></body></html></string>
2015-04-22 19:33:53 +02:00
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="featuresGroupBox">
<property name="title">
2015-11-08 20:11:10 +01:00
<string>Auto correction/completion features to be used</string>
2015-04-22 19:33:53 +02:00
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="insertTitleFromFilenameCheckBox">
<property name="text">
2020-09-08 19:37:23 +02:00
<string>Insert title from filename if none present</string>
2015-04-22 19:33:53 +02:00
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="trimWhitespacesCheckBox">
<property name="text">
2020-09-08 19:37:23 +02:00
<string>Trim whitespaces</string>
2015-04-22 19:33:53 +02:00
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="formatNamesCheckBox">
<property name="text">
2020-09-08 19:37:23 +02:00
<string>Format names like "an example_name" to "An Example Name"</string>
2015-04-22 19:33:53 +02:00
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fixUmlautsCheckBox">
<property name="text">
2020-09-08 19:37:23 +02:00
<string>Fix umlauts (replaces ae with ä for example)</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="customSubstitutionGroupBox">
<property name="title">
<string>Custom substitution</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="matchLabel">
<property name="text">
<string>Match pattern</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="replacementLabel">
<property name="text">
<string>Replacement</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="regularExpressionLineEdit">
<property name="placeholderText">
<string>regular expression</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="replacementLineEdit">
<property name="placeholderText">
<string>replacement (use \1, \2, … for capture expressions)</string>
2015-04-22 19:33:53 +02:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
2023-05-07 22:24:32 +02:00
<widget class="QGroupBox" name="fieldsGroupBox">
<property name="title">
2023-05-07 22:18:31 +02:00
<string>Fields to apply the auto correction on</string>
2015-04-22 19:33:53 +02:00
</property>
2023-05-07 22:24:32 +02:00
<layout class="QVBoxLayout" name="fieldsVerticalLayout">
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QListView" name="fieldsListView">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="showDropIndicator" stdset="0">
<bool>true</bool>
</property>
<property name="flow">
<enum>QListView::LeftToRight</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>true</bool>
</property>
<property name="spacing">
<number>3</number>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
2015-04-22 19:33:53 +02:00
</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>
<resources/>
<connections/>
</ui>