On Thu, Oct 25, 2007 at 12:18:51PM -0500, Bo Peng wrote: > > ok, i'll have a look. thanks. > > > > (i still prefer the Shift+ style though...) > > Because ShortcutLineEdit keeps KeySequence, you can return it > directly. Therefore, you do not have to use KeySequence::BindFile > format to display them. (Change to KeySequence::Portable in line 1872 > of GuiPrefs.cpp), > > The only problem is line 2072 of GuiPrefs.cpp where the string > representation got from ShortcutLineEdit is used. You can provide > bind(KeySequence, LFUN) interface in KeyMap.h to fix this.
Since we are at CustomizedWidgets.h: Is there a reason that this is not in namespace lyx::frontend. Also, the only _needed_ #include thre is QLineEdit. Andre'