|
@@ -8,8 +8,8 @@
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
- <width>458</width>
|
|
|
- <height>392</height>
|
|
|
+ <width>440</width>
|
|
|
+ <height>419</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="caption">
|
|
@@ -164,6 +164,23 @@
|
|
|
<string>Alt+U</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
+ <spacer>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>spacer10</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Vertical</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>Expanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>31</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
</vbox>
|
|
|
</widget>
|
|
|
<widget class="QWidget">
|
|
@@ -403,6 +420,23 @@
|
|
|
</widget>
|
|
|
</hbox>
|
|
|
</widget>
|
|
|
+ <spacer>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>spacer12</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Vertical</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>Expanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>31</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
</vbox>
|
|
|
</widget>
|
|
|
</vbox>
|
|
@@ -725,6 +759,23 @@
|
|
|
<string>Alt+R</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
+ <spacer>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>spacer14</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Vertical</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>Expanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
</vbox>
|
|
|
</widget>
|
|
|
<widget class="QWidget">
|
|
@@ -877,7 +928,7 @@
|
|
|
</widget>
|
|
|
<widget class="QLayoutWidget">
|
|
|
<property name="name">
|
|
|
- <cstring>layout11</cstring>
|
|
|
+ <cstring>layout19</cstring>
|
|
|
</property>
|
|
|
<hbox>
|
|
|
<property name="name">
|
|
@@ -931,7 +982,7 @@
|
|
|
</widget>
|
|
|
<widget class="QLayoutWidget">
|
|
|
<property name="name">
|
|
|
- <cstring>layout10</cstring>
|
|
|
+ <cstring>layout18</cstring>
|
|
|
</property>
|
|
|
<vbox>
|
|
|
<property name="name">
|
|
@@ -973,12 +1024,203 @@
|
|
|
<string>Alt+I</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
+ <spacer>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>spacer15</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Vertical</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>Expanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>21</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
</vbox>
|
|
|
</widget>
|
|
|
</hbox>
|
|
|
</widget>
|
|
|
</vbox>
|
|
|
</widget>
|
|
|
+ <widget class="QWidget">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>TabPage</cstring>
|
|
|
+ </property>
|
|
|
+ <attribute name="title">
|
|
|
+ <string>Co&ding</string>
|
|
|
+ </attribute>
|
|
|
+ <vbox>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>unnamed</cstring>
|
|
|
+ </property>
|
|
|
+ <widget class="QGroupBox">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>groupBox1</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="title">
|
|
|
+ <string>Code templates</string>
|
|
|
+ </property>
|
|
|
+ <vbox>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>unnamed</cstring>
|
|
|
+ </property>
|
|
|
+ <widget class="KListBox">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>templateListBox</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy>
|
|
|
+ <hsizetype>7</hsizetype>
|
|
|
+ <vsizetype>7</vsizetype>
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>1</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="selectionMode">
|
|
|
+ <enum>Extended</enum>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLayoutWidget">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>layout16</cstring>
|
|
|
+ </property>
|
|
|
+ <grid>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>unnamed</cstring>
|
|
|
+ </property>
|
|
|
+ <widget class="KTextEdit" row="1" column="1">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>templateCode</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy>
|
|
|
+ <hsizetype>7</hsizetype>
|
|
|
+ <vsizetype>7</vsizetype>
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>1</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="textFormat">
|
|
|
+ <enum>PlainText</enum>
|
|
|
+ </property>
|
|
|
+ <property name="linkUnderline">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="wordWrap">
|
|
|
+ <enum>NoWrap</enum>
|
|
|
+ </property>
|
|
|
+ <property name="autoFormatting">
|
|
|
+ <set>AutoNone</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="KLineEdit" row="0" column="1">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>templateIdentifier</cstring>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" row="1" column="0">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>textLabel2</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Code</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>AlignTop</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLabel" row="0" column="0">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>textLabel1</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Identifier</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>AlignTop</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </grid>
|
|
|
+ </widget>
|
|
|
+ <widget class="QLayoutWidget">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>layout17</cstring>
|
|
|
+ </property>
|
|
|
+ <hbox>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>unnamed</cstring>
|
|
|
+ </property>
|
|
|
+ <spacer>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>spacer8</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>Expanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint">
|
|
|
+ <size>
|
|
|
+ <width>151</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ <widget class="KPushButton">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>clearSelectionButton</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="enabled">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Clear selection</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ <widget class="KPushButton">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>applyButton</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="enabled">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Apply</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </hbox>
|
|
|
+ </widget>
|
|
|
+ </vbox>
|
|
|
+ </widget>
|
|
|
+ <widget class="QGroupBox">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>groupBox2</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="title">
|
|
|
+ <string>Code completion</string>
|
|
|
+ </property>
|
|
|
+ <vbox>
|
|
|
+ <property name="name">
|
|
|
+ <cstring>unnamed</cstring>
|
|
|
+ </property>
|
|
|
+ <widget class="KPushButton">
|
|
|
+ <property name="name">
|
|
|
+ <cstring>kPushButton21</cstring>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Open the completion editor</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </vbox>
|
|
|
+ </widget>
|
|
|
+ </vbox>
|
|
|
+ </widget>
|
|
|
</widget>
|
|
|
<widget class="QLayoutWidget">
|
|
|
<property name="name">
|
|
@@ -1164,7 +1406,84 @@
|
|
|
<receiver>Preferences</receiver>
|
|
|
<slot>syntaxEnabled_toggled(bool)</slot>
|
|
|
</connection>
|
|
|
+ <connection>
|
|
|
+ <sender>templateListBox</sender>
|
|
|
+ <signal>selectionChanged()</signal>
|
|
|
+ <receiver>Preferences</receiver>
|
|
|
+ <slot>templateListBox_selectionChanged()</slot>
|
|
|
+ </connection>
|
|
|
+ <connection>
|
|
|
+ <sender>templateListBox</sender>
|
|
|
+ <signal>currentChanged(QListBoxItem*)</signal>
|
|
|
+ <receiver>Preferences</receiver>
|
|
|
+ <slot>templateListBox_currentChanged(QListBoxItem*)</slot>
|
|
|
+ </connection>
|
|
|
+ <connection>
|
|
|
+ <sender>templateIdentifier</sender>
|
|
|
+ <signal>textChanged(const QString&)</signal>
|
|
|
+ <receiver>Preferences</receiver>
|
|
|
+ <slot>templateIdentifier_textChanged(const QString&)</slot>
|
|
|
+ </connection>
|
|
|
+ <connection>
|
|
|
+ <sender>clearSelectionButton</sender>
|
|
|
+ <signal>clicked()</signal>
|
|
|
+ <receiver>Preferences</receiver>
|
|
|
+ <slot>clearSelectionButton_clicked()</slot>
|
|
|
+ </connection>
|
|
|
+ <connection>
|
|
|
+ <sender>applyButton</sender>
|
|
|
+ <signal>clicked()</signal>
|
|
|
+ <receiver>Preferences</receiver>
|
|
|
+ <slot>applyButton_clicked()</slot>
|
|
|
+ </connection>
|
|
|
</connections>
|
|
|
+<tabstops>
|
|
|
+ <tabstop>tabWidget</tabstop>
|
|
|
+ <tabstop>stopAtFirstError</tabstop>
|
|
|
+ <tabstop>jumpToError</tabstop>
|
|
|
+ <tabstop>successMessage</tabstop>
|
|
|
+ <tabstop>deleteAsmFiles</tabstop>
|
|
|
+ <tabstop>deleteObjFiles</tabstop>
|
|
|
+ <tabstop>splitSourceFiles</tabstop>
|
|
|
+ <tabstop>allowImplicitDeclaration</tabstop>
|
|
|
+ <tabstop>autoSave</tabstop>
|
|
|
+ <tabstop>downloadHeadlines</tabstop>
|
|
|
+ <tabstop>deleteOverwrittenErrors</tabstop>
|
|
|
+ <tabstop>useSystemIcons</tabstop>
|
|
|
+ <tabstop>targetNone</tabstop>
|
|
|
+ <tabstop>port1</tabstop>
|
|
|
+ <tabstop>grayLink</tabstop>
|
|
|
+ <tabstop>tabWidthC</tabstop>
|
|
|
+ <tabstop>tabWidthAsm</tabstop>
|
|
|
+ <tabstop>useBgColor</tabstop>
|
|
|
+ <tabstop>bgColorChange</tabstop>
|
|
|
+ <tabstop>editorFontChange</tabstop>
|
|
|
+ <tabstop>useCalcCharset</tabstop>
|
|
|
+ <tabstop>lazyLoading</tabstop>
|
|
|
+ <tabstop>autoBlocks</tabstop>
|
|
|
+ <tabstop>removeTrailingSpaces</tabstop>
|
|
|
+ <tabstop>syntaxLanguage</tabstop>
|
|
|
+ <tabstop>syntaxEnabled</tabstop>
|
|
|
+ <tabstop>resetButton</tabstop>
|
|
|
+ <tabstop>numberColorButton</tabstop>
|
|
|
+ <tabstop>numberStyleButton</tabstop>
|
|
|
+ <tabstop>symbolColorButton</tabstop>
|
|
|
+ <tabstop>symbolStyleButton</tabstop>
|
|
|
+ <tabstop>parenthesisColorsButton</tabstop>
|
|
|
+ <tabstop>parenthesisStyleButton</tabstop>
|
|
|
+ <tabstop>syntaxListView</tabstop>
|
|
|
+ <tabstop>newStyleButton</tabstop>
|
|
|
+ <tabstop>newListButton</tabstop>
|
|
|
+ <tabstop>editButton</tabstop>
|
|
|
+ <tabstop>templateListBox</tabstop>
|
|
|
+ <tabstop>templateIdentifier</tabstop>
|
|
|
+ <tabstop>templateCode</tabstop>
|
|
|
+ <tabstop>clearSelectionButton</tabstop>
|
|
|
+ <tabstop>applyButton</tabstop>
|
|
|
+ <tabstop>kPushButton21</tabstop>
|
|
|
+ <tabstop>okButton</tabstop>
|
|
|
+ <tabstop>cancelButton</tabstop>
|
|
|
+</tabstops>
|
|
|
<includes>
|
|
|
<include location="local" impldecl="in implementation">preferencesdlg.ui.h</include>
|
|
|
</includes>
|
|
@@ -1191,6 +1510,11 @@
|
|
|
<slot>editButton_clicked()</slot>
|
|
|
<slot>editDialog_colorButton_clicked()</slot>
|
|
|
<slot>editDialog_styleButton_clicked()</slot>
|
|
|
+ <slot>clearSelectionButton_clicked()</slot>
|
|
|
+ <slot>applyButton_clicked()</slot>
|
|
|
+ <slot>templateListBox_selectionChanged()</slot>
|
|
|
+ <slot>templateListBox_currentChanged( QListBoxItem * item )</slot>
|
|
|
+ <slot>templateIdentifier_textChanged( const QString & text )</slot>
|
|
|
</slots>
|
|
|
<pixmapinproject/>
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
@@ -1213,6 +1537,12 @@
|
|
|
<includehint>kpushbutton.h</includehint>
|
|
|
<includehint>kpushbutton.h</includehint>
|
|
|
<includehint>kpushbutton.h</includehint>
|
|
|
+ <includehint>klistbox.h</includehint>
|
|
|
+ <includehint>ktextedit.h</includehint>
|
|
|
+ <includehint>klineedit.h</includehint>
|
|
|
+ <includehint>kpushbutton.h</includehint>
|
|
|
+ <includehint>kpushbutton.h</includehint>
|
|
|
+ <includehint>kpushbutton.h</includehint>
|
|
|
<includehint>kpushbutton.h</includehint>
|
|
|
<includehint>kpushbutton.h</includehint>
|
|
|
</includehints>
|