Results 1 to 4 of 4

Thread: How to create a QComboBox pop up items with button style?

  1. #1
    Join Date
    Mar 2013
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default How to create a QComboBox pop up items with button style?

    Hi I have a 3 items combobox, I want to view them as button style. Any advice?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to create a QComboBox pop up items with button style?

    You could start by explaining what you mean by "view them as button style"

  3. #3
    Join Date
    Mar 2013
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to create a QComboBox pop up items with button style?

    Sorry for my English, :-)

    I want to flat Drop-down Button for ComboBox.

  4. #4
    Join Date
    Aug 2012
    Posts
    29
    Thanked 2 Times in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to create a QComboBox pop up items with button style?

    If you mean to have a customized combobox with your own close buttons then you just need to overwrite the paint function.

Similar Threads

  1. QCombobox style - list permanently open
    By braindead in forum Qt Programming
    Replies: 2
    Last Post: 20th March 2012, 15:05
  2. QComboBox not showing all items
    By musikit in forum Qt Programming
    Replies: 3
    Last Post: 10th April 2008, 16:01
  3. Style Sheet color of QComboBox
    By tpf80 in forum Qt Programming
    Replies: 6
    Last Post: 25th June 2007, 02:55
  4. QComboBox and style
    By Lele in forum Qt Programming
    Replies: 3
    Last Post: 17th July 2006, 16:41
  5. QcomboBox items
    By therealjag in forum Newbie
    Replies: 5
    Last Post: 27th March 2006, 08:21

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.