Re: Currently Assigned to
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2005-01-03 19:20:28
|
Sorry for the big delay. Thiago F.G. Albuquerque wrote: > On Mon, 13 Dec 2004, Salvador Eduardo Tropea wrote: > >> Thiago F.G. Albuquerque wrote: >> >>> In the key binding dialog, when you assign a key that was already >>> assigned to something else, the editor warns you. But it doesn't >>> tell you which stuff it was previously assigned to. That's something >>> I miss. I'd like to have one extra field (widget?) in the "Sequence >>> of keys" window with the caption "currently assigned to:" that >>> would display to what the currently selected item in the list box is >>> assigned to. >>> >>> I imagine this would involve doing a reverse lookup in the key >>> binding table (if such thing exists). >> >> >> I implemented it, is in the CVS. Please try it and tell me if it >> works as you describe. >> Currently what I'm doing is to simulate the "addition" process every >> time the sequence is edited. The result of the simulated addition is >> displayed at the top of the dialog. > > > Sorry for the delay. > > It is working, but I have some remarks. > > 1) The "assigned to" field doesn't show the command assigned to the > key currently selected it the list box: it shows the command assigned > to the last key pressed. So, if you change the selection in the edit > box (in case this is a multi-key assignment), it still shows the > command assigned to the other key. > > But, now that I am thinking about it, in the case of multi-key > assignments, this wouldn't make sense anyway. Because what the user > would want to know in a case like this is: "to what command this *key > sequence* is assigned?" and not "to what each individual key of the > sequence is assigned?" Yes, I think the important thing is to know about the complete sequence. > 2) Cosmetic stuff: maybe the "assigned to" label should be below the > boxes (edit box and radio group) or just below the edit box. May be, I'll try it and see if the result looks better. Regards, SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |