Results 1 to 3 of 3

Thread: Drop down checkbox list

  1. #1
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Thanks
    9
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Drop down checkbox list

    hello,

    how would I make a drop down checkbox list? Like the QComboBox but with selectable checkboxes for each item.
    At the moment I use a height restricted QListView but it's very unintuitive because you don't get an overview of the available choices.

    I found check boxes are supported in menus so I was considering trying a menu, but want to know first if there is a 'proper' way to do it.

    Richard

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Drop down checkbox list

    Did you search the forum ?
    This might help you

  3. #3
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Thanks
    9
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Drop down checkbox list

    thanks for the link.
    I tried what wysota hinted at about manipulating the model but didn't manage to get it working. So in the end I went with the QxtCheckComboBox.

    Richard

Similar Threads

  1. Replies: 6
    Last Post: 29th April 2014, 04:04
  2. Single slot for multiple list boxes
    By Sheetal in forum Qt Programming
    Replies: 1
    Last Post: 15th April 2008, 06:53
  3. Replies: 1
    Last Post: 22nd October 2007, 02:04
  4. QComboBox drop list button events
    By maird in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2007, 19:25
  5. Remote file list Drop to desktop
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 9th February 2007, 23:16

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.