--- a/Preferences/ToolConfigurationDialog.ui Sat Nov 28 19:47:23 2015 +0100 +++ b/Preferences/ToolConfigurationDialog.ui Sat Nov 28 19:48:11 2015 +0100 @@ -16,287 +16,291 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <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> - <property name="text"> - <string>Add &Separator</string> - </property> - </widget> - </item> - <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> - <property name="text"> - <string>&Add</string> - </property> - <property name="shortcut"> - <string>Alt+A</string> - </property> - </widget> - </item> - <item row="0" column="0" rowspan="9" colspan="3"> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> <widget class="QListWidget" name="toolsList"/> </item> - <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> - </widget> - </item> - <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> - </widget> - </item> - <item row="4" column="3"> - <widget class="QPushButton" name="upButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <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> - <property name="text"> - <string>&Up</string> - </property> - <property name="shortcut"> - <string>Alt+U</string> - </property> - </widget> - </item> - <item row="3" column="3"> - <widget class="QPushButton" name="deleteButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Delete the selected entry</string> - </property> - <property name="whatsThis"> - <string><b>Delete</b> + <item row="0" column="1"> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <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> + <property name="text"> + <string>&New</string> + </property> + <property name="shortcut"> + <string>Alt+N</string> + </property> + </widget> + </item> + <item> + <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> + <property name="text"> + <string>&Add</string> + </property> + <property name="shortcut"> + <string>Alt+A</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="changeButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <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> + <property name="text"> + <string>C&hange</string> + </property> + <property name="shortcut"> + <string>Alt+H</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="deleteButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <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> - <property name="text"> - <string>&Delete</string> - </property> - <property name="shortcut"> - <string>Alt+D</string> - </property> - </widget> - </item> - <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> - <property name="text"> - <string>&New</string> - </property> - <property name="shortcut"> - <string>Alt+N</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"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Move down</string> - </property> - <property name="whatsThis"> - <string><b>Move Down</b> + </property> + <property name="text"> + <string>&Delete</string> + </property> + <property name="shortcut"> + <string>Alt+D</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="upButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <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> + <property name="text"> + <string>&Up</string> + </property> + <property name="shortcut"> + <string>Alt+U</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="downButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <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> - <property name="text"> - <string>Do&wn</string> - </property> - <property name="shortcut"> - <string>Alt+W</string> - </property> - </widget> + </property> + <property name="text"> + <string>Do&wn</string> + </property> + <property name="shortcut"> + <string>Alt+W</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <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> + <property name="text"> + <string>Add &Separator</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" stdset="0"> + <size> + <width>105</width> + <height>22</height> + </size> + </property> + </spacer> + </item> + </layout> </item> - <item row="8" column="3"> - <spacer> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>105</width> - <height>22</height> - </size> - </property> - </spacer> - </item> - <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> + <item row="1" column="0" colspan="2"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="TextLabel2"> + <property name="text"> + <string>&Menu text:</string> + </property> + <property name="buddy"> + <cstring>menuEdit</cstring> + </property> + </widget> + </item> + <item row="0" 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> - </widget> - </item> - <item row="2" column="3"> - <widget class="QPushButton" name="changeButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <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> - <property name="text"> - <string>C&hange</string> - </property> - <property name="shortcut"> - <string>Alt+H</string> - </property> - </widget> - </item> - <item row="10" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>&Icon file:</string> - </property> - <property name="buddy"> - <cstring>iconEdit</cstring> - </property> - </widget> - </item> - <item row="12" column="0"> - <widget class="QLabel" name="TextLabel3"> - <property name="text"> - <string>Ar&guments:</string> - </property> - <property name="buddy"> - <cstring>argumentsEdit</cstring> - </property> - </widget> - </item> - <item row="9" column="0"> - <widget class="QLabel" name="TextLabel2"> - <property name="text"> - <string>&Menu text:</string> - </property> - <property name="buddy"> - <cstring>menuEdit</cstring> - </property> - </widget> - </item> - <item row="6" column="3"> - <widget class="Line" name="line"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </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> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>&Icon file:</string> + </property> + <property name="buddy"> + <cstring>iconPicker</cstring> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="E5PathPicker" name="iconPicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + <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"> - <string>&Redirect output</string> - </property> - <property name="buddy"> - <cstring>redirectCombo</cstring> - </property> - </widget> - </item> - <item row="11" column="0"> - <widget class="QLabel" name="TextLabel1"> - <property name="text"> - <string>&Executable file:</string> - </property> - <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> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="TextLabel1"> + <property name="text"> + <string>&Executable file:</string> + </property> + <property name="buddy"> + <cstring>executablePicker</cstring> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="E5PathPicker" name="executablePicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + <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="3" column="0"> + <widget class="QLabel" name="TextLabel3"> + <property name="text"> + <string>Ar&guments:</string> + </property> + <property name="buddy"> + <cstring>argumentsEdit</cstring> + </property> + </widget> + </item> + <item row="3" 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> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>&Redirect output</string> + </property> + <property name="buddy"> + <cstring>redirectCombo</cstring> + </property> + </widget> + </item> + <item row="4" column="1"> + <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> + </widget> + </item> + </layout> </item> </layout> </item> @@ -314,13 +318,19 @@ </widget> <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <customwidgets> + <customwidget> + <class>E5PathPicker</class> + <extends>QWidget</extends> + <header>E5Gui/E5PathPicker.h</header> + <container>1</container> + </customwidget> + </customwidgets> <tabstops> <tabstop>toolsList</tabstop> <tabstop>menuEdit</tabstop> - <tabstop>iconEdit</tabstop> - <tabstop>iconButton</tabstop> - <tabstop>executableEdit</tabstop> - <tabstop>executableButton</tabstop> + <tabstop>iconPicker</tabstop> + <tabstop>executablePicker</tabstop> <tabstop>argumentsEdit</tabstop> <tabstop>redirectCombo</tabstop> <tabstop>newButton</tabstop>