Browse Source

Remove no longer supported stdItem properties from .ui files, this has to be set in the code now.
toolprops.cpp, toolprops.h: remove init slot, put initialization directly in the constructor
toolprops.cpp: set the mode of the workingDirectory KURLRequester in the constructor (not supported in the .ui file by Qt Designer 4)


git-svn-id: file:///var/svn/tigccpp/trunk@1120 9552661e-59e3-4036-b4f2-dbe53926924f

kevinkofler 17 years ago
parent
commit
d69585e5b0
12 changed files with 1996 additions and 1558 deletions
  1. 265 205
      ktigcc/customstyle.ui
  2. 127 101
      ktigcc/functions.ui
  3. 182 133
      ktigcc/newsdlg.ui
  4. 122 102
      ktigcc/programoutput.ui
  5. 0 6
      ktigcc/projectoptions.ui
  6. 259 175
      ktigcc/selectcolors.ui
  7. 249 193
      ktigcc/selectstyle.ui
  8. 10 29
      ktigcc/toolprops.cpp
  9. 0 1
      ktigcc/toolprops.h
  10. 316 233
      ktigcc/toolprops.ui
  11. 254 212
      ktigcc/toolsdlg.ui
  12. 212 168
      ktigcc/wordlist.ui

+ 265 - 205
ktigcc/customstyle.ui

@@ -1,207 +1,267 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>CustomStyle</class>
-  <widget class="QDialog" name="CustomStyle" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>200</width>
-        <height>236</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Edit Custom Style</string>
-    </property>
-    <layout class="QVBoxLayout" >
-      <item>
-        <layout class="QGridLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item row="1" column="0" >
-            <widget class="QLabel" name="endingLabel" >
-              <property name="text" >
-                <string>&amp;Ending:</string>
-              </property>
-              <property name="buddy" stdset="0" >
-                <cstring>ending</cstring>
-              </property>
-              <property name="wordWrap" >
-                <bool>false</bool>
-              </property>
-            </widget>
-          </item>
-          <item row="0" column="0" >
-            <widget class="QLabel" name="beginningLabel" >
-              <property name="text" >
-                <string>&amp;Beginning:</string>
-              </property>
-              <property name="buddy" stdset="0" >
-                <cstring>beginning</cstring>
-              </property>
-              <property name="wordWrap" >
-                <bool>false</bool>
-              </property>
-            </widget>
-          </item>
-          <item row="0" column="1" >
-            <widget class="KLineEdit" name="beginning" />
-          </item>
-          <item row="1" column="1" >
-            <widget class="KLineEdit" name="ending" />
-          </item>
-        </layout>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="QLabel" name="ignoreEndingAfterLabel" >
-              <property name="text" >
-                <string>&amp;Ignore Ending After:</string>
-              </property>
-              <property name="buddy" stdset="0" >
-                <cstring>ignoreEndingAfter</cstring>
-              </property>
-              <property name="wordWrap" >
-                <bool>false</bool>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KLineEdit" name="ignoreEndingAfter" >
-              <property name="maxLength" >
-                <number>1</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
-      <item>
-        <widget class="QCheckBox" name="switchable" >
-          <property name="text" >
-            <string>S&amp;witchable</string>
-          </property>
-          <property name="shortcut" >
-            <string>Alt+W</string>
-          </property>
-        </widget>
-      </item>
-      <item>
-        <widget class="QCheckBox" name="lineStartOnly" >
-          <property name="text" >
-            <string>Only &amp;at beginning of line</string>
-          </property>
-          <property name="shortcut" >
-            <string>Alt+A</string>
-          </property>
-        </widget>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="colorButton" >
-              <property name="text" >
-                <string>Co&amp;lor...</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+L</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="styleButton" >
-              <property name="text" >
-                <string>&amp;Style...</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+S</string>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
-      <item>
-        <spacer name="spacer18" >
-          <property name="sizeHint" >
-            <size>
-              <width>20</width>
-              <height>16</height>
-            </size>
-          </property>
-          <property name="sizeType" >
-            <enum>Expanding</enum>
-          </property>
-          <property name="orientation" >
-            <enum>Vertical</enum>
-          </property>
-        </spacer>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="okButton" >
-              <property name="text" >
-                <string>&amp;OK</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+O</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>1</number>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="cancelButton" >
-              <property name="text" >
-                <string>&amp;Cancel</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>2</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>CustomStyle</class>
+ <widget class="QDialog" name="CustomStyle" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>208</width>
+    <height>261</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Edit Custom Style</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <layout class="QGridLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item row="1" column="0" >
+      <widget class="QLabel" name="endingLabel" >
+       <property name="text" >
+        <string>&amp;Ending:</string>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+       <property name="buddy" >
+        <cstring>ending</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="0" >
+      <widget class="QLabel" name="beginningLabel" >
+       <property name="text" >
+        <string>&amp;Beginning:</string>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+       <property name="buddy" >
+        <cstring>beginning</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1" >
+      <widget class="KLineEdit" name="beginning" />
+     </item>
+     <item row="1" column="1" >
+      <widget class="KLineEdit" name="ending" />
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <includes>
-    <include location="local" >klineedit.h</include>
-    <include location="local" >klineedit.h</include>
-    <include location="local" >klineedit.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>cancelButton</sender>
-      <signal>clicked()</signal>
-      <receiver>CustomStyle</receiver>
-      <slot>reject()</slot>
-    </connection>
-    <connection>
-      <sender>okButton</sender>
-      <signal>clicked()</signal>
-      <receiver>CustomStyle</receiver>
-      <slot>accept()</slot>
-    </connection>
-  </connections>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="QLabel" name="ignoreEndingAfterLabel" >
+       <property name="text" >
+        <string>&amp;Ignore Ending After:</string>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+       <property name="buddy" >
+        <cstring>ignoreEndingAfter</cstring>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KLineEdit" name="ignoreEndingAfter" >
+       <property name="maxLength" >
+        <number>1</number>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <widget class="QCheckBox" name="switchable" >
+     <property name="text" >
+      <string>S&amp;witchable</string>
+     </property>
+     <property name="shortcut" >
+      <string>Alt+W</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QCheckBox" name="lineStartOnly" >
+     <property name="text" >
+      <string>Only &amp;at beginning of line</string>
+     </property>
+     <property name="shortcut" >
+      <string>Alt+A</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="colorButton" >
+       <property name="text" >
+        <string>Co&amp;lor...</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+L</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="styleButton" >
+       <property name="text" >
+        <string>&amp;Style...</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+S</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>20</width>
+       <height>16</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="okButton" >
+       <property name="text" >
+        <string>&amp;OK</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+O</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="cancelButton" >
+       <property name="text" >
+        <string>&amp;Cancel</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>klineedit.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="local" >klineedit.h</include>
+  <include location="local" >klineedit.h</include>
+  <include location="local" >klineedit.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>cancelButton</sender>
+   <signal>clicked()</signal>
+   <receiver>CustomStyle</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>okButton</sender>
+   <signal>clicked()</signal>
+   <receiver>CustomStyle</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 127 - 101
ktigcc/functions.ui

