Working in Qt4.6 on mac os 10.6 , Whenever i press Space key item in QTreeWidget gets checked, i am trying to handle it using keyPressEvent but nothing happens.
Qt Code:
{ this->QTreeWidget::keyPressEvent(event); if(event->key()==Qt::Key_Space) { event->ignore(); } }To copy to clipboard, switch view to plain text mode
What should i do so that nothing happens on press of space key.
Regards,



Bookmarks