2 <class>d_add_item</class>
3 <widget class="QDialog" name="d_add_item" >
4 <property name="geometry" >
12 <property name="windowTitle" >
13 <string>QtNote - Add Item</string>
15 <layout class="QVBoxLayout" >
17 <layout class="QGridLayout" >
18 <item row="0" column="0" >
19 <widget class="QLabel" name="label" >
20 <property name="sizePolicy" >
21 <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
22 <horstretch>0</horstretch>
23 <verstretch>0</verstretch>
26 <property name="font" >
28 <pointsize>10</pointsize>
31 <property name="text" >
32 <string>Category</string>
36 <item row="0" column="1" colspan="2" >
37 <widget class="QLabel" name="L_Category" >
38 <property name="font" >
40 <pointsize>10</pointsize>
43 <property name="text" >
48 <item row="1" column="0" >
49 <widget class="QLabel" name="label_3" >
50 <property name="font" >
52 <pointsize>10</pointsize>
55 <property name="text" >
56 <string>Priority</string>
60 <item row="1" column="1" colspan="2" >
61 <widget class="QComboBox" name="CB_Priority" >
62 <property name="sizePolicy" >
63 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
64 <horstretch>0</horstretch>
65 <verstretch>0</verstretch>
68 <property name="font" >
70 <pointsize>10</pointsize>
75 <item row="2" column="0" colspan="3" >
76 <widget class="QCheckBox" name="CB_Deadline" >
77 <property name="sizePolicy" >
78 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
79 <horstretch>0</horstretch>
80 <verstretch>0</verstretch>
83 <property name="font" >
85 <pointsize>10</pointsize>
88 <property name="text" >
89 <string>Deadline</string>
93 <item row="3" column="0" >
94 <widget class="QLabel" name="label_7" >
95 <property name="text" >
96 <string>Date/Time</string>
100 <item row="3" column="1" >
101 <widget class="QDateTimeEdit" name="DTE_Deadline" >
102 <property name="enabled" >
105 <property name="font" >
107 <pointsize>10</pointsize>
110 <property name="displayFormat" >
111 <string>dd/MM/yyyy H.mm</string>
113 <property name="calendarPopup" >
118 <item row="3" column="2" >
119 <layout class="QHBoxLayout" >
121 <widget class="QLabel" name="label_5" >
122 <property name="sizePolicy" >
123 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
124 <horstretch>0</horstretch>
125 <verstretch>0</verstretch>
128 <property name="text" >
129 <string>Timeout</string>
134 <widget class="QSpinBox" name="spinBox" >
135 <property name="enabled" >
141 <widget class="QLabel" name="label_6" >
142 <property name="text" >
143 <string>Minutes</string>
149 <item row="4" column="0" >
150 <widget class="QLabel" name="label_2" >
151 <property name="font" >
153 <pointsize>10</pointsize>
156 <property name="text" >
157 <string>Headline</string>
161 <item row="4" column="1" colspan="2" >
162 <widget class="QLineEdit" name="LE_Headline" >
163 <property name="font" >
165 <pointsize>10</pointsize>
170 <item row="5" column="0" colspan="3" >
171 <widget class="QLabel" name="label_4" >
172 <property name="font" >
174 <pointsize>10</pointsize>
177 <property name="text" >
178 <string>Body</string>
182 <item row="6" column="0" colspan="3" >
183 <widget class="QTextEdit" name="TE_Body" >
184 <property name="acceptRichText" >
192 <layout class="QHBoxLayout" >
195 <property name="orientation" >
196 <enum>Qt::Horizontal</enum>
198 <property name="sizeHint" >
207 <widget class="QPushButton" name="B_Save" >
208 <property name="text" >
209 <string>Save</string>
214 <widget class="QPushButton" name="B_Close" >
215 <property name="text" >
216 <string>Close</string>
227 <sender>CB_Deadline</sender>
228 <signal>toggled(bool)</signal>
229 <receiver>DTE_Deadline</receiver>
230 <slot>setEnabled(bool)</slot>
232 <hint type="sourcelabel" >
236 <hint type="destinationlabel" >
243 <sender>CB_Deadline</sender>
244 <signal>toggled(bool)</signal>
245 <receiver>spinBox</receiver>
246 <slot>setEnabled(bool)</slot>
248 <hint type="sourcelabel" >
252 <hint type="destinationlabel" >