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

Extend QDataWidgetMapper to handle Qt::ItemFlags for the mapped QModelIndex

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None

      Description

      My suggestion is to connect Qt::ItemIsEnabled flag of mapped QModelIndex with enabled property of QWidget. The reason is obvious: when item is not enabled - user cannot edit it, the same as it is in QTableView, QTreeView, etc. cell when this flag is not set.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              severin Severin Bednarz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes