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

QDataWidgetMapper does not update model when clicking on QCheckBox

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.3.4
    • Fix Version/s: Some future release
    • Component/s: Widgets: Itemviews
    • Labels:
      None

      Description

      A QDataWidgetMapper could be use to map a QCheckBox to a true/false field in a model. However, when clicking on the check box, the model is not updated. The model is only updated when pressing the enter key or when the check box loses focus.

      The model should be updated when the check box has been clicked.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes