How to avoid user from entering special characters into QTableWidget Cell
How to avoid user from entering special characters into QTableWidget Cell?
Get control over the editor widget that is used, and you can determine for yourself which characters are accepted. One way is to create your own QAbstractItemDelegate subclass, another is to use QItemEditorFactory and set the factory to use on an existing delegate. You can create your own line edit class with all the input filters you need.
isn't that just like "this":http://developer.qt.nokia.com/forums/viewthread/10858/ ?