Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11549

QTableWidgetItem does not differ DisplayRole and EditRole

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P4: Low
    • 5.9.6
    • None
    • Documentation
    • None
    • 6ff8d8173d3056d8bd232e6c11da328a300915d5

    Description

      When calling the function
      QTableWidgetItem::setData(int role, const QVariant &value) or
      QTableWidgetItem::data(int role)
      with Qt::EditRole as the Role, the Qt::DisplayRole is actually set, or returned, respectively.

      This should either be documented or changed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kdpalara Kavindra Palaraja
            mawiesma Martin Wiesmann (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes