diff -r d4fa462547bc -r a05eff845522 Project/AddDirectoryDialog.ui --- a/Project/AddDirectoryDialog.ui Tue Jan 07 18:08:40 2014 +0100 +++ b/Project/AddDirectoryDialog.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>AddDirectoryDialog</class> - <widget class="QDialog" name="AddDirectoryDialog" > - <property name="geometry" > + <widget class="QDialog" name="AddDirectoryDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,127 +10,121 @@ <height>174</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Add Directory</string> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Add a directory to the current project</string> </property> - <property name="whatsThis" > - <string><b>Add Directory Dialog</b> -<p>This dialog is used to add a directory to the current project.</p></string> + <property name="whatsThis"> + <string><b>Add Directory Dialog</b> +<p>This dialog is used to add a directory to the current project.</p></string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout"> <item> - <layout class="QGridLayout" > - <item row="0" column="1" colspan="2" > - <widget class="QComboBox" name="filterComboBox" /> + <layout class="QGridLayout"> + <item row="0" column="1" colspan="2"> + <widget class="QComboBox" name="filterComboBox"/> </item> - <item row="2" column="2" > - <widget class="QPushButton" name="targetDirButton" > - <property name="whatsThis" > - <string><b>Target Directory</b> -<p>Select the target directory via a directory selection dialog.</p></string> - </property> - <property name="text" > - <string>...</string> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="targetDirLabel" > - <property name="text" > + <item row="2" column="0"> + <widget class="QLabel" name="targetDirLabel"> + <property name="text"> <string>&Target Directory:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>targetDirEdit</cstring> </property> </widget> </item> - <item row="1" column="1" > - <widget class="QLineEdit" name="sourceDirEdit" > - <property name="toolTip" > + <item row="1" column="1"> + <widget class="QLineEdit" name="sourceDirEdit"> + <property name="toolTip"> <string>Enter the name of the directory to add</string> </property> - <property name="whatsThis" > - <string><b>Source Directory</b> -<p>Enter the name of the directory to add to the current project. + <property name="whatsThis"> + <string><b>Source Directory</b> +<p>Enter the name of the directory to add to the current project. You may select it with a dialog by pressing the button to - the right.</p></string> + the right.</p></string> </property> </widget> </item> - <item row="3" column="0" colspan="3" > - <widget class="QCheckBox" name="recursiveCheckBox" > - <property name="toolTip" > + <item row="3" column="0" colspan="3"> + <widget class="QCheckBox" name="recursiveCheckBox"> + <property name="toolTip"> <string>Select, whether a recursive add should be performed</string> </property> - <property name="text" > + <property name="text"> <string>&Recurse into subdirectories</string> </property> </widget> </item> - <item row="2" column="1" > - <widget class="QLineEdit" name="targetDirEdit" > - <property name="toolTip" > + <item row="2" column="1"> + <widget class="QLineEdit" name="targetDirEdit"> + <property name="toolTip"> <string>Enter the target directory for the file</string> </property> - <property name="whatsThis" > - <string><b>Target Directory</b> -<p>Enter the target directory. You may select it - with a dialog by pressing the button to the right.</p></string> + <property name="whatsThis"> + <string><b>Target Directory</b> +<p>Enter the target directory. You may select it + with a dialog by pressing the button to the right.</p></string> </property> </widget> </item> - <item row="1" column="2" > - <widget class="QPushButton" name="sourceDirButton" > - <property name="whatsThis" > - <string><b>Source Directory</b> -<p>Select the source directory via a directory selection dialog.</p></string> - </property> - <property name="text" > - <string>...</string> - </property> - </widget> - </item> - <item row="1" column="0" > - <widget class="QLabel" name="sourceDirLabel" > - <property name="text" > + <item row="1" column="0"> + <widget class="QLabel" name="sourceDirLabel"> + <property name="text"> <string>&Source Directory:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>sourceDirEdit</cstring> </property> </widget> </item> - <item row="0" column="0" > - <widget class="QLabel" name="textLabel1" > - <property name="text" > + <item row="0" column="0"> + <widget class="QLabel" name="textLabel1"> + <property name="text"> <string>&File Type:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>filterComboBox</cstring> </property> </widget> </item> + <item row="1" column="2"> + <widget class="QToolButton" name="sourceDirButton"> + <property name="whatsThis"> + <string><b>Source Directory</b> +<p>Select the source directory via a directory selection dialog.</p></string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QToolButton" name="targetDirButton"> + <property name="whatsThis"> + <string><b>Target Directory</b> +<p>Select the target directory via a directory 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>filterComboBox</tabstop> @@ -147,11 +142,11 @@ <receiver>AddDirectoryDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>29</x> <y>126</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>30</x> <y>153</y> </hint> @@ -163,11 +158,11 @@ <receiver>AddDirectoryDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>111</x> <y>131</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>112</x> <y>152</y> </hint>