kde-workspace/kate/part/dialogs/opensaveconfigadvwidget.ui
Ivailo Monev 936c69c827 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-14 16:19:24 +03:00

184 lines
5.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OpenSaveConfigAdvWidget</class>
<widget class="QWidget" name="OpenSaveConfigAdvWidget">
<layout class="QVBoxLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="gbConfigFile">
<property name="title">
<string>Folder Config File</string>
</property>
<layout class="QVBoxLayout">
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Search &amp;depth for config file:</string>
</property>
<property name="buddy">
<cstring>sbConfigFileSearchDepth</cstring>
</property>
</widget>
</item>
<item>
<widget class="KIntSpinBox" name="sbConfigFileSearchDepth">
<property name="whatsThis">
<string>The editor will search the given number of folder levels upwards for a .kateconfig file and load the settings line from it.</string>
</property>
<property name="specialValueText">
<string>Do not use config file</string>
</property>
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum">
<number>64</number>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>1</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="gbBackup">
<property name="whatsThis">
<string>&lt;p&gt;Backing up on save will cause Kate to copy the disk file to '&amp;lt;prefix&amp;gt;&amp;lt;filename&amp;gt;&amp;lt;suffix&amp;gt;' before saving changes.&lt;p&gt;The suffix defaults to &lt;strong&gt;~&lt;/strong&gt; and prefix is empty by default.</string>
</property>
<property name="title">
<string>Backup on Save</string>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="chkBackupLocalFiles">
<property name="whatsThis">
<string>If this option is enabled, backups for local files will be created when saving.</string>
</property>
<property name="text">
<string>&amp;Local files</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="chkBackupRemoteFiles">
<property name="whatsThis">
<string>If this option is enabled, backups for remote files will be created when saving.</string>
</property>
<property name="text">
<string>&amp;Remote files</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>&amp;Prefix:</string>
</property>
<property name="buddy">
<cstring>edtBackupPrefix</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KLineEdit" name="edtBackupPrefix">
<property name="whatsThis">
<string>Enter the prefix to prepend to the backup file names.</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>&amp;Suffix:</string>
</property>
<property name="buddy">
<cstring>edtBackupSuffix</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="KLineEdit" name="edtBackupSuffix">
<property name="whatsThis">
<string>Enter the suffix to append to the backup file names.</string>
</property>
</widget>
</item>
<item row="5" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>1</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0">
<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 row="6" column="0" colspan="2">
<widget class="QCheckBox" name="chkNoSync">
<property name="text">
<string>Disable swap files syncing</string>
</property>
<property name="whatsThis">
<string>If checked, the swap file is not forcibly written to disk each 15 seconds. Be aware, that disabling the swap file synchronization may lead to data loss in case of a system crash.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntSpinBox</class>
<extends>QSpinBox</extends>
<header>knuminput.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
</customwidgets>
<connections/>
</ui>