Delegate QTableView o QTableWidget



  • hello qt and all who do good work schedule, my question I have is: which of the two classes QTableView or QTableWidget I can use for good performance with delegates (QCheckBox, QComboBox, QDateEdit, QSipinBox, QProgressBar, etc.) in a table with connection to a database and its respective relationship, it can QSqlRelationalDelegate'm adapting to various elements, while with QTableWidget is much easier. What can sugerime you?


  • Lifetime Qt Champion

    Hello,

    Since you have a database behind, QTableView is the way to go (Have a look at the various examples of the QtSql module)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.