Initial work for bts#46: set alarm for due items
[qtodo.git] / gui / d_item_detail.ui
blobbcfecd6a22c080939d4bee44d78daf5d9daa786a
1 <ui version="4.0" >
2  <class>D_item_detail</class>
3  <widget class="QDialog" name="D_item_detail" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>392</width>
9     <height>407</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Item Detail</string>
14   </property>
15   <layout class="QGridLayout" >
16    <item row="0" column="0" >
17     <widget class="QLabel" name="label" >
18      <property name="sizePolicy" >
19       <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
20        <horstretch>0</horstretch>
21        <verstretch>0</verstretch>
22       </sizepolicy>
23      </property>
24      <property name="text" >
25       <string>Category</string>
26      </property>
27     </widget>
28    </item>
29    <item row="0" column="1" colspan="3" >
30     <widget class="QComboBox" name="CB_Categories" >
31      <property name="sizePolicy" >
32       <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
33        <horstretch>0</horstretch>
34        <verstretch>0</verstretch>
35       </sizepolicy>
36      </property>
37     </widget>
38    </item>
39    <item row="1" column="0" >
40     <widget class="QLabel" name="label_3" >
41      <property name="text" >
42       <string>Priority</string>
43      </property>
44     </widget>
45    </item>
46    <item row="1" column="1" colspan="3" >
47     <widget class="QComboBox" name="CB_Priorities" />
48    </item>
49    <item row="2" column="0" >
50     <widget class="QLabel" name="label_4" >
51      <property name="text" >
52       <string>Deadline</string>
53      </property>
54     </widget>
55    </item>
56    <item row="2" column="2" >
57     <widget class="QCheckBox" name="CB_Deadline" >
58      <property name="text" >
59       <string>Deadline</string>
60      </property>
61     </widget>
62    </item>
63    <item row="4" column="0" >
64     <widget class="QLabel" name="label_7" >
65      <property name="text" >
66       <string>Status</string>
67      </property>
68     </widget>
69    </item>
70    <item row="5" column="0" >
71     <widget class="QLabel" name="label_5" >
72      <property name="text" >
73       <string>Headline</string>
74      </property>
75     </widget>
76    </item>
77    <item row="5" column="1" colspan="3" >
78     <widget class="QLineEdit" name="LE_CurHeadline" />
79    </item>
80    <item row="6" column="0" >
81     <widget class="QLabel" name="label_6" >
82      <property name="text" >
83       <string>Body</string>
84      </property>
85     </widget>
86    </item>
87    <item row="7" column="0" colspan="4" >
88     <widget class="QTextEdit" name="TB_CurBody" />
89    </item>
90    <item row="8" column="0" colspan="4" >
91     <layout class="QHBoxLayout" >
92      <item>
93       <spacer>
94        <property name="orientation" >
95         <enum>Qt::Horizontal</enum>
96        </property>
97        <property name="sizeHint" >
98         <size>
99          <width>40</width>
100          <height>20</height>
101         </size>
102        </property>
103       </spacer>
104      </item>
105      <item>
106       <widget class="QPushButton" name="B_ItemDetClose" >
107        <property name="text" >
108         <string>Close</string>
109        </property>
110        <property name="autoDefault" >
111         <bool>false</bool>
112        </property>
113       </widget>
114      </item>
115     </layout>
116    </item>
117    <item row="4" column="1" >
118     <widget class="QLabel" name="L_Status" >
119      <property name="frameShape" >
120       <enum>QFrame::Box</enum>
121      </property>
122      <property name="frameShadow" >
123       <enum>QFrame::Sunken</enum>
124      </property>
125      <property name="text" >
126       <string/>
127      </property>
128     </widget>
129    </item>
130    <item row="4" column="2" >
131     <widget class="QPushButton" name="B_CloseItem" >
132      <property name="sizePolicy" >
133       <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
134        <horstretch>0</horstretch>
135        <verstretch>0</verstretch>
136       </sizepolicy>
137      </property>
138      <property name="text" >
139       <string>Done</string>
140      </property>
141     </widget>
142    </item>
143    <item row="2" column="1" >
144     <widget class="QDateTimeEdit" name="DTE_CurDeadline" >
145      <property name="enabled" >
146       <bool>false</bool>
147      </property>
148      <property name="displayFormat" >
149       <string>dd/MM/yyyy HH.mm</string>
150      </property>
151      <property name="calendarPopup" >
152       <bool>true</bool>
153      </property>
154     </widget>
155    </item>
156    <item row="4" column="3" >
157     <widget class="QPushButton" name="B_ReopenItem" >
158      <property name="sizePolicy" >
159       <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
160        <horstretch>0</horstretch>
161        <verstretch>0</verstretch>
162       </sizepolicy>
163      </property>
164      <property name="text" >
165       <string>Reopen</string>
166      </property>
167     </widget>
168    </item>
169    <item row="3" column="0" >
170     <widget class="QLabel" name="label_2" >
171      <property name="text" >
172       <string>Timeout</string>
173      </property>
174     </widget>
175    </item>
176    <item row="3" column="1" >
177     <widget class="QSpinBox" name="SP_timeout" >
178      <property name="enabled" >
179       <bool>false</bool>
180      </property>
181      <property name="minimum" >
182       <number>0</number>
183      </property>
184     </widget>
185    </item>
186    <item row="3" column="2" >
187     <widget class="QLabel" name="label_8" >
188      <property name="text" >
189       <string>Minutes</string>
190      </property>
191     </widget>
192    </item>
193   </layout>
194  </widget>
195  <resources/>
196  <connections>
197   <connection>
198    <sender>CB_Deadline</sender>
199    <signal>toggled(bool)</signal>
200    <receiver>DTE_CurDeadline</receiver>
201    <slot>setEnabled(bool)</slot>
202    <hints>
203     <hint type="sourcelabel" >
204      <x>299</x>
205      <y>79</y>
206     </hint>
207     <hint type="destinationlabel" >
208      <x>216</x>
209      <y>80</y>
210     </hint>
211    </hints>
212   </connection>
213   <connection>
214    <sender>CB_Deadline</sender>
215    <signal>toggled(bool)</signal>
216    <receiver>SP_timeout</receiver>
217    <slot>setEnabled(bool)</slot>
218    <hints>
219     <hint type="sourcelabel" >
220      <x>243</x>
221      <y>69</y>
222     </hint>
223     <hint type="destinationlabel" >
224      <x>201</x>
225      <y>97</y>
226     </hint>
227    </hints>
228   </connection>
229  </connections>
230 </ui>