--- a/Helpviewer/Bookmarks/AddBookmarkDialog.ui Sun Mar 25 14:01:25 2012 +0200 +++ b/Helpviewer/Bookmarks/AddBookmarkDialog.ui Sun Mar 25 16:22:29 2012 +0200 @@ -1,76 +1,95 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>AddBookmarkDialog</class> - <widget class="QDialog" name="AddBookmarkDialog" > - <property name="geometry" > + <widget class="QDialog" name="AddBookmarkDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> - <width>400</width> - <height>174</height> + <width>500</width> + <height>230</height> </rect> </property> - <property name="minimumSize" > + <property name="minimumSize"> <size> - <width>400</width> + <width>500</width> <height>0</height> </size> </property> - <property name="windowTitle" > + <property name="maximumSize"> + <size> + <width>500</width> + <height>250</height> + </size> + </property> + <property name="windowTitle"> <string>Add Bookmark</string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout" > - <item> - <widget class="QLabel" name="label" > - <property name="text" > - <string>Type a name for the bookmark, and choose where to keep it.</string> - </property> - <property name="textFormat" > - <enum>Qt::PlainText</enum> - </property> - <property name="wordWrap" > - <bool>true</bool> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Name:</string> </property> </widget> </item> - <item> - <widget class="E5LineEdit" name="nameEdit" > - <property name="toolTip" > + <item row="0" column="1"> + <widget class="E5LineEdit" name="nameEdit"> + <property name="toolTip"> <string>Enter the name</string> </property> </widget> </item> - <item> - <widget class="E5LineEdit" name="addressEdit" > - <property name="toolTip" > + <item row="1" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Address:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="E5LineEdit" name="addressEdit"> + <property name="toolTip"> <string>Enter the address</string> </property> </widget> </item> - <item> - <widget class="QComboBox" name="locationCombo" /> + <item row="2" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Description:</string> + </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> + </property> + </widget> </item> - <item> - <spacer name="verticalSpacer" > - <property name="orientation" > - <enum>Qt::Vertical</enum> + <item row="2" column="1"> + <widget class="QPlainTextEdit" name="descriptionEdit"> + <property name="toolTip"> + <string>Enter a description</string> </property> - <property name="sizeHint" stdset="0" > - <size> - <width>20</width> - <height>9</height> - </size> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Folder:</string> </property> - </spacer> + </widget> </item> - <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <item row="3" column="1"> + <widget class="QComboBox" name="locationCombo"/> + </item> + <item row="4" column="0" colspan="2"> + <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> @@ -87,6 +106,7 @@ <tabstops> <tabstop>nameEdit</tabstop> <tabstop>addressEdit</tabstop> + <tabstop>descriptionEdit</tabstop> <tabstop>locationCombo</tabstop> <tabstop>buttonBox</tabstop> </tabstops> @@ -98,11 +118,11 @@ <receiver>AddBookmarkDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> @@ -114,15 +134,15 @@ <receiver>AddBookmarkDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> -</ui> \ No newline at end of file +</ui>