"Bo Peng" <[EMAIL PROTECTED]> writes: > Right now, I have to try to 'revert' to a bind list, and let the user > do in-place modification. The problem is that I do not know qt and > event handling and I have no idea how to catch keybindings when a user > actually type them.
I am sure there is code for this somewhere. KDE has that, at least. > As I have said, I plan to get the big parts done, and let the GUI > experts polish it. I would of course appreciate it if someone can join > this effort now. I am no GUI expert. I can give some advice about the KeyMap part, though. > It was difficult enough for me to figure out all the KeyMap, > KeySequence, KeySymbol stuff ... This should not be the reason to > commit ugly code though. I know this things are a pain. What I have tried to do is offer a reasonable interface for KeySequence. We can add things if needed, but I think no knowledge of the inner working of key sequences should be needed. > This is what I will do, and I will need another keyword \nobind to or \unbind or simply \bind "C-I" "" > remove bindings defined in the main binding file. Is this a good idea? > Do you want a separate bind configuration file > > \bindfile cua.bind > \nobind C-I blah > \bind C-Y blah > > or putting these in the main preference file? I'd propose \bindfile cua in lyxrc and have a file user.bind that is always read in addition to the other one. Having an indication of what binding is a default one or a user one would be nice too. JMarc