QTableWidget is actually a subclass of QTableView. QTableWidget is just a "convenience view", with it's prebuilt default model. So with QTableWidget you don't need a separate model and you can work with QTableWidgetItems instead of QModelIndexes.