美文网首页
QTableView

QTableView

作者: 满庭芳里买楚楚 | 来源:发表于2017-12-13 14:24 被阅读0次

    Python中做表格需要的几个类(Copy From https://doc.qt.io/qt-5/):

    • QTableWidget用来呈现一个一个QTableWidgetItem
      (1) The QTableWidget class provides an item-based table view with a default model. Table widgets provide standard table display facilities for applications.
      (2) The items in a QTableWidget are provided by QTableWidgetItem
      (3) If you want a table that uses your own data model you should use QTableView rather than this class.

    • QTableWidgetItem
      (1) The QTableWidgetItem class provides an item for use with the QTableWidget class. Table items are used to hold pieces of information for table widgets. Items usually contain text, icons, or checkboxes.
      (2) The QTableWidgetItem class is a convenience class that replaces the QTableItem class in Qt 3. It provides an item for use with the QTableWidget class.

    • QTableView
      .
      .
      .

    • Model/View Programming

    • QT Model/View Framework
      Model是用来包含用户存储的数据的
      View是用来展示Model的

    相关文章

      网友评论

          本文标题:QTableView

          本文链接:https://www.haomeiwen.com/subject/ggyoixtx.html