kde-workspace/kate/part/dialogs/editconfigwidget.ui
Ivailo Monev 3cba95c89a generic: adjust to KIntNumInput and KDoubleNumInput changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-21 09:00:16 +03:00

123 lines
4.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>EditConfigWidget</class>
<widget class="QWidget" name="EditConfigWidget">
<layout class="QVBoxLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="gbStaticWordWrap">
<property name="title">
<string>Static Word Wrap</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QCheckBox" name="chkStaticWordWrap">
<property name="whatsThis">
<string>&lt;p&gt;Automatically start a new line of text when the current line exceeds the length specified by the &lt;b&gt;Wrap words at:&lt;/b&gt; option.&lt;/p&gt;&lt;p&gt;This option does not wrap existing lines of text - use the &lt;b&gt;Apply Static Word Wrap&lt;/b&gt; option in the &lt;b&gt;Tools&lt;/b&gt; menu for that purpose.&lt;/p&gt;&lt;p&gt;If you want lines to be &lt;i&gt;visually wrapped&lt;/i&gt; instead, according to the width of the view, enable &lt;b&gt;Dynamic Word Wrap&lt;/b&gt; in the &lt;b&gt;Appearance&lt;/b&gt; config page.&lt;/p&gt;</string>
</property>
<property name="text">
<string>Enable static &amp;word wrap</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkShowStaticWordWrapMarker">
<property name="whatsThis">
<string>&lt;p&gt;If this option is checked, a vertical line will be drawn at the word wrap column as defined in the &lt;strong&gt;Editing&lt;/strong&gt; properties.&lt;/p&gt;&lt;p&gt;Note that the word wrap marker is only drawn if you use a fixed pitch font.&lt;/p&gt;</string>
</property>
<property name="text">
<string>Show static word wra&amp;p marker (if applicable)</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="lblWordWrap">
<property name="text">
<string>W&amp;rap words at:</string>
</property>
<property name="buddy">
<cstring>sbWordWrap</cstring>
</property>
</widget>
</item>
<item>
<widget class="KIntNumInput" name="sbWordWrap">
<property name="whatsThis">
<string>If the Word Wrap option is selected this entry determines the length (in characters) at which the editor will automatically start a new line.</string>
</property>
<property name="minimum">
<number>20</number>
</property>
<property name="maximum">
<number>200</number>
</property>
<property name="value">
<number>76</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="gbMisc">
<property name="title">
<string>Misc</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QCheckBox" name="chkSmartCopyCut">
<property name="text">
<string>Copy/Cut the current line if no selection</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<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>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<connections/>
</ui>