[Qt-interest] Disable keyboard navigation?
Girish Ramakrishnan
girish at forwardbias.in
Thu Jul 23 23:21:02 CEST 2009
Anatoly Burakov wrote:
> Hi all,
>
> I am looking for a way to disable keyboard navigation in QTableView (e.
> g. when i press 'F' key the view is automatically looking for the first
> entry with 'F' in it - i DO NOT want this behaviour). Is there any way i
> can achieve that without subclassing QTableView and reimplementing
> keyPressEvent() ?
You will have to subclass. Also, instead of keyPressEvent(), you can
provide an empty keyboardSearch() reimplementation.
Girish
More information about the Qt-interest-old
mailing list