Hello How do I implement a checkbox in a QTableView column that retreives/stores values in a database? Also, I have one model with columns say abc and I have two QTableViews of this model that show the columns in different orders - bca and cab. How do I change the column order in the QTableView? Thanks