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

QCheckBox Item In QComboBox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important 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

      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.

        1. delegate.cpp
          2 kB
          Ken Standard
        2. delegate.h
          3 kB
          Ken Standard
        3. main.cpp
          0.8 kB
          Ken Standard
        4. tester.pro
          0.3 kB
          Ken Standard
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes