Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-05 Thread John Levon
On Thu, Dec 05, 2002 at 10:12:58AM +0100, Jean-Marc Lasgouttes wrote: > It might be indeed. I just discovered though that latin1 contains > ydiaeresis but not Ydiaeresis. John, this is probably the reason why > the later is not handled by qt. Qt is already supposed to handle more than the paltry

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-05 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Thu, Dec 05, 2002 at 10:02:35AM +0100, Jean-Marc Lasgouttes Andre> wrote: >> Note that Ydiaeresis is really a weird thing. As far as I know, it >> is only found in french, and actually I only know of 3 words (one >> street name,

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-05 Thread Andre Poenitz
On Thu, Dec 05, 2002 at 10:02:35AM +0100, Jean-Marc Lasgouttes wrote: > Note that Ydiaeresis is really a weird thing. As far as I know, it is > only found in french, and actually I only know of 3 words (one street > name, one french writer's name and one village name) containing this > character. S

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-05 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Wed, Dec 04, 2002 at 06:09:59PM +0100, Jürgen Spitzmüller John> wrote: >> And -dbg key gives another million of this kind: q1 is unknown () >> ??Ydiaeresis John> with what else ? Indeed Qt knows nothing of Ydiaeresis. Note that Ydia

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread John Levon
On Wed, Dec 04, 2002 at 06:25:47PM +, Edwin Leuven wrote: > > q1 is unknown () ??Ydiaeresis > > is this the same as Key_ydiaeresis? no, that's lowercase > http://doc.trolltech.com/3.0/qt.html#Key-enum > > (Key_ydiaeresis = 0x0ff) moz X11 190 cgrepall Ydiaeresis ./HPkeysym.h:74:#define hpX

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread Edwin Leuven
> q1 is unknown () ??Ydiaeresis is this the same as Key_ydiaeresis? http://doc.trolltech.com/3.0/qt.html#Key-enum (Key_ydiaeresis = 0x0ff) Ed.

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread John Levon
On Wed, Dec 04, 2002 at 06:09:59PM +0100, Jürgen Spitzmüller wrote: > And -dbg key gives another million of this kind: > q1 is unknown () ??Ydiaeresis with what else ? Indeed Qt knows nothing of Ydiaeresis. The patch still should have worked for Adiaeresis though. Try outputting q1/2 key/text an

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread Jürgen Spitzmüller
John Levon wrote: > Try this No success. I get millions of these messages: QGArray: Cannot allocate array with negative length And -dbg key gives another million of this kind: q1 is unknown () ??Ydiaeresis Jürgen.

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread John Levon
On Wed, Dec 04, 2002 at 05:28:57PM +0100, Juergen Spitzmueller wrote: > Please do this (or send me a patch to test). This area looks very strange to > me. Try this john Index: QLyXKeySym.h === RCS file: /usr/local/lyx/cvsroot/lyx

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread John Levon
On Wed, Dec 04, 2002 at 05:26:17PM +0100, Jean-Marc Lasgouttes wrote: > I began to look at the code in qapplication_x11.cpp (at the end of > QApplication::x11ClientMessage), which generates the QKeyEvent, but > since I do not know the format of the XClientMessages that are sent > around (and do no

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread Juergen Spitzmueller
John Levon wrote: > Juergen, if you have trouble trying this, tell me, and I'll commit a > "framework" patch doing it. I can't test it obviously Please do this (or send me a patch to test). This area looks very strange to me. Thanks, Jürgen.

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Wed, Dec 04, 2002 at 04:33:35PM +0100, Jean-Marc Lasgouttes John> wrote: >> I took a quick look at the code and at qnamespace.h and have an >> obvious question: does anyone know why Qt does not return >> Qt::Adiaresis in this case? If

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread John Levon
On Wed, Dec 04, 2002 at 04:33:35PM +0100, Jean-Marc Lasgouttes wrote: > I took a quick look at the code and at qnamespace.h and have an > obvious question: does anyone know why Qt does not return > Qt::Adiaresis in this case? If it exists one would think that it is used somewhere, >no? Because Q

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> I't's easy. in operator== you need something like : John> if (r2.key() == Qt::Key_unknown) { string symb = John> qtext_to_symb(r2.text()); return r1.text() == symb.c_str(); } John> return r1.key() == r2.key(); John> where qtext_to

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread John Levon
On Wed, Dec 04, 2002 at 04:06:25PM +0100, Jean-Marc Lasgouttes wrote: > Juergen> Jean-Marc, are you intending to fix the umlaut/ß-Problem as > Juergen> well? > > I would not know how to do it... I just did the easy part. I't's easy. in operator== you need something like : if (r2.key() =

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> [EMAIL PROTECTED] wrote: >> Log message: fix some missing keys in qt frontend Juergen> Jean-Marc, are you intending to fix the umlaut/ß-Problem as Juergen> well? I would not know how to do it... I just did the easy part

Re: lyx-devel src/frontends/qt2/: ChangeLog qlkey.h

2002-12-04 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote: > Log message: > fix some missing keys in qt frontend Jean-Marc, are you intending to fix the umlaut/ß-Problem as well? Jürgen.