@@ -1,103 +1,129 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>FunctionDialog</class>
-  <widget class="QDialog" name="FunctionDialog" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>494</width>
-        <height>377</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Functions</string>
-    </property>
-    <layout class="QHBoxLayout" >
-      <item>
-        <widget class="Q3ListBox" name="functionListBox" />
-      </item>
-      <item>
-        <layout class="QVBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="prototypeButton" >
-              <property name="enabled" >
-                <bool>false</bool>
-              </property>
-              <property name="text" >
-                <string>&amp;Prototype</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+P</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="implementationButton" >
-              <property name="enabled" >
-                <bool>false</bool>
-              </property>
-              <property name="text" >
-                <string>&amp;Implementation</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+I</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <spacer name="spacer50" >
-              <property name="sizeHint" >
-                <size>
-                  <width>20</width>
-                  <height>331</height>
-                </size>
-              </property>
-              <property name="sizeType" >
-                <enum>Expanding</enum>
-              </property>
-              <property name="orientation" >
-                <enum>Vertical</enum>
-              </property>
-            </spacer>
-          </item>
-          <item>
-            <widget class="KPushButton" name="cancelButton" >
-              <property name="text" >
-                <string>&amp;Cancel</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="autoDefault" >
-                <bool>true</bool>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>2</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>FunctionDialog</class>
+ <widget class="QDialog" name="FunctionDialog" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>494</width>
+    <height>377</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Functions</string>
+  </property>
+  <layout class="QHBoxLayout" >
+   <item>
+    <widget class="Q3ListBox" name="functionListBox" />
+   </item>
+   <item>
+    <layout class="QVBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="prototypeButton" >
+       <property name="enabled" >
+        <bool>false</bool>
+       </property>
+       <property name="text" >
+        <string>&amp;Prototype</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+P</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="implementationButton" >
+       <property name="enabled" >
+        <bool>false</bool>
+       </property>
+       <property name="text" >
+        <string>&amp;Implementation</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+I</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>20</width>
+         <height>331</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="KPushButton" name="cancelButton" >
+       <property name="text" >
+        <string>&amp;Cancel</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+       <property name="autoDefault" >
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <includes>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>cancelButton</sender>
-      <signal>clicked()</signal>
-      <receiver>FunctionDialog</receiver>
-      <slot>reject()</slot>
-    </connection>
-  </connections>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+  <customwidget>
+   <class>Q3ListBox</class>
+   <extends>Q3Frame</extends>
+   <header>q3listbox.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>cancelButton</sender>
+   <signal>clicked()</signal>
+   <receiver>FunctionDialog</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 182 - 133
ktigcc/newsdlg.ui

