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

Default delegate ignores flags()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.7.1
    • Widgets: Itemviews
    • None

    Description

      I've been told that a checkbox should not be drawn if Qt::ItemIsCheckable is not set. My repository contains an example that renders differently in my case. In it is also a screenshot.

      if I add if (role == Qt::CheckStateRole) return QVariant() to data() the checkbox is not drawn (but the numbers are still unaligned).

      Attachments

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

        Activity

          People

            peppe Giuseppe D'Angelo
            ow Øystein Walle
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes