Results 1 to 2 of 2

Thread: Ubuntu 13.10 - cant make ComboBox with checkable items

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Ubuntu 13.10 - cant make ComboBox with checkable items

    I've tested this Qt4 on Linux with several styles and it work with others but cleanlooks.

    You can try yourself, for example
    Qt Code:
    1. programname -style plastique
    To copy to clipboard, switch view to plain text mode 

    Interestingly, if I set the list view as the combobox view
    Qt Code:
    1. combo->setView(new QListView);
    To copy to clipboard, switch view to plain text mode 
    I get checkable items, but clickingan item does not close the popup.

    With Qt5 I get the behavior with all styles.

    Perhaps something to search the bug database for.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    wyder (22nd March 2014)

Similar Threads

  1. Making QTreeView Items Checkable
    By JimDaniel in forum Qt Programming
    Replies: 4
    Last Post: 30th January 2020, 16:43
  2. Replies: 4
    Last Post: 31st March 2010, 11:48
  3. Combobox with checkable items
    By qtneuling in forum Qt Programming
    Replies: 1
    Last Post: 5th July 2008, 14:42
  4. checkable items in QTableView
    By cgorac in forum Qt Programming
    Replies: 6
    Last Post: 11th March 2008, 22:45
  5. QDirModel+QTreeView and checkable items
    By L.Marvell in forum Qt Programming
    Replies: 7
    Last Post: 11th May 2007, 18:54

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.