@@ -1,135 +1,184 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>NewsDialog</class>
-  <widget class="QDialog" name="NewsDialog" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>427</width>
-        <height>424</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>TIGCC/*nix News</string>
-    </property>
-    <layout class="QVBoxLayout" >
-      <item>
-        <widget class="KPushButton" name="proxySettingsButton" >
-          <property name="text" >
-            <string>Change KDE HTTP &amp;proxy settings...</string>
-          </property>
-          <property name="shortcut" >
-            <string>Alt+P</string>
-          </property>
-        </widget>
-      </item>
-      <item>
-        <widget class="K3ListBox" name="newsListBox" >
-          <property name="selectionMode" >
-            <enum>NoSelection</enum>
-          </property>
-        </widget>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="refreshButton" >
-              <property name="text" >
-                <string>&amp;Refresh</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+R</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="visitButton" >
-              <property name="text" >
-                <string>&amp;Visit</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+V</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <spacer name="spacer1" >
-              <property name="sizeHint" >
-                <size>
-                  <width>101</width>
-                  <height>20</height>
-                </size>
-              </property>
-              <property name="sizeType" >
-                <enum>Expanding</enum>
-              </property>
-              <property name="orientation" >
-                <enum>Horizontal</enum>
-              </property>
-            </spacer>
-          </item>
-          <item>
-            <widget class="KPushButton" name="closeButton" >
-              <property name="text" >
-                <string>&amp;Close</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>13</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>NewsDialog</class>
+ <widget class="QDialog" name="NewsDialog" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>427</width>
+    <height>424</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>TIGCC/*nix News</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <widget class="KPushButton" name="proxySettingsButton" >
+     <property name="text" >
+      <string>Change KDE HTTP &amp;proxy settings...</string>
+     </property>
+     <property name="shortcut" >
+      <string>Alt+P</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="K3ListBox" name="newsListBox" >
+     <property name="selectionMode" >
+      <enum>Q3ListBox::Single</enum>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="refreshButton" >
+       <property name="text" >
+        <string>&amp;Refresh</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+R</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="visitButton" >
+       <property name="text" >
+        <string>&amp;Visit</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+V</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>101</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="KPushButton" name="closeButton" >
+       <property name="text" >
+        <string>&amp;Close</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+      </widget>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <customwidgets>
-    <customwidget>
-      <class>K3ListBox</class>
-      <extends>Q3ListBox</extends>
-      <header>k3listbox.h</header>
-    </customwidget>
-  </customwidgets>
-  <includes>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >k3listbox.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>proxySettingsButton</sender>
-      <signal>clicked()</signal>
-      <receiver>NewsDialog</receiver>
-      <slot>proxySettingsButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>refreshButton</sender>
-      <signal>clicked()</signal>
-      <receiver>NewsDialog</receiver>
-      <slot>refreshButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>visitButton</sender>
-      <signal>clicked()</signal>
-      <receiver>NewsDialog</receiver>
-      <slot>visitButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>closeButton</sender>
-      <signal>clicked()</signal>
-      <receiver>NewsDialog</receiver>
-      <slot>close()</slot>
-    </connection>
-  </connections>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+  <customwidget>
+   <class>K3ListBox</class>
+   <extends>Q3ListBox</extends>
+   <header>k3listbox.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >k3listbox.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>proxySettingsButton</sender>
+   <signal>clicked()</signal>
+   <receiver>NewsDialog</receiver>
+   <slot>proxySettingsButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>refreshButton</sender>
+   <signal>clicked()</signal>
+   <receiver>NewsDialog</receiver>
+   <slot>refreshButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>visitButton</sender>
+   <signal>clicked()</signal>
+   <receiver>NewsDialog</receiver>
+   <slot>visitButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>closeButton</sender>
+   <signal>clicked()</signal>
+   <receiver>NewsDialog</receiver>
+   <slot>close()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 122 - 102
ktigcc/programoutput.ui

@@ -1,104 +1,124 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>ProgramOutput</class>
-  <widget class="QDialog" name="ProgramOutput" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>763</width>
-        <height>622</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Program Output</string>
-    </property>
-    <layout class="QVBoxLayout" >
-      <item>
-        <widget class="KTextBrowser" name="textBrowser" >
-          <property name="font" >
-            <font>
-              <family>Monospace</family>
-            </font>
-          </property>
-          <property name="textFormat" >
-            <enum>Qt::PlainText</enum>
-          </property>
-          <property name="wordWrapMode" >
-            <enum>QTextOption::NoWrap</enum>
-          </property>
-          <property name="tabChangesFocus" >
-            <bool>true</bool>
-          </property>
-          <property name="autoFormatting" >
-            <set>QTextEdit::AutoNone</set>
-          </property>
-        </widget>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <property name="spacing" >
-            <number>6</number>
-          </property>
-          <item>
-            <spacer name="Horizontal Spacing2" >
-              <property name="sizeHint" >
-                <size>
-                  <width>20</width>
-                  <height>20</height>
-                </size>
-              </property>
-              <property name="sizeType" >
-                <enum>Expanding</enum>
-              </property>
-              <property name="orientation" >
-                <enum>Horizontal</enum>
-              </property>
-            </spacer>
-          </item>
-          <item>
-            <widget class="KPushButton" name="buttonClose" >
-              <property name="text" >
-                <string>&amp;Close</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="autoDefault" >
-                <bool>true</bool>
-              </property>
-              <property name="default" >
-                <bool>true</bool>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>13</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>ProgramOutput</class>
+ <widget class="QDialog" name="ProgramOutput" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>763</width>
+    <height>622</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Program Output</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <widget class="KTextBrowser" name="textBrowser" >
+     <property name="font" >
+      <font>
+       <family>Monospace</family>
+      </font>
+     </property>
+     <property name="autoFormatting" >
+      <set>QTextEdit::AutoNone</set>
+     </property>
+     <property name="tabChangesFocus" >
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>20</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="KPushButton" name="buttonClose" >
+       <property name="text" >
+        <string>&amp;Close</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+       <property name="autoDefault" >
+        <bool>true</bool>
+       </property>
+       <property name="default" >
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <tabstops>
-    <tabstop>buttonClose</tabstop>
-    <tabstop>textBrowser</tabstop>
-  </tabstops>
-  <includes>
-    <include location="local" >ktextbrowser.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>buttonClose</sender>
-      <signal>clicked()</signal>
-      <receiver>ProgramOutput</receiver>
-      <slot>close()</slot>
-    </connection>
-  </connections>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KTextBrowser</class>
+   <extends>QTextBrowser</extends>
+   <header>ktextbrowser.h</header>
+  </customwidget>
+ </customwidgets>
+ <tabstops>
+  <tabstop>buttonClose</tabstop>
+  <tabstop>textBrowser</tabstop>
+ </tabstops>
+ <includes>
+  <include location="local" >ktextbrowser.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>buttonClose</sender>
+   <signal>clicked()</signal>
+   <receiver>ProgramOutput</receiver>
+   <slot>close()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 0 - 6
ktigcc/projectoptions.ui

@@ -1561,9 +1561,6 @@
        <property name="default" >
         <bool>true</bool>
        </property>
-       <property name="stdItem" stdset="0" >
-        <number>1</number>
-       </property>
       </widget>
      </item>
      <item>
@@ -1577,9 +1574,6 @@
        <property name="autoDefault" >
         <bool>true</bool>
        </property>
-       <property name="stdItem" stdset="0" >
-        <number>2</number>
-       </property>
       </widget>
      </item>
     </layout>

+ 259 - 175
ktigcc/selectcolors.ui

@@ -1,177 +1,261 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>SelectColors</class>
-  <widget class="QDialog" name="SelectColors" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>215</width>
-        <height>173</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Select Colors</string>
-    </property>
-    <layout class="QVBoxLayout" >
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="K3ListBox" name="colorList" />
-          </item>
-          <item>
-            <layout class="QVBoxLayout" >
-              <property name="margin" >
-                <number>0</number>
-              </property>
-              <item>
-                <widget class="KPushButton" name="addButton" >
-                  <property name="text" >
-                    <string>&amp;Add...</string>
-                  </property>
-                  <property name="shortcut" >
-                    <string>Alt+A</string>
-                  </property>
-                </widget>
-              </item>
-              <item>
-                <widget class="KPushButton" name="removeButton" >
-                  <property name="enabled" >
-                    <bool>false</bool>
-                  </property>
-                  <property name="text" >
-                    <string>&amp;Remove</string>
-                  </property>
-                  <property name="shortcut" >
-                    <string>Alt+R</string>
-                  </property>
-                </widget>
-              </item>
-              <item>
-                <widget class="KPushButton" name="editButton" >
-                  <property name="enabled" >
-                    <bool>false</bool>
-                  </property>
-                  <property name="text" >
-                    <string>&amp;Edit...</string>
-                  </property>
-                  <property name="shortcut" >
-                    <string>Alt+E</string>
-                  </property>
-                </widget>
-              </item>
-            </layout>
-          </item>
-        </layout>
-      </item>
-      <item>
-        <spacer name="spacer18" >
-          <property name="sizeHint" >
-            <size>
-              <width>20</width>
-              <height>3</height>
-            </size>
-          </property>
-          <property name="sizeType" >
-            <enum>Expanding</enum>
-          </property>
-          <property name="orientation" >
-            <enum>Vertical</enum>
-          </property>
-        </spacer>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="okButton" >
-              <property name="text" >
-                <string>&amp;OK</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+O</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>1</number>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="cancelButton" >
-              <property name="text" >
-                <string>&amp;Cancel</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>2</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>SelectColors</class>
+ <widget class="QDialog" name="SelectColors" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>229</width>
+    <height>172</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Select Colors</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="K3ListBox" name="colorList" />
+     </item>
+     <item>
+      <layout class="QVBoxLayout" >
+       <property name="leftMargin" >
+        <number>0</number>
+       </property>
+       <property name="topMargin" >
+        <number>0</number>
+       </property>
+       <property name="rightMargin" >
+        <number>0</number>
+       </property>
+       <property name="bottomMargin" >
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="KPushButton" name="addButton" >
+         <property name="text" >
+          <string>&amp;Add...</string>
+         </property>
+         <property name="shortcut" >
+          <string>Alt+A</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="KPushButton" name="removeButton" >
+         <property name="enabled" >
+          <bool>false</bool>
+         </property>
+         <property name="text" >
+          <string>&amp;Remove</string>
+         </property>
+         <property name="shortcut" >
+          <string>Alt+R</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="KPushButton" name="editButton" >
+         <property name="enabled" >
+          <bool>false</bool>
+         </property>
+         <property name="text" >
+          <string>&amp;Edit...</string>
+         </property>
+         <property name="shortcut" >
+          <string>Alt+E</string>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <customwidgets>
-    <customwidget>
-      <class>K3ListBox</class>
-      <extends>Q3ListBox</extends>
-      <header>k3listbox.h</header>
-    </customwidget>
-  </customwidgets>
-  <includes>
-    <include location="local" >k3listbox.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>okButton</sender>
-      <signal>clicked()</signal>
-      <receiver>SelectColors</receiver>
-      <slot>accept()</slot>
-    </connection>
-    <connection>
-      <sender>cancelButton</sender>
-      <signal>clicked()</signal>
-      <receiver>SelectColors</receiver>
-      <slot>reject()</slot>
-    </connection>
-    <connection>
-      <sender>colorList</sender>
-      <signal>selectionChanged()</signal>
-      <receiver>SelectColors</receiver>
-      <slot>colorList_selectionChanged()</slot>
-    </connection>
-    <connection>
-      <sender>addButton</sender>
-      <signal>clicked()</signal>
-      <receiver>SelectColors</receiver>
-      <slot>addButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>removeButton</sender>
-      <signal>clicked()</signal>
-      <receiver>SelectColors</receiver>
-      <slot>removeButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>editButton</sender>
-      <signal>clicked()</signal>
-      <receiver>SelectColors</receiver>
-      <slot>editButton_clicked()</slot>
-    </connection>
-  </connections>
+   </item>
+   <item>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>20</width>
+       <height>3</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="okButton" >
+       <property name="text" >
+        <string>&amp;OK</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+O</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="cancelButton" >
+       <property name="text" >
+        <string>&amp;Cancel</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+  <customwidget>
+   <class>K3ListBox</class>
+   <extends>Q3ListBox</extends>
+   <header>k3listbox.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="local" >k3listbox.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>okButton</sender>
+   <signal>clicked()</signal>
+   <receiver>SelectColors</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>cancelButton</sender>
+   <signal>clicked()</signal>
+   <receiver>SelectColors</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>colorList</sender>
+   <signal>selectionChanged()</signal>
+   <receiver>SelectColors</receiver>
+   <slot>colorList_selectionChanged()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>addButton</sender>
+   <signal>clicked()</signal>
+   <receiver>SelectColors</receiver>
+   <slot>addButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>removeButton</sender>
+   <signal>clicked()</signal>
+   <receiver>SelectColors</receiver>
+   <slot>removeButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>editButton</sender>
+   <signal>clicked()</signal>
+   <receiver>SelectColors</receiver>
+   <slot>editButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 249 - 193
ktigcc/selectstyle.ui

@@ -1,196 +1,252 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>SelectStyle</class>
-  <widget class="QDialog" name="SelectStyle" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>200</width>
-        <height>143</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Select Style</string>
-    </property>
-    <layout class="QVBoxLayout" >
-      <item>
-        <widget class="QCheckBox" name="customStyle" >
-          <property name="text" >
-            <string>Custom &amp;Style</string>
-          </property>
-          <property name="shortcut" >
-            <string>Alt+S</string>
-          </property>
+<ui version="4.0" >
+ <class>SelectStyle</class>
+ <widget class="QDialog" name="SelectStyle" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>196</width>
+    <height>154</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Select Style</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <widget class="QCheckBox" name="customStyle" >
+     <property name="text" >
+      <string>Custom &amp;Style</string>
+     </property>
+     <property name="shortcut" >
+      <string>Alt+S</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>33</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <layout class="QGridLayout" >
+       <property name="leftMargin" >
+        <number>0</number>
+       </property>
+       <property name="topMargin" >
+        <number>0</number>
+       </property>
+       <property name="rightMargin" >
+        <number>0</number>
+       </property>
+       <property name="bottomMargin" >
+        <number>0</number>
+       </property>
+       <item row="0" column="1" >
+        <widget class="QCheckBox" name="underlineChk" >
+         <property name="enabled" >
+          <bool>false</bool>
+         </property>
+         <property name="text" >
+          <string>&amp;Underline</string>
+         </property>
+         <property name="shortcut" >
+          <string>Alt+U</string>
+         </property>
         </widget>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <spacer name="spacer42" >
-              <property name="sizeHint" >
-                <size>
-                  <width>33</width>
-                  <height>20</height>
-                </size>
-              </property>
-              <property name="sizeType" >
-                <enum>Expanding</enum>
-              </property>
-              <property name="orientation" >
-                <enum>Horizontal</enum>
-              </property>
-            </spacer>
-          </item>
-          <item>
-            <layout class="QGridLayout" >
-              <property name="margin" >
-                <number>0</number>
-              </property>
-              <item row="0" column="1" >
-                <widget class="QCheckBox" name="underlineChk" >
-                  <property name="enabled" >
-                    <bool>false</bool>
-                  </property>
-                  <property name="text" >
-                    <string>&amp;Underline</string>
-                  </property>
-                  <property name="shortcut" >
-                    <string>Alt+U</string>
-                  </property>
-                </widget>
-              </item>
-              <item row="0" column="0" >
-                <widget class="QCheckBox" name="boldChk" >
-                  <property name="enabled" >
-                    <bool>false</bool>
-                  </property>
-                  <property name="text" >
-                    <string>&amp;Bold</string>
-                  </property>
-                  <property name="shortcut" >
-                    <string>Alt+B</string>
-                  </property>
-                </widget>
-              </item>
-              <item row="1" column="0" >
-                <widget class="QCheckBox" name="italicChk" >
-                  <property name="enabled" >
-                    <bool>false</bool>
-                  </property>
-                  <property name="text" >
-                    <string>&amp;Italic</string>
-                  </property>
-                  <property name="shortcut" >
-                    <string>Alt+I</string>
-                  </property>
-                </widget>
-              </item>
-              <item row="1" column="1" >
-                <widget class="QCheckBox" name="strikeoutChk" >
-                  <property name="enabled" >
-                    <bool>false</bool>
-                  </property>
-                  <property name="text" >
-                    <string>S&amp;trike Out</string>
-                  </property>
-                  <property name="shortcut" >
-                    <string>Alt+T</string>
-                  </property>
-                </widget>
-              </item>
-            </layout>
-          </item>
-        </layout>
-      </item>
-      <item>
-        <spacer name="spacer18" >
-          <property name="sizeHint" >
-            <size>
-              <width>20</width>
-              <height>3</height>
-            </size>
-          </property>
-          <property name="sizeType" >
-            <enum>Expanding</enum>
-          </property>
-          <property name="orientation" >
-            <enum>Vertical</enum>
-          </property>
-        </spacer>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="okButton" >
-              <property name="text" >
-                <string>&amp;OK</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+O</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>1</number>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="cancelButton" >
-              <property name="text" >
-                <string>&amp;Cancel</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>2</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+       </item>
+       <item row="0" column="0" >
+        <widget class="QCheckBox" name="boldChk" >
+         <property name="enabled" >
+          <bool>false</bool>
+         </property>
+         <property name="text" >
+          <string>&amp;Bold</string>
+         </property>
+         <property name="shortcut" >
+          <string>Alt+B</string>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="0" >
+        <widget class="QCheckBox" name="italicChk" >
+         <property name="enabled" >
+          <bool>false</bool>
+         </property>
+         <property name="text" >
+          <string>&amp;Italic</string>
+         </property>
+         <property name="shortcut" >
+          <string>Alt+I</string>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="1" >
+        <widget class="QCheckBox" name="strikeoutChk" >
+         <property name="enabled" >
+          <bool>false</bool>
+         </property>
+         <property name="text" >
+          <string>S&amp;trike Out</string>
+         </property>
+         <property name="shortcut" >
+          <string>Alt+T</string>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>20</width>
+       <height>3</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="okButton" >
+       <property name="text" >
+        <string>&amp;OK</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+O</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="cancelButton" >
+       <property name="text" >
+        <string>&amp;Cancel</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+      </widget>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <tabstops>
-    <tabstop>customStyle</tabstop>
-    <tabstop>boldChk</tabstop>
-    <tabstop>underlineChk</tabstop>
-    <tabstop>italicChk</tabstop>
-    <tabstop>strikeoutChk</tabstop>
-    <tabstop>okButton</tabstop>
-    <tabstop>cancelButton</tabstop>
-  </tabstops>
-  <includes>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>okButton</sender>
-      <signal>clicked()</signal>
-      <receiver>SelectStyle</receiver>
-      <slot>accept()</slot>
-    </connection>
-    <connection>
-      <sender>cancelButton</sender>
-      <signal>clicked()</signal>
-      <receiver>SelectStyle</receiver>
-      <slot>reject()</slot>
-    </connection>
-    <connection>
-      <sender>customStyle</sender>
-      <signal>toggled(bool)</signal>
-      <receiver>SelectStyle</receiver>
-      <slot>customStyle_toggled(bool)</slot>
-    </connection>
-  </connections>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+ </customwidgets>
+ <tabstops>
+  <tabstop>customStyle</tabstop>
+  <tabstop>boldChk</tabstop>
+  <tabstop>underlineChk</tabstop>
+  <tabstop>italicChk</tabstop>
+  <tabstop>strikeoutChk</tabstop>
+  <tabstop>okButton</tabstop>
+  <tabstop>cancelButton</tabstop>
+ </tabstops>
+ <includes>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>okButton</sender>
+   <signal>clicked()</signal>
+   <receiver>SelectStyle</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>cancelButton</sender>
+   <signal>clicked()</signal>
+   <receiver>SelectStyle</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>customStyle</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>SelectStyle</receiver>
+   <slot>customStyle_toggled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 10 - 29
ktigcc/toolprops.cpp

@@ -30,8 +30,12 @@
 #include <kshell.h>
 #include "ktigcc.h"
 
-void ToolProperties::init()
+ToolProperties::ToolProperties(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
+    : QDialog(parent, name, modal, fl)
 {
+  setupUi(this);
+  workingDirectory->setMode(KFile::LocalOnly|KFile::ExistingOnly|KFile::Directory);
+
   if (toolIndex>=0) {
     Tool &tool=tempTools[toolIndex];
     toolTitle->setText(tool.title);
@@ -42,6 +46,10 @@ void ToolProperties::init()
   }
 }
 
+ToolProperties::~ToolProperties()
+{
+}
+
 void ToolProperties::accept()
 {
   Tool tool(toolTitle->text(),commandLine->text(),
@@ -72,35 +80,8 @@ void ToolProperties::browseButton_clicked()
     commandLine->setText(KShell::quoteArg(ret));
 }
 
-/*
- *  Constructs a ToolProperties as a child of 'parent', with the
- *  name 'name' and widget flags set to 'f'.
- *
- *  The dialog will by default be modeless, unless you set 'modal' to
- *  true to construct a modal dialog.
- */
-ToolProperties::ToolProperties(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
-    : QDialog(parent, name, modal, fl)
-{
-    setupUi(this);
-
-    init();
-}
-
-/*
- *  Destroys the object and frees any allocated resources
- */
-ToolProperties::~ToolProperties()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-/*
- *  Sets the strings of the subwidgets using the current
- *  language.
- */
 void ToolProperties::languageChange()
 {
-    retranslateUi(this);
+  retranslateUi(this);
 }
 

+ 0 - 1
ktigcc/toolprops.h

@@ -31,7 +31,6 @@ public:
     ~ToolProperties();
 
 public slots:
-    virtual void init();
     virtual void accept();
     virtual void validate();
     virtual void browseButton_clicked();

+ 316 - 233
ktigcc/toolprops.ui

@@ -1,235 +1,318 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>ToolProperties</class>
-  <widget class="QDialog" name="ToolProperties" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>600</width>
-        <height>184</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Tool Properties</string>
-    </property>
-    <layout class="QVBoxLayout" >
-      <item>
-        <layout class="QGridLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item row="1" column="0" >
-            <widget class="QLabel" name="commandLineLabel" >
-              <property name="text" >
-                <string>Command &amp;Line:</string>
-              </property>
-              <property name="alignment" >
-                <set>Qt::AlignVCenter|Qt::AlignRight</set>
-              </property>
-              <property name="buddy" stdset="0" >
-                <cstring>commandLine</cstring>
-              </property>
-              <property name="wordWrap" >
-                <bool>false</bool>
-              </property>
-            </widget>
-          </item>
-          <item rowspan="2" row="2" column="0" colspan="1" >
-            <widget class="QLabel" name="workingDirectoryLabel" >
-              <property name="text" >
-                <string>&amp;Working Directory:</string>
-              </property>
-              <property name="alignment" >
-                <set>Qt::AlignVCenter|Qt::AlignRight</set>
-              </property>
-              <property name="buddy" stdset="0" >
-                <cstring>workingDirectory</cstring>
-              </property>
-              <property name="wordWrap" >
-                <bool>false</bool>
-              </property>
-            </widget>
-          </item>
-          <item rowspan="1" row="3" column="1" colspan="2" >
-            <widget class="KUrlRequester" name="workingDirectory" >
-              <property name="mode" >
-                <set>KFile::LocalOnly|KFile::ExistingOnly|KFile::Directory</set>
-              </property>
-            </widget>
-          </item>
-          <item rowspan="2" row="1" column="1" colspan="1" >
-            <widget class="KLineEdit" name="commandLine" />
-          </item>
-          <item rowspan="1" row="4" column="0" colspan="3" >
-            <widget class="QCheckBox" name="runInTerminal" >
-              <property name="text" >
-                <string>&amp;Run in Terminal</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+R</string>
-              </property>
-            </widget>
-          </item>
-          <item rowspan="1" row="0" column="1" colspan="2" >
-            <widget class="KLineEdit" name="toolTitle" />
-          </item>
-          <item rowspan="2" row="1" column="2" colspan="1" >
-            <widget class="KPushButton" name="browseButton" >
-              <property name="text" >
-                <string>&amp;Browse...</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+B</string>
-              </property>
-            </widget>
-          </item>
-          <item row="0" column="0" >
-            <widget class="QLabel" name="toolTitleLabel" >
-              <property name="text" >
-                <string>&amp;Title:</string>
-              </property>
-              <property name="alignment" >
-                <set>Qt::AlignVCenter|Qt::AlignRight</set>
-              </property>
-              <property name="buddy" stdset="0" >
-                <cstring>toolTitle</cstring>
-              </property>
-              <property name="wordWrap" >
-                <bool>false</bool>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
-      <item>
-        <spacer name="spacer18" >
-          <property name="sizeHint" >
-            <size>
-              <width>20</width>
-              <height>21</height>
-            </size>
-          </property>
-          <property name="sizeType" >
-            <enum>Expanding</enum>
-          </property>
-          <property name="orientation" >
-            <enum>Vertical</enum>
-          </property>
-        </spacer>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <spacer name="spacer2" >
-              <property name="sizeHint" >
-                <size>
-                  <width>321</width>
-                  <height>20</height>
-                </size>
-              </property>
-              <property name="sizeType" >
-                <enum>Expanding</enum>
-              </property>
-              <property name="orientation" >
-                <enum>Horizontal</enum>
-              </property>
-            </spacer>
-          </item>
-          <item>
-            <widget class="KPushButton" name="okButton" >
-              <property name="enabled" >
-                <bool>false</bool>
-              </property>
-              <property name="text" >
-                <string>&amp;OK</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+O</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>1</number>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="cancelButton" >
-              <property name="text" >
-                <string>&amp;Cancel</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>2</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>ToolProperties</class>
+ <widget class="QDialog" name="ToolProperties" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>600</width>
+    <height>184</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Tool Properties</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <layout class="QGridLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item row="1" column="0" >
+      <widget class="QLabel" name="commandLineLabel" >
+       <property name="text" >
+        <string>Command &amp;Line:</string>
+       </property>
+       <property name="alignment" >
+        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+       <property name="buddy" >
+        <cstring>commandLine</cstring>
+       </property>
+      </widget>
+     </item>
+     <item rowspan="2" row="2" column="0" >
+      <widget class="QLabel" name="workingDirectoryLabel" >
+       <property name="text" >
+        <string>&amp;Working Directory:</string>
+       </property>
+       <property name="alignment" >
+        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+       <property name="buddy" >
+        <cstring>workingDirectory</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="3" column="1" colspan="2" >
+      <widget class="KUrlRequester" name="workingDirectory" />
+     </item>
+     <item rowspan="2" row="1" column="1" >
+      <widget class="KLineEdit" name="commandLine" />
+     </item>
+     <item row="4" column="0" colspan="3" >
+      <widget class="QCheckBox" name="runInTerminal" >
+       <property name="text" >
+        <string>&amp;Run in Terminal</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+R</string>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1" colspan="2" >
+      <widget class="KLineEdit" name="toolTitle" />
+     </item>
+     <item rowspan="2" row="1" column="2" >
+      <widget class="KPushButton" name="browseButton" >
+       <property name="text" >
+        <string>&amp;Browse...</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+B</string>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="0" >
+      <widget class="QLabel" name="toolTitleLabel" >
+       <property name="text" >
+        <string>&amp;Title:</string>
+       </property>
+       <property name="alignment" >
+        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+       <property name="buddy" >
+        <cstring>toolTitle</cstring>
+       </property>
+      </widget>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <tabstops>
-    <tabstop>toolTitle</tabstop>
-    <tabstop>commandLine</tabstop>
-    <tabstop>workingDirectory</tabstop>
-    <tabstop>runInTerminal</tabstop>
-    <tabstop>browseButton</tabstop>
-    <tabstop>okButton</tabstop>
-    <tabstop>cancelButton</tabstop>
-  </tabstops>
-  <includes>
-    <include location="local" >kurlrequester.h</include>
-    <include location="local" >klineedit.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >klineedit.h</include>
-    <include location="local" >klineedit.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>okButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolProperties</receiver>
-      <slot>accept()</slot>
-    </connection>
-    <connection>
-      <sender>cancelButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolProperties</receiver>
-      <slot>reject()</slot>
-    </connection>
-    <connection>
-      <sender>toolTitle</sender>
-      <signal>textChanged(QString)</signal>
-      <receiver>ToolProperties</receiver>
-      <slot>validate()</slot>
-    </connection>
-    <connection>
-      <sender>commandLine</sender>
-      <signal>textChanged(QString)</signal>
-      <receiver>ToolProperties</receiver>
-      <slot>validate()</slot>
-    </connection>
-    <connection>
-      <sender>workingDirectory</sender>
-      <signal>textChanged(QString)</signal>
-      <receiver>ToolProperties</receiver>
-      <slot>validate()</slot>
-    </connection>
-    <connection>
-      <sender>browseButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolProperties</receiver>
-      <slot>browseButton_clicked()</slot>
-    </connection>
-  </connections>
+   </item>
+   <item>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>20</width>
+       <height>21</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>321</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="KPushButton" name="okButton" >
+       <property name="enabled" >
+        <bool>false</bool>
+       </property>
+       <property name="text" >
+        <string>&amp;OK</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+O</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="cancelButton" >
+       <property name="text" >
+        <string>&amp;Cancel</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>klineedit.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KUrlRequester</class>
+   <extends>QFrame</extends>
+   <header>kurlrequester.h</header>
+  </customwidget>
+ </customwidgets>
+ <tabstops>
+  <tabstop>toolTitle</tabstop>
+  <tabstop>commandLine</tabstop>
+  <tabstop>workingDirectory</tabstop>
+  <tabstop>runInTerminal</tabstop>
+  <tabstop>browseButton</tabstop>
+  <tabstop>okButton</tabstop>
+  <tabstop>cancelButton</tabstop>
+ </tabstops>
+ <includes>
+  <include location="local" >kurlrequester.h</include>
+  <include location="local" >klineedit.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >klineedit.h</include>
+  <include location="local" >klineedit.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>okButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolProperties</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>cancelButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolProperties</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>toolTitle</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>ToolProperties</receiver>
+   <slot>validate()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>commandLine</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>ToolProperties</receiver>
+   <slot>validate()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>workingDirectory</sender>
+   <signal>textChanged(QString)</signal>
+   <receiver>ToolProperties</receiver>
+   <slot>validate()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>browseButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolProperties</receiver>
+   <slot>browseButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 254 - 212
ktigcc/toolsdlg.ui

@@ -1,214 +1,256 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>ToolsDialog</class>
-  <widget class="QDialog" name="ToolsDialog" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>598</width>
-        <height>266</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Configure Tools</string>
-    </property>
-    <layout class="QHBoxLayout" >
-      <item>
-        <widget class="K3ListView" name="listView" >
-          <property name="allColumnsShowFocus" >
-            <bool>true</bool>
-          </property>
-          <property name="itemsMovable" >
-            <bool>false</bool>
-          </property>
-          <column>
-            <property name="text" >
-              <string>Title</string>
-            </property>
-            <property name="clickable" >
-              <bool>false</bool>
-            </property>
-            <property name="resizable" >
-              <bool>true</bool>
-            </property>
-          </column>
-          <column>
-            <property name="text" >
-              <string>Command Line</string>
-            </property>
-            <property name="clickable" >
-              <bool>false</bool>
-            </property>
-            <property name="resizable" >
-              <bool>true</bool>
-            </property>
-          </column>
-          <column>
-            <property name="text" >
-              <string>Working Directory</string>
-            </property>
-            <property name="clickable" >
-              <bool>false</bool>
-            </property>
-            <property name="resizable" >
-              <bool>true</bool>
-            </property>
-          </column>
-          <column>
-            <property name="text" >
-              <string>Terminal</string>
-            </property>
-            <property name="clickable" >
-              <bool>false</bool>
-            </property>
-            <property name="resizable" >
-              <bool>true</bool>
-            </property>
-          </column>
-        </widget>
-      </item>
-      <item>
-        <layout class="QVBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="addButton" >
-              <property name="text" >
-                <string>&amp;Add...</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+A</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="editButton" >
-              <property name="enabled" >
-                <bool>false</bool>
-              </property>
-              <property name="text" >
-                <string>&amp;Edit...</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+E</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="removeButton" >
-              <property name="enabled" >
-                <bool>false</bool>
-              </property>
-              <property name="text" >
-                <string>&amp;Remove</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+R</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <spacer name="spacer1" >
-              <property name="sizeHint" >
-                <size>
-                  <width>20</width>
-                  <height>211</height>
-                </size>
-              </property>
-              <property name="sizeType" >
-                <enum>Expanding</enum>
-              </property>
-              <property name="orientation" >
-                <enum>Vertical</enum>
-              </property>
-            </spacer>
-          </item>
-          <item>
-            <widget class="KPushButton" name="okButton" >
-              <property name="text" >
-                <string>&amp;OK</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+O</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>1</number>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="cancelButton" >
-              <property name="text" >
-                <string>&amp;Cancel</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>2</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>ToolsDialog</class>
+ <widget class="QDialog" name="ToolsDialog" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>598</width>
+    <height>266</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Configure Tools</string>
+  </property>
+  <layout class="QHBoxLayout" >
+   <item>
+    <widget class="K3ListView" name="listView" >
+     <property name="allColumnsShowFocus" >
+      <bool>true</bool>
+     </property>
+     <property name="itemsMovable" >
+      <bool>false</bool>
+     </property>
+     <column>
+      <property name="text" >
+       <string>Title</string>
+      </property>
+     </column>
+     <column>
+      <property name="text" >
+       <string>Command Line</string>
+      </property>
+     </column>
+     <column>
+      <property name="text" >
+       <string>Working Directory</string>
+      </property>
+     </column>
+     <column>
+      <property name="text" >
+       <string>Terminal</string>
+      </property>
+     </column>
+    </widget>
+   </item>
+   <item>
+    <layout class="QVBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="addButton" >
+       <property name="text" >
+        <string>&amp;Add...</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+A</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="editButton" >
+       <property name="enabled" >
+        <bool>false</bool>
+       </property>
+       <property name="text" >
+        <string>&amp;Edit...</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+E</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="removeButton" >
+       <property name="enabled" >
+        <bool>false</bool>
+       </property>
+       <property name="text" >
+        <string>&amp;Remove</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+R</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>20</width>
+         <height>211</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="KPushButton" name="okButton" >
+       <property name="text" >
+        <string>&amp;OK</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+O</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="cancelButton" >
+       <property name="text" >
+        <string>&amp;Cancel</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+      </widget>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <customwidgets>
-    <customwidget>
-      <class>K3ListView</class>
-      <extends>Q3ListView</extends>
-      <header>k3listview.h</header>
-    </customwidget>
-  </customwidgets>
-  <includes>
-    <include location="local" >k3listview.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>okButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolsDialog</receiver>
-      <slot>accept()</slot>
-    </connection>
-    <connection>
-      <sender>cancelButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolsDialog</receiver>
-      <slot>reject()</slot>
-    </connection>
-    <connection>
-      <sender>addButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolsDialog</receiver>
-      <slot>addButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>editButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolsDialog</receiver>
-      <slot>editButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>removeButton</sender>
-      <signal>clicked()</signal>
-      <receiver>ToolsDialog</receiver>
-      <slot>removeButton_clicked()</slot>
-    </connection>
-    <connection>
-      <sender>listView</sender>
-      <signal>selectionChanged()</signal>
-      <receiver>ToolsDialog</receiver>
-      <slot>listView_selectionChanged()</slot>
-    </connection>
-  </connections>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>K3ListView</class>
+   <extends>Q3ListView</extends>
+   <header>k3listview.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="local" >k3listview.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>okButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolsDialog</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>cancelButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolsDialog</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>addButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolsDialog</receiver>
+   <slot>addButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>editButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolsDialog</receiver>
+   <slot>editButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>removeButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ToolsDialog</receiver>
+   <slot>removeButton_clicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>listView</sender>
+   <signal>selectionChanged()</signal>
+   <receiver>ToolsDialog</receiver>
+   <slot>listView_selectionChanged()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

+ 212 - 168
ktigcc/wordlist.ui

@@ -1,170 +1,214 @@
-<ui version="4.0" stdsetdef="1" >
-  <author></author>
-  <comment></comment>
-  <exportmacro></exportmacro>
-  <class>WordList</class>
-  <widget class="QDialog" name="WordList" >
-    <property name="geometry" >
-      <rect>
-        <x>0</x>
-        <y>0</y>
-        <width>213</width>
-        <height>346</height>
-      </rect>
-    </property>
-    <property name="windowTitle" >
-      <string>Edit Word List</string>
-    </property>
-    <layout class="QVBoxLayout" >
-      <item>
-        <widget class="KEditListBox" name="wordList" >
-          <property name="title" >
-            <string/>
-          </property>
-          <property name="buttons" >
-            <set>KEditListBox::Remove|KEditListBox::Add</set>
-          </property>
-        </widget>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <spacer name="spacer48" >
-              <property name="sizeHint" >
-                <size>
-                  <width>41</width>
-                  <height>20</height>
-                </size>
-              </property>
-              <property name="sizeType" >
-                <enum>Expanding</enum>
-              </property>
-              <property name="orientation" >
-                <enum>Horizontal</enum>
-              </property>
-            </spacer>
-          </item>
-          <item>
-            <widget class="QCheckBox" name="caseSensitive" >
-              <property name="text" >
-                <string>C&amp;ase Sensitive</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+A</string>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="colorButton" >
-              <property name="text" >
-                <string>Co&amp;lor...</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+L</string>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="styleButton" >
-              <property name="text" >
-                <string>&amp;Style...</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+S</string>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
-      <item>
-        <spacer name="spacer18" >
-          <property name="sizeHint" >
-            <size>
-              <width>20</width>
-              <height>3</height>
-            </size>
-          </property>
-          <property name="sizeType" >
-            <enum>Preferred</enum>
-          </property>
-          <property name="orientation" >
-            <enum>Vertical</enum>
-          </property>
-        </spacer>
-      </item>
-      <item>
-        <layout class="QHBoxLayout" >
-          <property name="margin" >
-            <number>0</number>
-          </property>
-          <item>
-            <widget class="KPushButton" name="okButton" >
-              <property name="text" >
-                <string>&amp;OK</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+O</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>1</number>
-              </property>
-            </widget>
-          </item>
-          <item>
-            <widget class="KPushButton" name="cancelButton" >
-              <property name="text" >
-                <string>&amp;Cancel</string>
-              </property>
-              <property name="shortcut" >
-                <string>Alt+C</string>
-              </property>
-              <property name="stdItem" stdset="0" >
-                <number>2</number>
-              </property>
-            </widget>
-          </item>
-        </layout>
-      </item>
+<ui version="4.0" >
+ <class>WordList</class>
+ <widget class="QDialog" name="WordList" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>397</width>
+    <height>392</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Edit Word List</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <widget class="KEditListBox" name="wordList" >
+     <property name="title" >
+      <string/>
+     </property>
+     <property name="buttons" >
+      <set>KEditListBox::Add|KEditListBox::Remove</set>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>41</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QCheckBox" name="caseSensitive" >
+       <property name="text" >
+        <string>C&amp;ase Sensitive</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+A</string>
+       </property>
+      </widget>
+     </item>
     </layout>
-  </widget>
-  <layoutdefault spacing="6" margin="11" />
-  <customwidgets>
-    <customwidget>
-      <class>KEditListBox</class>
-      <extends>Q3ListBox</extends>
-      <header>keditlistbox.h</header>
-    </customwidget>
-  </customwidgets>
-  <includes>
-    <include location="local" >keditlistbox.h</include>
-    <include location="local" >klineedit.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-    <include location="local" >kpushbutton.h</include>
-  </includes>
-  <connections>
-    <connection>
-      <sender>okButton</sender>
-      <signal>clicked()</signal>
-      <receiver>WordList</receiver>
-      <slot>accept()</slot>
-    </connection>
-    <connection>
-      <sender>cancelButton</sender>
-      <signal>clicked()</signal>
-      <receiver>WordList</receiver>
-      <slot>reject()</slot>
-    </connection>
-  </connections>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="colorButton" >
+       <property name="text" >
+        <string>Co&amp;lor...</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+L</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="styleButton" >
+       <property name="text" >
+        <string>&amp;Style...</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+S</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>20</width>
+       <height>3</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="leftMargin" >
+      <number>0</number>
+     </property>
+     <property name="topMargin" >
+      <number>0</number>
+     </property>
+     <property name="rightMargin" >
+      <number>0</number>
+     </property>
+     <property name="bottomMargin" >
+      <number>0</number>
+     </property>
+     <item>
+      <widget class="KPushButton" name="okButton" >
+       <property name="text" >
+        <string>&amp;OK</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+O</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="KPushButton" name="cancelButton" >
+       <property name="text" >
+        <string>&amp;Cancel</string>
+       </property>
+       <property name="shortcut" >
+        <string>Alt+C</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>KEditListBox</class>
+   <extends>QGroupBox</extends>
+   <header>keditlistbox.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KPushButton</class>
+   <extends>QPushButton</extends>
+   <header>kpushbutton.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="local" >keditlistbox.h</include>
+  <include location="local" >klineedit.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+  <include location="local" >kpushbutton.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>okButton</sender>
+   <signal>clicked()</signal>
+   <receiver>WordList</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>cancelButton</sender>
+   <signal>clicked()</signal>
+   <receiver>WordList</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>