Re: [PATCH] bug 490

2002-11-11 Thread Andre Poenitz
On Mon, Nov 11, 2002 at 04:49:26PM +0100, Juergen Spitzmueller wrote: > Please have a look, if the changes to lyxlength (the default unit) can > go in to fix bug 490. I can't judge the Qt part, but the rest looks sensible. Maybe you could have a look whether there are other places using strange t

Re: [PATCH] bug 490

2002-11-11 Thread Juergen Spitzmueller
Andre Poenitz wrote: > On Mon, Nov 11, 2002 at 04:35:36PM +0100, Juergen Spitzmueller wrote: > > No comments? No interest? > > Pointer to patch? It's not in bugzilla, is it? No. It was attached to my previous mail in this thread: http://www.mail-archive.com/lyx-devel@;lists.lyx.org/msg47939.html

Re: [PATCH] bug 490

2002-11-11 Thread Andre Poenitz
On Mon, Nov 11, 2002 at 04:35:36PM +0100, Juergen Spitzmueller wrote: > No comments? No interest? Pointer to patch? It's not in bugzilla, is it? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: [PATCH] bug 490

2002-11-11 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > Attached is a patch which fixes bug 490 this way. No comments? No interest? Jürgen.

Re: [PATCH] bug 490

2002-11-08 Thread Juergen Spitzmueller
Andre Poenitz wrote: > Do they use anything from QDocument? I think it is no problem to move them outside, as they're quite general and they could probably used for all LineEdit+Combobox combinations who are outputting/showing LyXLengths (btw. this simplifies the code by at least one line per w

Re: [PATCH] bug 490

2002-11-08 Thread Andre Poenitz
On Fri, Nov 08, 2002 at 12:14:32PM +0100, Juergen Spitzmueller wrote: > For QT, I have written two methods in QDoument.C, similar to > UpdateWidgetsFormLength and GetLengthFromWidgets. They could be moved outside > QDocument eventually (where?). Do they use anything from QDocument? [I.e. do th

Re: [PATCH] bug 490

2002-11-08 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > the only way I see to solve this is to set the LyXLength default unit to > UNIT_NONE instead of PT (which is very arbitrary anyway) and add a bool > empty() to lyxlength Attached is a patch which fixes bug 490 this way. For QT, I have written two methods in QDoument.

[PATCH] bug 490 (not finished)

2002-11-07 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=490 the only way I see to solve this is to set the LyXLength default unit to UNIT_NONE instead of PT (which is very arbitrary anyway) and add a bool empty() to lyxlength (see attached patch). Would this be o.k. or have I overseen some side effects? With t