--- a/ViewManager/BookmarkedFilesDialog.ui Tue Jan 07 18:08:40 2014 +0100 +++ b/ViewManager/BookmarkedFilesDialog.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>BookmarkedFilesDialog</class> - <widget class="QDialog" name="BookmarkedFilesDialog" > - <property name="geometry" > + <widget class="QDialog" name="BookmarkedFilesDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,51 +10,51 @@ <height>391</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Configure Bookmarked Files Menu</string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout"> <item> - <layout class="QGridLayout" > - <item rowspan="6" row="0" column="0" colspan="3" > - <widget class="QListWidget" name="filesList" > - <property name="alternatingRowColors" > + <layout class="QGridLayout"> + <item row="0" column="0" rowspan="6" colspan="3"> + <widget class="QListWidget" name="filesList"> + <property name="alternatingRowColors"> <bool>true</bool> </property> </widget> </item> - <item row="2" column="3" > - <widget class="QPushButton" name="deleteButton" > - <property name="enabled" > + <item row="2" 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="5" column="3" > + <item row="5" 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>87</width> <height>130</height> @@ -61,136 +62,133 @@ </property> </spacer> </item> - <item row="3" column="3" > - <widget class="QPushButton" name="upButton" > - <property name="enabled" > + <item row="3" 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="6" column="2" > - <widget class="QPushButton" name="fileButton" > - <property name="toolTip" > - <string>Select the file via a file selection dialog</string> - </property> - <property name="whatsThis" > - <string><b>File</b> -<p>Select the file to be bookmarked via a file selection dialog.</p></string> - </property> - <property name="text" > - <string>...</string> - </property> - </widget> - </item> - <item row="4" column="3" > - <widget class="QPushButton" name="downButton" > - <property name="enabled" > + <item row="4" 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>&Down</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+D</string> </property> </widget> </item> - <item row="0" column="3" > - <widget class="QPushButton" name="addButton" > - <property name="enabled" > + <item row="0" column="3"> + <widget class="QPushButton" name="addButton"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Add a new bookmarked file</string> </property> - <property name="whatsThis" > - <string><b>Add</b> -<p>Add a new bookmarked file with the value entered below.</p></string> + <property name="whatsThis"> + <string><b>Add</b> +<p>Add a new bookmarked file with the value 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 row="6" column="0" > - <widget class="QLabel" name="TextLabel1" > - <property name="text" > + <item row="6" column="0"> + <widget class="QLabel" name="TextLabel1"> + <property name="text"> <string>&File:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>fileEdit</cstring> </property> </widget> </item> - <item row="1" column="3" > - <widget class="QPushButton" name="changeButton" > - <property name="enabled" > + <item row="1" column="3"> + <widget class="QPushButton" name="changeButton"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Change the value of the selected entry</string> </property> - <property name="whatsThis" > - <string><b>Change</b> -<p>Change the value of the selected entry.</p></string> + <property name="whatsThis"> + <string><b>Change</b> +<p>Change the value 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="6" column="1" > - <widget class="QLineEdit" name="fileEdit" > - <property name="toolTip" > + <item row="6" column="1"> + <widget class="QLineEdit" name="fileEdit"> + <property name="toolTip"> <string>Enter the filename of the file</string> </property> - <property name="whatsThis" > - <string><b>File</b> -<p>Enter the filename of the bookmarked file.</p></string> + <property name="whatsThis"> + <string><b>File</b> +<p>Enter the filename of the bookmarked file.</p></string> + </property> + </widget> + </item> + <item row="6" column="2"> + <widget class="QToolButton" name="fileButton"> + <property name="toolTip"> + <string>Select the file via a file selection dialog</string> + </property> + <property name="whatsThis"> + <string><b>File</b> +<p>Select the file to be bookmarked 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>filesList</tabstop> @@ -210,11 +208,11 @@ <receiver>BookmarkedFilesDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>25</x> <y>373</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>25</x> <y>388</y> </hint> @@ -226,11 +224,11 @@ <receiver>BookmarkedFilesDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>105</x> <y>370</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>105</x> <y>389</y> </hint>