Results 1 to 4 of 4

Thread: separator in QComboBox

  1. #1
    Join Date
    Sep 2007
    Posts
    18
    Thanks
    3

    Default separator in QComboBox

    Hello dear Qt's

    How would I add a separator item (similar what we do in QMenu like addSeparator())
    to a QComboBox???

    Thanks in advace

    cheers

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: separator in QComboBox


  3. #3
    Join Date
    Sep 2007
    Posts
    18
    Thanks
    3

    Default Re: separator in QComboBox



    so easy???
    In which version of Qt is this method available for QComboBox?

    I use 4.3.3

    TIA

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: separator in QComboBox

    Seems to be available in upcoming Qt 4.4 (first beta out already) but not yet in Qt 4.3...
    J-P Nurmi

  5. The following user says thank you to jpn for this useful post:

    ashishsaryar (7th March 2008)

Similar Threads

  1. QComboBox
    By coderbob in forum Qt Programming
    Replies: 4
    Last Post: 12th December 2007, 07:38
  2. QComboBox drop list button events
    By maird in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2007, 20:25
  3. QComboBox in QTableWidget : display troubles.
    By Nyphel in forum Qt Programming
    Replies: 2
    Last Post: 14th October 2007, 00:29
  4. using QComboBox as an ItemView
    By EricTheFruitbat in forum Qt Programming
    Replies: 3
    Last Post: 24th January 2007, 17:14
  5. QDataWidgetMapper <=> QComboBox best practice
    By saknopper in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2007, 11:50

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.