Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-18 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > I will commit the attached updated patch tomorrow if there is no > objection. This time, I also list LFUNs without any keybinding. This is much much better. You have my OK. Just a small comment: > + LyXAction::const_func_iterator fit = lyxaction.func_b

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-17 Thread Bo Peng
> Nice work. This is a big step towards something very useful. > > Question: I can edit the keybindings in the sense that I can type stuff, > but it has no effect. I take it that it isn't supposed to have an effect > yet? Only the display part has been done. Because the GUI has not been determined

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-17 Thread Jean-Marc Lasgouttes
"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

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-17 Thread Bo Peng
> This is definitely _not_ the way to go. If you need some code to get a > vector of functions and keysequences, just add that to KeyMap.h. The > GUI code shall not have to know about the structure of key sequences. You are right. > Similarly, the printing of keysyms is not a good idea. If you ha

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-17 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Author: bpeng >> Date: Tue Oct 16 19:48:37 2007 >> New Revision: 20991 >> >> URL: http://www.lyx.org/trac/changeset/20991 >> Log: >> List currently used shortcuts in the shortcuts panel of the pref

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-16 Thread Andre Poenitz
On Tue, Oct 16, 2007 at 01:56:54PM -0500, Bo Peng wrote: > > - what is that empty 1st column? > > I plan to use Qt::ItemIsUserCheckable to allow a user to disable > certain items, but this flag is not usable for TreeWidgetItem. I then > though of using a checkbox in the first column, but this is t

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-16 Thread Bo Peng
> - what is that empty 1st column? I plan to use Qt::ItemIsUserCheckable to allow a user to disable certain items, but this flag is not usable for TreeWidgetItem. I then though of using a checkbox in the first column, but this is too cumbersome. I guess in the end I will remove the first column an

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-16 Thread Edwin Leuven
Bo Peng wrote: Lfun and shortcuts can be edited in place so shortcut modification can be done in this way. If I add an empty item, new shortcut can be inserted. I guess I can also categorize these shortcuts. Any comments? i like the direction this is going. have some quick (first impression)

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-16 Thread Richard Heck
Bo Peng wrote: On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: bpeng Date: Tue Oct 16 19:48:37 2007 New Revision: 20991 URL: http://www.lyx.org/trac/changeset/20991 Log: List currently used shortcuts in the shortcuts panel of the preference dialog Lfun and shortcuts c

Re: r20991 - in /lyx-devel/trunk/src: KeyMap.h frontends/qt4/...

2007-10-16 Thread Bo Peng
On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Author: bpeng > Date: Tue Oct 16 19:48:37 2007 > New Revision: 20991 > > URL: http://www.lyx.org/trac/changeset/20991 > Log: > List currently used shortcuts in the shortcuts panel of the preference dialog Lfun and shortcuts can be edited