Re: the qt key problem

2002-11-25 Thread John Levon
On Mon, Nov 25, 2002 at 12:36:44PM +0100, Jean-Marc Lasgouttes wrote: > >> You should add an error message at the end of qkey_to_string and > >> string_to_qkey to find the missng entries and both should rely on a > >> common table > > John> No, can't work. > > What do you mean? The attached patc

Re: the qt key problem

2002-11-25 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Fri, Nov 22, 2002 at 10:47:54AM +0100, Jean-Marc Lasgouttes John> wrote: >> You should add an error message at the end of qkey_to_string and >> string_to_qkey to find the missng entries and both should rely on a >> common table John>

Re: the qt key problem

2002-11-22 Thread John Levon
On Fri, Nov 22, 2002 at 09:50:43AM +0100, Jean-Marc Lasgouttes wrote: > John> if (Str == "Ä") return "Adiaresis"; > > Where would you put that? We'd have to call it in operator== regards john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

Re: the qt key problem

2002-11-22 Thread John Levon
On Fri, Nov 22, 2002 at 08:38:06AM -0500, Kuba Ober wrote: > Wasn't it so that Qt 2.x didn't recognize them, and then Qt 3.x started to > properly recognize them? I don't know, is it ? > Is there any particular reason why lyx needs to support Qt 2.x? It's pretty > outdated and has some bugs th

Re: the qt key problem

2002-11-22 Thread Kuba Ober
> That neither. Believe me, this stuff is REALLY fubar. And there is > nothing we can do about it. Simple fact is, for Herbert's/Juergen's keys > to work, we have to match : > > (Qt::Key_unknown/"Ä") against (Qt::Key_Adiaresis/"Adiaresis") > > Now, the fact that Qt doesn't recognise so many keys (a

Re: the qt key problem

2002-11-22 Thread John Levon
On Fri, Nov 22, 2002 at 10:47:54AM +0100, Jean-Marc Lasgouttes wrote: > You should add an error message at the end of qkey_to_string and string_to_qkey > to find the missng entries and both should rely on a common table No, can't work. > (string,int) in order to avoid mistakes. That neither. Be

Re: the qt key problem

2002-11-22 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> Actually the SELFINSERT hack I suggested won't work either. We John> have no other solution than another table : John> if (Str == "Ä") return "Adiaresis"; John> or vice versa (or using Qt::Key_Adiaresis). Isn't Qt fun ? John> People

Re: the qt key problem

2002-11-22 Thread Juergen Vigna
John Levon wrote: People with these problems need to find EVERY failing case and add it into the table. Well I think in first place we have to investigate WHY it doesn't work for some people. As I told you it works for me with qt3. Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-

Re: the qt key problem

2002-11-22 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> Actually the SELFINSERT hack I suggested won't work either. We John> have no other solution than another table : John> if (Str == "Ä") return "Adiaresis"; Where would you put that? JMarc

the qt key problem

2002-11-21 Thread John Levon
Actually the SELFINSERT hack I suggested won't work either. We have no other solution than another table : if (Str == "Ä") return "Adiaresis"; or vice versa (or using Qt::Key_Adiaresis). Isn't Qt fun ? People with these problems need to find EVERY failing case and add it into the table.