4 <exportmacro></exportmacro>
5 <class>CursorConfigWidget</class>
6 <widget class="QWidget" name="CursorConfigWidget" >
7 <property name="geometry" >
15 <layout class="QVBoxLayout" >
16 <property name="margin" >
19 <property name="spacing" >
23 <widget class="QGroupBox" name="gbCursorMovement" >
24 <property name="title" >
25 <string>Text Cursor Movement</string>
27 <layout class="QVBoxLayout" >
28 <property name="margin" >
31 <property name="spacing" >
35 <widget class="QCheckBox" name="chkSmartHome" >
36 <property name="whatsThis" >
37 <string>When selected, pressing the home key will cause the cursor to skip whitespace and go to the start of a line's text. The same applies for the end key.</string>
39 <property name="text" >
40 <string>Smart ho&me and smart end</string>
45 <widget class="QCheckBox" name="chkWrapCursor" >
46 <property name="whatsThis" >
47 <string><p>When on, moving the insertion cursor using the <b>Left</b> and <b>Right</b> keys will go on to previous/next line at beginning/end of the line, similar to most editors.</p><p>When off, the insertion cursor cannot be moved left of the line start, but it can be moved off the line end, which can be very handy for programmers.</p></string>
49 <property name="text" >
50 <string>Wrap c&ursor</string>
55 <widget class="QCheckBox" name="chkPagingMovesCursor" >
56 <property name="whatsThis" >
57 <string>Selects whether the PageUp and PageDown keys should alter the vertical position of the cursor relative to the top of the view.</string>
59 <property name="text" >
60 <string>&PageUp/PageDown moves cursor</string>
65 <layout class="QHBoxLayout" >
66 <property name="margin" >
69 <property name="spacing" >
73 <widget class="QLabel" name="lblAutoCenterCursor" >
74 <property name="text" >
75 <string>&Autocenter cursor (lines):</string>
77 <property name="buddy" >
78 <cstring>sbAutoCenterCursor</cstring>
83 <widget class="QSpinBox" name="sbAutoCenterCursor" >
84 <property name="whatsThis" >
85 <string>Sets the number of lines to maintain visible above and below the cursor when possible.</string>
87 <property name="specialValueText" >
88 <string>Disabled</string>
94 <property name="orientation" >
95 <enum>Qt::Horizontal</enum>
97 <property name="sizeHint" >
111 <widget class="QGroupBox" name="gbSelectionMode" >
112 <property name="title" >
113 <string>Text Selection Mode</string>
115 <layout class="QVBoxLayout" >
116 <property name="margin" >
119 <property name="spacing" >
123 <widget class="QRadioButton" name="rbNormal" >
124 <property name="whatsThis" >
125 <string>Selections will be overwritten by typed text and will be lost on cursor movement.</string>
127 <property name="text" >
128 <string>&Normal</string>
133 <widget class="QRadioButton" name="rbPersistent" >
134 <property name="whatsThis" >
135 <string>Selections will stay even after cursor movement and typing.</string>
137 <property name="text" >
138 <string>P&ersistent</string>
147 <property name="orientation" >
148 <enum>Qt::Vertical</enum>
150 <property name="sizeHint" >
160 <pixmapfunction></pixmapfunction>