summaryrefslogtreecommitdiff
authorzecke <zecke>2002-06-17 15:41:06 (UTC)
committer zecke <zecke>2002-06-17 15:41:06 (UTC)
commit02e724757f13f40d85136c3a14e0a3788d28236e (patch) (unidiff)
treee927455a1b5f0b5e6739f180106dbc98b60628c0
parentdcba3fed4f2abf001ced72b573f6e50f6b37e1e6 (diff)
downloadopie-02e724757f13f40d85136c3a14e0a3788d28236e.zip
opie-02e724757f13f40d85136c3a14e0a3788d28236e.tar.gz
opie-02e724757f13f40d85136c3a14e0a3788d28236e.tar.bz2
Fool Qt and fool QtDesigner to unfuck the designer .ui *evilgrin*
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp2
-rw-r--r--core/pim/todo/todoentry.ui214
-rw-r--r--core/pim/todo/todoentryimpl.cpp4
3 files changed, 132 insertions, 88 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index fa9c221..d419166 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -208,3 +208,3 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f ) :
208 this, SLOT( slotFind() ) ); 208 this, SLOT( slotFind() ) );
209 a->addTo( bar ); 209// a->addTo( bar );
210 a->addTo( options ); 210 a->addTo( options );
diff --git a/core/pim/todo/todoentry.ui b/core/pim/todo/todoentry.ui
index 9ffa89b..1091852 100644
--- a/core/pim/todo/todoentry.ui
+++ b/core/pim/todo/todoentry.ui
@@ -32,3 +32,3 @@
32 <y>0</y> 32 <y>0</y>
33 <width>425</width> 33 <width>262</width>
34 <height>321</height> 34 <height>321</height>
@@ -46,17 +46,2 @@
46 </property> 46 </property>
47 <widget>
48 <class>QLayoutWidget</class>
49 <property stdset="1">
50 <name>name</name>
51 <cstring>Layout31</cstring>
52 </property>
53 <property stdset="1">
54 <name>geometry</name>
55 <rect>
56 <x>1</x>
57 <y>6</y>
58 <width>240</width>
59 <height>310</height>
60 </rect>
61 </property>
62 <grid> 47 <grid>
@@ -64,3 +49,3 @@
64 <name>margin</name> 49 <name>margin</name>
65 <number>0</number> 50 <number>11</number>
66 </property> 51 </property>
@@ -92,2 +77,9 @@
92 <property stdset="1"> 77 <property stdset="1">
78 <name>sizePolicy</name>
79 <sizepolicy>
80 <hsizetype>1</hsizetype>
81 <vsizetype>0</vsizetype>
82 </sizepolicy>
83 </property>
84 <property stdset="1">
93 <name>text</name> 85 <name>text</name>
@@ -139,2 +131,9 @@
139 <property stdset="1"> 131 <property stdset="1">
132 <name>sizePolicy</name>
133 <sizepolicy>
134 <hsizetype>0</hsizetype>
135 <vsizetype>0</vsizetype>
136 </sizepolicy>
137 </property>
138 <property stdset="1">
140 <name>maximumSize</name> 139 <name>maximumSize</name>
@@ -148,48 +147,2 @@
148 </widget> 147 </widget>
149 <widget row="3" column="0" >
150 <class>QLayoutWidget</class>
151 <property stdset="1">
152 <name>name</name>
153 <cstring>Layout18</cstring>
154 </property>
155 <hbox>
156 <property stdset="1">
157 <name>margin</name>
158 <number>0</number>
159 </property>
160 <property stdset="1">
161 <name>spacing</name>
162 <number>6</number>
163 </property>
164 <widget>
165 <class>QLabel</class>
166 <property stdset="1">
167 <name>name</name>
168 <cstring>TextLabel3</cstring>
169 </property>
170 <property stdset="1">
171 <name>frameShape</name>
172 <enum>NoFrame</enum>
173 </property>
174 <property stdset="1">
175 <name>text</name>
176 <string>Category:</string>
177 </property>
178 </widget>
179 <widget>
180 <class>CategorySelect</class>
181 <property stdset="1">
182 <name>name</name>
183 <cstring>comboCategory</cstring>
184 </property>
185 <property stdset="1">
186 <name>minimumSize</name>
187 <size>
188 <width>60</width>
189 <height>0</height>
190 </size>
191 </property>
192 </widget>
193 </hbox>
194 </widget>
195 <widget row="0" column="0" > 148 <widget row="0" column="0" >
@@ -216,2 +169,9 @@
216 <property stdset="1"> 169 <property stdset="1">
170 <name>sizePolicy</name>
171 <sizepolicy>
172 <hsizetype>1</hsizetype>
173 <vsizetype>0</vsizetype>
174 </sizepolicy>
175 </property>
176 <property stdset="1">
217 <name>text</name> 177 <name>text</name>
@@ -259,3 +219,3 @@
259 <sizepolicy> 219 <sizepolicy>
260 <hsizetype>7</hsizetype> 220 <hsizetype>0</hsizetype>
261 <vsizetype>0</vsizetype> 221 <vsizetype>0</vsizetype>
@@ -270,9 +230,72 @@
270 </widget> 230 </widget>
271 <widget row="5" column="0" > 231 <widget row="4" column="0" >
272 <class>QMultiLineEdit</class> 232 <class>QLayoutWidget</class>
273 <property stdset="1"> 233 <property stdset="1">
274 <name>name</name> 234 <name>name</name>
275 <cstring>txtTodo</cstring> 235 <cstring>Layout30</cstring>
236 </property>
237 <hbox>
238 <property stdset="1">
239 <name>margin</name>
240 <number>0</number>
241 </property>
242 <property stdset="1">
243 <name>spacing</name>
244 <number>6</number>
245 </property>
246 <widget>
247 <class>QLabel</class>
248 <property stdset="1">
249 <name>name</name>
250 <cstring>TextLabel1</cstring>
251 </property>
252 <property stdset="1">
253 <name>sizePolicy</name>
254 <sizepolicy>
255 <hsizetype>1</hsizetype>
256 <vsizetype>0</vsizetype>
257 </sizepolicy>
258 </property>
259 <property stdset="1">
260 <name>text</name>
261 <string>Summary:</string>
276 </property> 262 </property>
277 </widget> 263 </widget>
264 <widget>
265 <class>QLineEdit</class>
266 <property stdset="1">
267 <name>name</name>
268 <cstring>lneSum</cstring>
269 </property>
270 </widget>
271 <widget>
272 <class>OClickableLabel</class>
273 <property stdset="1">
274 <name>name</name>
275 <cstring>lblDown</cstring>
276 </property>
277 <property stdset="1">
278 <name>sizePolicy</name>
279 <sizepolicy>
280 <hsizetype>0</hsizetype>
281 <vsizetype>0</vsizetype>
282 </sizepolicy>
283 </property>
284 <property stdset="1">
285 <name>minimumSize</name>
286 <size>
287 <width>20</width>
288 <height>20</height>
289 </size>
290 </property>
291 <property stdset="1">
292 <name>maximumSize</name>
293 <size>
294 <width>20</width>
295 <height>20</height>
296 </size>
297 </property>
298 </widget>
299 </hbox>
300 </widget>
278 <widget row="1" column="0" > 301 <widget row="1" column="0" >
@@ -331,3 +354,17 @@
331 </widget> 354 </widget>
332 <widget row="4" column="0" > 355 <widget row="5" column="0" >
356 <class>QMultiLineEdit</class>
357 <property stdset="1">
358 <name>name</name>
359 <cstring>txtTodo</cstring>
360 </property>
361 <property stdset="1">
362 <name>sizePolicy</name>
363 <sizepolicy>
364 <hsizetype>7</hsizetype>
365 <vsizetype>7</vsizetype>
366 </sizepolicy>
367 </property>
368 </widget>
369 <widget row="3" column="0" >
333 <class>QLayoutWidget</class> 370 <class>QLayoutWidget</class>
@@ -335,3 +372,3 @@
335 <name>name</name> 372 <name>name</name>
336 <cstring>Layout30</cstring> 373 <cstring>Layout33</cstring>
337 </property> 374 </property>
@@ -350,14 +387,18 @@
350 <name>name</name> 387 <name>name</name>
351 <cstring>TextLabel1</cstring> 388 <cstring>TextLabel3</cstring>
352 </property> 389 </property>
353 <property stdset="1"> 390 <property stdset="1">
354 <name>text</name> 391 <name>sizePolicy</name>
355 <string>Summary:</string> 392 <sizepolicy>
393 <hsizetype>1</hsizetype>
394 <vsizetype>0</vsizetype>
395 </sizepolicy>
356 </property> 396 </property>
357 </widget>
358 <widget>
359 <class>QLineEdit</class>
360 <property stdset="1"> 397 <property stdset="1">
361 <name>name</name> 398 <name>frameShape</name>
362 <cstring>lneSum</cstring> 399 <enum>NoFrame</enum>
400 </property>
401 <property stdset="1">
402 <name>text</name>
403 <string>Category:</string>
363 </property> 404 </property>
@@ -365,18 +406,18 @@
365 <widget> 406 <widget>
366 <class>OClickableLabel</class> 407 <class>CategorySelect</class>
367 <property stdset="1"> 408 <property stdset="1">
368 <name>name</name> 409 <name>name</name>
369 <cstring>lblDown</cstring> 410 <cstring>comboCategory</cstring>
370 </property> 411 </property>
371 <property stdset="1"> 412 <property stdset="1">
372 <name>minimumSize</name> 413 <name>sizePolicy</name>
373 <size> 414 <sizepolicy>
374 <width>20</width> 415 <hsizetype>7</hsizetype>
375 <height>20</height> 416 <vsizetype>0</vsizetype>
376 </size> 417 </sizepolicy>
377 </property> 418 </property>
378 <property stdset="1"> 419 <property stdset="1">
379 <name>maximumSize</name> 420 <name>minimumSize</name>
380 <size> 421 <size>
381 <width>20</width> 422 <width>60</width>
382 <height>20</height> 423 <height>20</height>
@@ -389,3 +430,2 @@
389 </widget> 430 </widget>
390</widget>
391<customwidgets> 431<customwidgets>
diff --git a/core/pim/todo/todoentryimpl.cpp b/core/pim/todo/todoentryimpl.cpp
index dd01130..6af229c 100644
--- a/core/pim/todo/todoentryimpl.cpp
+++ b/core/pim/todo/todoentryimpl.cpp
@@ -35,2 +35,3 @@
35 35
36#include <qlayout.h>
36#include <qmessagebox.h> 37#include <qmessagebox.h>
@@ -92,2 +93,5 @@ void NewTaskDialog::init()
92{ 93{
94 if( layout() != 0 ){
95 layout()->setMargin( 0 );
96 }
93 QPopupMenu *m1 = new QPopupMenu( this ); 97 QPopupMenu *m1 = new QPopupMenu( this );