--- a/Preferences/ToolConfigurationDialog.ui Tue Jan 07 18:08:40 2014 +0100 +++ b/Preferences/ToolConfigurationDialog.ui Wed Jan 08 19:07:23 2014 +0100 @@ -1,7 +1,8 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>ToolConfigurationDialog</class> - <widget class="QDialog" name="ToolConfigurationDialog" > - <property name="geometry" > + <widget class="QDialog" name="ToolConfigurationDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,180 +10,166 @@ <height>487</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Configure Tools Menu</string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout"> <item> - <layout class="QGridLayout" > - <item row="7" column="3" > - <widget class="QPushButton" name="separatorButton" > - <property name="toolTip" > + <layout class="QGridLayout"> + <item row="7" column="3"> + <widget class="QPushButton" name="separatorButton"> + <property name="toolTip"> <string>Add a separator</string> </property> - <property name="whatsThis" > - <string><b>Add separator</b><p>Add a separator for the menu.</p></string> + <property name="whatsThis"> + <string><b>Add separator</b><p>Add a separator for the menu.</p></string> </property> - <property name="text" > + <property name="text"> <string>Add &Separator</string> </property> </widget> </item> - <item row="1" column="3" > - <widget class="QPushButton" name="addButton" > - <property name="toolTip" > + <item row="1" column="3"> + <widget class="QPushButton" name="addButton"> + <property name="toolTip"> <string>Add a new tools entry</string> </property> - <property name="whatsThis" > - <string><b>Add</b> -<p>Add a new tools entry with the values entered below.</p></string> + <property name="whatsThis"> + <string><b>Add</b> +<p>Add a new tools entry with the values entered below.</p></string> </property> - <property name="text" > + <property name="text"> <string>&Add</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+A</string> </property> </widget> </item> - <item rowspan="9" row="0" column="0" colspan="3" > - <widget class="QListWidget" name="toolsList" /> + <item row="0" column="0" rowspan="9" colspan="3"> + <widget class="QListWidget" name="toolsList"/> </item> - <item row="13" column="1" colspan="2" > - <widget class="QComboBox" name="redirectCombo" > - <property name="toolTip" > + <item row="13" column="1" colspan="2"> + <widget class="QComboBox" name="redirectCombo"> + <property name="toolTip"> <string>Select the output redirection mode</string> </property> - <property name="whatsThis" > - <string><b>Redirect output<b><p>Select the output redirection mode. The standard error channel is either not redirected or shown in the log viewer.</p></string> + <property name="whatsThis"> + <string><b>Redirect output<b><p>Select the output redirection mode. The standard error channel is either not redirected or shown in the log viewer.</p></string> </property> </widget> </item> - <item row="12" column="1" > - <widget class="QLineEdit" name="argumentsEdit" > - <property name="toolTip" > + <item row="12" column="1"> + <widget class="QLineEdit" name="argumentsEdit"> + <property name="toolTip"> <string>Enter the arguments for the executable</string> </property> - <property name="whatsThis" > - <string><b>Arguments</b> -<p>Enter the arguments for the executable.</p></string> + <property name="whatsThis"> + <string><b>Arguments</b> +<p>Enter the arguments for the executable.</p></string> </property> </widget> </item> - <item row="4" column="3" > - <widget class="QPushButton" name="upButton" > - <property name="enabled" > + <item row="4" column="3"> + <widget class="QPushButton" name="upButton"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Move up</string> </property> - <property name="whatsThis" > - <string><b>Move Up</b> -<p>Move the selected entry up.</p></string> + <property name="whatsThis"> + <string><b>Move Up</b> +<p>Move the selected entry up.</p></string> </property> - <property name="text" > + <property name="text"> <string>&Up</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+U</string> </property> </widget> </item> - <item row="3" column="3" > - <widget class="QPushButton" name="deleteButton" > - <property name="enabled" > + <item row="3" column="3"> + <widget class="QPushButton" name="deleteButton"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Delete the selected entry</string> </property> - <property name="whatsThis" > - <string><b>Delete</b> -<p>Delete the selected entry.</p></string> + <property name="whatsThis"> + <string><b>Delete</b> +<p>Delete the selected entry.</p></string> </property> - <property name="text" > + <property name="text"> <string>&Delete</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+D</string> </property> </widget> </item> - <item row="0" column="3" > - <widget class="QPushButton" name="newButton" > - <property name="toolTip" > + <item row="0" column="3"> + <widget class="QPushButton" name="newButton"> + <property name="toolTip"> <string>Clear all entry fields</string> </property> - <property name="whatsThis" > - <string><b>New</b> -<p>Clear all entry fields for entering a new tools entry.</p></string> + <property name="whatsThis"> + <string><b>New</b> +<p>Clear all entry fields for entering a new tools entry.</p></string> </property> - <property name="text" > + <property name="text"> <string>&New</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+N</string> </property> </widget> </item> - <item row="10" column="2" > - <widget class="QPushButton" name="iconButton" > - <property name="toolTip" > - <string>Select the icon via a file selection dialog</string> + <item row="11" column="1"> + <widget class="QLineEdit" name="executableEdit"> + <property name="toolTip"> + <string>Enter the filename of the executable</string> </property> - <property name="whatsThis" > - <string><b>Icon</b> -<p>Select the icon via a file selection dialog.</p></string> - </property> - <property name="text" > - <string>...</string> + <property name="whatsThis"> + <string><b>Executable</b> +<p>Enter the filename of the executable.</p></string> </property> </widget> </item> - <item row="11" column="1" > - <widget class="QLineEdit" name="executableEdit" > - <property name="toolTip" > - <string>Enter the filename of the executable</string> - </property> - <property name="whatsThis" > - <string><b>Executable</b> -<p>Enter the filename of the executable.</p></string> - </property> - </widget> - </item> - <item row="5" column="3" > - <widget class="QPushButton" name="downButton" > - <property name="enabled" > + <item row="5" column="3"> + <widget class="QPushButton" name="downButton"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Move down</string> </property> - <property name="whatsThis" > - <string><b>Move Down</b> -<p>Move the selected entry down.</p></string> + <property name="whatsThis"> + <string><b>Move Down</b> +<p>Move the selected entry down.</p></string> </property> - <property name="text" > + <property name="text"> <string>Do&wn</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+W</string> </property> </widget> </item> - <item row="8" column="3" > + <item row="8" column="3"> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeType" > + <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>105</width> <height>22</height> @@ -190,134 +177,142 @@ </property> </spacer> </item> - <item row="9" column="1" > - <widget class="QLineEdit" name="menuEdit" > - <property name="toolTip" > + <item row="9" column="1"> + <widget class="QLineEdit" name="menuEdit"> + <property name="toolTip"> <string>Enter the menu text</string> </property> - <property name="whatsThis" > - <string><b>Menu text</b> -<p>Enter the menu text. Precede the accelerator key with an & character.</p></string> + <property name="whatsThis"> + <string><b>Menu text</b> +<p>Enter the menu text. Precede the accelerator key with an & character.</p></string> </property> </widget> </item> - <item row="2" column="3" > - <widget class="QPushButton" name="changeButton" > - <property name="enabled" > + <item row="2" column="3"> + <widget class="QPushButton" name="changeButton"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Change the values of the selected entry</string> </property> - <property name="whatsThis" > - <string><b>Change</b> -<p>Change the values of the selected entry.</p></string> + <property name="whatsThis"> + <string><b>Change</b> +<p>Change the values of the selected entry.</p></string> </property> - <property name="text" > + <property name="text"> <string>C&hange</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+H</string> </property> </widget> </item> - <item row="10" column="0" > - <widget class="QLabel" name="label" > - <property name="text" > + <item row="10" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> <string>&Icon file:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>iconEdit</cstring> </property> </widget> </item> - <item row="12" column="0" > - <widget class="QLabel" name="TextLabel3" > - <property name="text" > + <item row="12" column="0"> + <widget class="QLabel" name="TextLabel3"> + <property name="text"> <string>Ar&guments:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>argumentsEdit</cstring> </property> </widget> </item> - <item row="9" column="0" > - <widget class="QLabel" name="TextLabel2" > - <property name="text" > + <item row="9" column="0"> + <widget class="QLabel" name="TextLabel2"> + <property name="text"> <string>&Menu text:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>menuEdit</cstring> </property> </widget> </item> - <item row="6" column="3" > - <widget class="Line" name="line" > - <property name="orientation" > + <item row="6" column="3"> + <widget class="Line" name="line"> + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> - <item row="11" column="2" > - <widget class="QPushButton" name="executableButton" > - <property name="toolTip" > - <string>Select the executable via a file selection dialog</string> + <item row="10" column="1"> + <widget class="QLineEdit" name="iconEdit"> + <property name="toolTip"> + <string>Enter the filename of the icon</string> </property> - <property name="whatsThis" > - <string><b>Executable</b> -<p>Select the executable via a file selection dialog.</p></string> - </property> - <property name="text" > - <string>...</string> + <property name="whatsThis"> + <string><b>Icon</b> +<p>Enter the filename of the icon.</p></string> </property> </widget> </item> - <item row="10" column="1" > - <widget class="QLineEdit" name="iconEdit" > - <property name="toolTip" > - <string>Enter the filename of the icon</string> - </property> - <property name="whatsThis" > - <string><b>Icon</b> -<p>Enter the filename of the icon.</p></string> - </property> - </widget> - </item> - <item row="13" column="0" > - <widget class="QLabel" name="label_2" > - <property name="text" > + <item row="13" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> <string>&Redirect output</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>redirectCombo</cstring> </property> </widget> </item> - <item row="11" column="0" > - <widget class="QLabel" name="TextLabel1" > - <property name="text" > + <item row="11" column="0"> + <widget class="QLabel" name="TextLabel1"> + <property name="text"> <string>&Executable file:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>executableEdit</cstring> </property> </widget> </item> + <item row="10" column="2"> + <widget class="QToolButton" name="iconButton"> + <property name="toolTip"> + <string>Select the icon via a file selection dialog</string> + </property> + <property name="whatsThis"> + <string><b>Icon</b> +<p>Select the icon via a file selection dialog.</p></string> + </property> + </widget> + </item> + <item row="11" column="2"> + <widget class="QToolButton" name="executableButton"> + <property name="toolTip"> + <string>Select the executable via a file selection dialog</string> + </property> + <property name="whatsThis"> + <string><b>Executable</b> +<p>Select the executable via a file selection dialog.</p></string> + </property> + </widget> + </item> </layout> </item> <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="standardButtons" > + <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> - <layoutdefault spacing="6" margin="6" /> + <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>toolsList</tabstop> @@ -344,11 +339,11 @@ <receiver>ToolConfigurationDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>62</x> <y>465</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>62</x> <y>486</y> </hint> @@ -360,11 +355,11 @@ <receiver>ToolConfigurationDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>177</x> <y>466</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>178</x> <y>486</y> </hint>