On Sat, Jun 15, 2002 at 08:49:29PM +0200, Asger Kunuk Alstrup Nielsen wrote:

> OK, we have a plan now.

Cool.

> We have introduced a LyXKeySym class

Ah, lkey, except it's untypable ... only kidding :)

> The point is that the LyX core only needs this functionality from the
> KeySym:
> 
> - Storage in a vector, in the kb_sequence class
> - Equality comparision in the kb_sequence and kb_map classes

It sounds a lot like this is essentially a QKeyEvent-based thingy

> - Construction for a symbolic name in the kb_map::parse method

OK, conversion from QKeyEvent::key() into the name (what my qlkey.h did
I think ...)

> - Presentation as a symbolic name, in the kb_map/kb_sequence classes

What's the difference here ?

> - Conversion to a local ISO encoding for entry into the text

looks like QKeyEvent::text() after a run through QTextCodec ?

http://doc.trolltech.com/2.3/qkeyevent.html
http://doc.trolltech.com/2.3/qtextcodec.html

regards
john

-- 
"If a thing is not diminished by being shared, it is not rightly owned if
 it is only owned & not shared."
        - St. Augustine

Reply via email to