--- a/Preferences/ConfigurationPages/EditorAutocompletionPage.ui Tue May 01 12:04:30 2018 +0200 +++ b/Preferences/ConfigurationPages/EditorAutocompletionPage.ui Sat Jun 02 12:44:41 2018 +0200 @@ -36,36 +36,149 @@ <property name="title"> <string>General</string> </property> - <layout class="QGridLayout" name="gridLayout_2"> - <item row="0" column="0" colspan="2"> - <widget class="QCheckBox" name="acCaseSensitivityCheckBox"> - <property name="toolTip"> - <string>Select this to have case sensitive auto-completion lists</string> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <property name="spacing"> + <number>0</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <item> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="verticalSpacing"> + <number>9</number> + </property> + <property name="margin"> + <number>9</number> </property> - <property name="text"> - <string>Case sensitive</string> - </property> - </widget> + <item row="0" column="1"> + <widget class="QCheckBox" name="acReplaceWordCheckBox"> + <property name="toolTip"> + <string>Select this, if the word to the right should be replaced by the selected entry</string> + </property> + <property name="text"> + <string>Replace word</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QCheckBox" name="acCaseSensitivityCheckBox"> + <property name="toolTip"> + <string>Select this to have case sensitive auto-completion lists</string> + </property> + <property name="text"> + <string>Case sensitive</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="acReversedCheckBox"> + <property name="toolTip"> + <string>Select to show completions of type 'public' first</string> + </property> + <property name="text"> + <string>Show 'public' completions first</string> + </property> + </widget> + </item> + </layout> </item> - <item row="0" column="2" colspan="2"> - <widget class="QCheckBox" name="acReplaceWordCheckBox"> - <property name="toolTip"> - <string>Select this, if the word to the right should be replaced by the selected entry</string> + <item> + <layout class="QGridLayout" name="gridLayout_3"> + <property name="margin"> + <number>9</number> </property> - <property name="text"> - <string>Replace word</string> + <property name="spacing"> + <number>9</number> </property> - </widget> - </item> - <item row="1" column="0" colspan="2"> - <widget class="QCheckBox" name="acReversedCheckBox"> - <property name="toolTip"> - <string>Select to show completions of type 'public' first</string> - </property> - <property name="text"> - <string>Show 'public' completions first</string> - </property> - </widget> + <item row="1" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Maximum visible characters:</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Maximum visible lines: </string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSlider" name="acLinesSlider"> + <property name="toolTip"> + <string>Move to set the maximum number of lines shown in a autocomplete list.</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>20</number> + </property> + <property name="pageStep"> + <number>2</number> + </property> + <property name="value"> + <number>6</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QLCDNumber" name="lcdNumber"> + <property name="toolTip"> + <string>Displays the maximum number of lines.</string> + </property> + <property name="digitCount"> + <number>3</number> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + <property name="intValue" stdset="0"> + <number>6</number> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSlider" name="acCharSlider"> + <property name="toolTip"> + <string>Move to set the maximum number of characters visible in one line.</string> + </property> + <property name="minimum"> + <number>10</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="value"> + <number>40</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QLCDNumber" name="lcdNumber_2"> + <property name="toolTip"> + <string>Displays the approximate number of characters per line.</string> + </property> + <property name="digitCount"> + <number>3</number> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + <property name="intValue" stdset="0"> + <number>40</number> + </property> + </widget> + </item> + </layout> </item> </layout> </widget> @@ -126,7 +239,7 @@ <string>Displays the selected autocompletion threshold</string> </property> <property name="digitCount"> - <number>2</number> + <number>3</number> </property> <property name="segmentStyle"> <enum>QLCDNumber::Flat</enum> @@ -378,6 +491,8 @@ <tabstop>acCaseSensitivityCheckBox</tabstop> <tabstop>acReplaceWordCheckBox</tabstop> <tabstop>acReversedCheckBox</tabstop> + <tabstop>acLinesSlider</tabstop> + <tabstop>acCharSlider</tabstop> <tabstop>acEnabledGroupBox</tabstop> <tabstop>acThresholdSlider</tabstop> <tabstop>acTimeoutSpinBox</tabstop> @@ -396,11 +511,11 @@ <hints> <hint type="sourcelabel"> <x>442</x> - <y>161</y> + <y>221</y> </hint> <hint type="destinationlabel"> <x>485</x> - <y>162</y> + <y>222</y> </hint> </hints> </connection> @@ -411,12 +526,44 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>30</x> - <y>237</y> + <x>49</x> + <y>305</y> </hint> <hint type="destinationlabel"> - <x>155</x> - <y>259</y> + <x>202</x> + <y>332</y> + </hint> + </hints> + </connection> + <connection> + <sender>acLinesSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>lcdNumber</receiver> + <slot>display(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>224</x> + <y>125</y> + </hint> + <hint type="destinationlabel"> + <x>473</x> + <y>127</y> + </hint> + </hints> + </connection> + <connection> + <sender>acCharSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>lcdNumber_2</receiver> + <slot>display(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>255</x> + <y>155</y> + </hint> + <hint type="destinationlabel"> + <x>468</x> + <y>154</y> </hint> </hints> </connection>