work on inserting item
[qtodo.git] / gui / d_add_item.ui
blobb3f63a4ef1a3e8fa7e9e8cb84388b5e116757c9b
1 <ui version="4.0" >
2  <class>d_add_item</class>
3  <widget class="QDialog" name="d_add_item" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>423</width>
9     <height>319</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>QTodo -  Add Item</string>
14   </property>
15   <layout class="QVBoxLayout" >
16    <item>
17     <layout class="QGridLayout" >
18      <item row="0" column="0" >
19       <widget class="QLabel" name="label" >
20        <property name="font" >
21         <font>
22          <pointsize>10</pointsize>
23         </font>
24        </property>
25        <property name="text" >
26         <string>Category</string>
27        </property>
28       </widget>
29      </item>
30      <item row="0" column="1" >
31       <widget class="QLabel" name="L_Category" >
32        <property name="font" >
33         <font>
34          <pointsize>10</pointsize>
35         </font>
36        </property>
37        <property name="text" >
38         <string/>
39        </property>
40       </widget>
41      </item>
42      <item row="1" column="0" >
43       <widget class="QLabel" name="label_3" >
44        <property name="font" >
45         <font>
46          <pointsize>10</pointsize>
47         </font>
48        </property>
49        <property name="text" >
50         <string>Priority</string>
51        </property>
52       </widget>
53      </item>
54      <item row="1" column="1" >
55       <widget class="QComboBox" name="CB_Priority" >
56        <property name="font" >
57         <font>
58          <pointsize>10</pointsize>
59         </font>
60        </property>
61       </widget>
62      </item>
63      <item row="1" column="2" >
64       <widget class="QCheckBox" name="CB_Deadline" >
65        <property name="font" >
66         <font>
67          <pointsize>10</pointsize>
68         </font>
69        </property>
70        <property name="text" >
71         <string>Deadline</string>
72        </property>
73       </widget>
74      </item>
75      <item row="1" column="3" >
76       <widget class="QDateTimeEdit" name="DTE_Deadline" >
77        <property name="enabled" >
78         <bool>false</bool>
79        </property>
80        <property name="font" >
81         <font>
82          <pointsize>10</pointsize>
83         </font>
84        </property>
85        <property name="displayFormat" >
86         <string>dd/MM/yyyy H.mm</string>
87        </property>
88        <property name="calendarPopup" >
89         <bool>true</bool>
90        </property>
91       </widget>
92      </item>
93      <item row="2" column="0" colspan="4" >
94       <widget class="QTextBrowser" name="textBrowser" />
95      </item>
96     </layout>
97    </item>
98    <item>
99     <widget class="QDialogButtonBox" name="buttonBox" >
100      <property name="orientation" >
101       <enum>Qt::Horizontal</enum>
102      </property>
103      <property name="standardButtons" >
104       <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
105      </property>
106     </widget>
107    </item>
108   </layout>
109  </widget>
110  <resources/>
111  <connections>
112   <connection>
113    <sender>buttonBox</sender>
114    <signal>accepted()</signal>
115    <receiver>d_add_item</receiver>
116    <slot>accept()</slot>
117    <hints>
118     <hint type="sourcelabel" >
119      <x>248</x>
120      <y>311</y>
121     </hint>
122     <hint type="destinationlabel" >
123      <x>157</x>
124      <y>265</y>
125     </hint>
126    </hints>
127   </connection>
128   <connection>
129    <sender>buttonBox</sender>
130    <signal>rejected()</signal>
131    <receiver>d_add_item</receiver>
132    <slot>reject()</slot>
133    <hints>
134     <hint type="sourcelabel" >
135      <x>295</x>
136      <y>309</y>
137     </hint>
138     <hint type="destinationlabel" >
139      <x>286</x>
140      <y>265</y>
141     </hint>
142    </hints>
143   </connection>
144   <connection>
145    <sender>CB_Deadline</sender>
146    <signal>toggled(bool)</signal>
147    <receiver>DTE_Deadline</receiver>
148    <slot>setEnabled(bool)</slot>
149    <hints>
150     <hint type="sourcelabel" >
151      <x>266</x>
152      <y>42</y>
153     </hint>
154     <hint type="destinationlabel" >
155      <x>365</x>
156      <y>51</y>
157     </hint>
158    </hints>
159   </connection>
160  </connections>
161 </ui>