I'm using a QTextEdit as an Html Editor, and I want to give users the possibility of creating their own customized table in their .html files.

I've read a little bit QTableWidget and QTableView, but I couldn't get anything that could help me. Maybe I overlooked?

What Qt classes or methods should I look deeper?
Thank you.