Re: Capture keystroke sequence to a QLineEdit.

2007-10-20 Thread Bo Peng
> I will commit > the direct-edit version later today and wait for others to implement > this. The shortcut configuration panel patch has just been committed. Please test and comment. Cheers, Bo

Re: Capture keystroke sequence to a QLineEdit.

2007-10-20 Thread Bo Peng
> I don't know exactly how to do this, but here's what I've learned by > looking at the code. Your analyses make perfect sense but I still cannot gather enough courage to do this. After all, this is advanced qt programming and our qt experts can do this much faster and better than me. I will commi

Re: Capture keystroke sequence to a QLineEdit.

2007-10-19 Thread Richard Heck
Bo Peng wrote: http://api.kde.org/4.0-api/kdelibs-apidocs/kdeui/html/kkeysequencewidget_8cpp-source.html I think this is how KDE's shortcuts configuration dialog captures key sequences. Can anyone adapt this to my simple Shortcut dialog? Basically, I need the multi-key mode of this dialog. If yo

Capture keystroke sequence to a QLineEdit.

2007-10-18 Thread Bo Peng
http://api.kde.org/4.0-api/kdelibs-apidocs/kdeui/html/kkeysequencewidget_8cpp-source.html I think this is how KDE's shortcuts configuration dialog captures key sequences. Can anyone adapt this to my simple Shortcut dialog? Basically, I need the multi-key mode of this dialog. If you want to know ho