That sounds like you are no longer publically inheriting from QTableView.
Thanks! I put "public" before QTableWidget and now everything is working fine!
Qt Code:
  1. class TestEvt : public QTableWidget {...
To copy to clipboard, switch view to plain text mode 

Which one do you thing is more correct? Promote my table or do like prasad_N did.