2 <class>d_add_item</class>
3 <widget class="QDialog" name="d_add_item" >
4 <property name="geometry" >
12 <property name="windowTitle" >
13 <string>QTodo - Add Item</string>
15 <layout class="QVBoxLayout" >
17 <layout class="QGridLayout" >
18 <property name="leftMargin" >
21 <property name="rightMargin" >
24 <item row="0" column="0" >
25 <widget class="QLabel" name="label" >
26 <property name="sizePolicy" >
27 <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
28 <horstretch>0</horstretch>
29 <verstretch>0</verstretch>
32 <property name="font" >
34 <pointsize>10</pointsize>
37 <property name="text" >
38 <string>Category</string>
42 <item row="0" column="1" >
43 <widget class="QLabel" name="L_Category" >
44 <property name="font" >
46 <pointsize>10</pointsize>
49 <property name="text" >
54 <item row="1" column="0" >
55 <widget class="QLabel" name="label_3" >
56 <property name="font" >
58 <pointsize>10</pointsize>
61 <property name="text" >
62 <string>Priority</string>
66 <item row="1" column="1" >
67 <widget class="QComboBox" name="CB_Priority" >
68 <property name="font" >
70 <pointsize>10</pointsize>
75 <item row="1" column="2" >
76 <widget class="QCheckBox" name="CB_Deadline" >
77 <property name="font" >
79 <pointsize>10</pointsize>
82 <property name="text" >
83 <string>Deadline</string>
87 <item row="1" column="3" >
88 <widget class="QDateTimeEdit" name="DTE_Deadline" >
89 <property name="enabled" >
92 <property name="font" >
94 <pointsize>10</pointsize>
97 <property name="displayFormat" >
98 <string>dd/MM/yyyy H.mm</string>
100 <property name="calendarPopup" >
105 <item row="2" column="0" >
106 <widget class="QLabel" name="label_2" >
107 <property name="font" >
109 <pointsize>10</pointsize>
112 <property name="text" >
113 <string>Headline</string>
117 <item row="2" column="1" colspan="3" >
118 <widget class="QLineEdit" name="LE_Headline" >
119 <property name="font" >
121 <pointsize>10</pointsize>
126 <item row="3" column="0" colspan="4" >
127 <widget class="QLabel" name="label_4" >
128 <property name="font" >
130 <pointsize>10</pointsize>
133 <property name="text" >
134 <string>Body</string>
138 <item row="4" column="0" colspan="4" >
139 <widget class="QTextEdit" name="TE_Body" >
140 <property name="acceptRichText" >
148 <layout class="QHBoxLayout" >
151 <property name="orientation" >
152 <enum>Qt::Horizontal</enum>
154 <property name="sizeHint" >
163 <widget class="QPushButton" name="B_Save" >
164 <property name="text" >
165 <string>Save</string>
170 <widget class="QPushButton" name="B_Close" >
171 <property name="text" >
172 <string>Close</string>
183 <sender>CB_Deadline</sender>
184 <signal>toggled(bool)</signal>
185 <receiver>DTE_Deadline</receiver>
186 <slot>setEnabled(bool)</slot>
188 <hint type="sourcelabel" >
192 <hint type="destinationlabel" >