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

QCheckBox Item In QComboBox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.5.1
    • Widgets: Itemviews
    • None
    • Linux Mint 17.2 (32 bit)
      Qt 5.5.1 32 bit
      Laptop with Centrino Duo 3Gb Ram and 30Gb disk available

    Description

      While attempting to create an edit delegate using QStyledItemDelegate I encountered a problem unique to my Linux Mint 17.2 platform.

      The edit delegate is a QComboBox with QCheckbox Items. The bug appears when displaying the list of items. None are checkbox items. They only appear as text items that cannot be selected.

      When the same code is run on a Windows (MinGW) installation all works correctly.

      I have double checked the dependency list for Linux (X11) and all are there.

      I have also substituted QItemDelegate instead of QStyledItemDelegate and get the same result.

      Attachments

        1. delegate.cpp
          2 kB
        2. delegate.h
          3 kB
        3. main.cpp
          0.8 kB
        4. tester.pro
          0.3 kB

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              ad5xj Ken Standard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes