diff -r b5ca7665e928 -r c4f24f8f34c0 Tasks/TaskPropertiesDialog.ui --- a/Tasks/TaskPropertiesDialog.ui Thu Nov 08 15:28:53 2012 +0100 +++ b/Tasks/TaskPropertiesDialog.ui Thu Nov 08 16:19:41 2012 +0100 @@ -1,7 +1,8 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>TaskPropertiesDialog</class> - <widget class="QDialog" name="TaskPropertiesDialog" > - <property name="geometry" > + <widget class="QDialog" name="TaskPropertiesDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,179 +10,179 @@ <height>297</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Task Properties</string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QGridLayout" > - <item row="0" column="0" > - <widget class="QLabel" name="label" > - <property name="text" > + <layout class="QGridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> <string>&Summary:</string> </property> - <property name="buddy" > - <cstring>descriptionEdit</cstring> + <property name="buddy"> + <cstring>summaryEdit</cstring> </property> </widget> </item> - <item row="0" column="1" colspan="3" > - <widget class="QLineEdit" name="descriptionEdit" > - <property name="toolTip" > + <item row="0" column="1" colspan="3"> + <widget class="QLineEdit" name="summaryEdit"> + <property name="toolTip"> <string>Enter the task summary</string> </property> </widget> </item> - <item row="1" column="0" > - <widget class="QLabel" name="textLabel1" > - <property name="text" > + <item row="1" column="0"> + <widget class="QLabel" name="textLabel1"> + <property name="text"> <string>&Description:</string> </property> - <property name="alignment" > + <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> - <property name="buddy" > - <cstring>longtextEdit</cstring> + <property name="buddy"> + <cstring>descriptionEdit</cstring> </property> </widget> </item> - <item row="1" column="1" colspan="3" > - <widget class="QTextEdit" name="longtextEdit" > - <property name="toolTip" > + <item row="1" column="1" colspan="3"> + <widget class="QTextEdit" name="descriptionEdit"> + <property name="toolTip"> <string>Enter the task description</string> </property> </widget> </item> - <item row="2" column="0" > - <widget class="QLabel" name="textLabel2" > - <property name="text" > + <item row="2" column="0"> + <widget class="QLabel" name="textLabel2"> + <property name="text"> <string>Creation Time:</string> </property> </widget> </item> - <item row="2" column="1" colspan="3" > - <widget class="QLabel" name="creationLabel" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > + <item row="2" column="1" colspan="3"> + <widget class="QLabel" name="creationLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> - <item row="3" column="0" > - <widget class="QLabel" name="textLabel4" > - <property name="text" > + <item row="3" column="0"> + <widget class="QLabel" name="textLabel4"> + <property name="text"> <string>&Priority:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>priorityCombo</cstring> </property> </widget> </item> - <item row="3" column="1" > - <widget class="QComboBox" name="priorityCombo" > - <property name="toolTip" > + <item row="3" column="1"> + <widget class="QComboBox" name="priorityCombo"> + <property name="toolTip"> <string>Select the task priority</string> </property> - <property name="currentIndex" > + <property name="currentIndex"> <number>1</number> </property> <item> - <property name="text" > + <property name="text"> <string>High</string> </property> </item> <item> - <property name="text" > + <property name="text"> <string>Normal</string> </property> </item> <item> - <property name="text" > + <property name="text"> <string>Low</string> </property> </item> </widget> </item> - <item row="3" column="2" > - <widget class="QCheckBox" name="projectCheckBox" > - <property name="toolTip" > + <item row="3" column="2"> + <widget class="QCheckBox" name="projectCheckBox"> + <property name="toolTip"> <string>Select to indicate a task related to the current project</string> </property> - <property name="text" > + <property name="text"> <string>Project &Task</string> </property> </widget> </item> - <item row="3" column="3" > - <widget class="QCheckBox" name="completedCheckBox" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > + <item row="3" column="3"> + <widget class="QCheckBox" name="completedCheckBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Select to mark this task as completed</string> </property> - <property name="text" > + <property name="text"> <string>T&ask completed</string> </property> </widget> </item> - <item row="4" column="0" > - <widget class="QLabel" name="textLabel5" > - <property name="text" > + <item row="4" column="0"> + <widget class="QLabel" name="textLabel5"> + <property name="text"> <string>Filename:</string> </property> </widget> </item> - <item row="4" column="1" colspan="3" > - <widget class="QLineEdit" name="filenameEdit" > - <property name="focusPolicy" > + <item row="4" column="1" colspan="3"> + <widget class="QLineEdit" name="filenameEdit"> + <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> - <property name="readOnly" > + <property name="readOnly"> <bool>true</bool> </property> </widget> </item> - <item row="5" column="0" > - <widget class="QLabel" name="textLabel6" > - <property name="text" > + <item row="5" column="0"> + <widget class="QLabel" name="textLabel6"> + <property name="text"> <string>Line:</string> </property> </widget> </item> - <item row="5" column="1" colspan="3" > - <widget class="QLineEdit" name="linenoEdit" > - <property name="focusPolicy" > + <item row="5" column="1" colspan="3"> + <widget class="QLineEdit" name="linenoEdit"> + <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> - <property name="readOnly" > + <property name="readOnly"> <bool>true</bool> </property> </widget> </item> - <item row="6" column="0" colspan="4" > - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <item row="6" column="0" colspan="4"> + <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>summaryEdit</tabstop> <tabstop>descriptionEdit</tabstop> - <tabstop>longtextEdit</tabstop> <tabstop>priorityCombo</tabstop> <tabstop>projectCheckBox</tabstop> <tabstop>completedCheckBox</tabstop> @@ -195,11 +196,11 @@ <receiver>TaskPropertiesDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>48</x> <y>143</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>49</x> <y>165</y> </hint> @@ -211,11 +212,11 @@ <receiver>TaskPropertiesDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>177</x> <y>149</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>177</x> <y>162</y> </hint>