Results 1 to 11 of 11

Thread: QComboBox::insertItem() not honoring id?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2006
    Location
    Erlangen, Germany
    Posts
    58
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    11
    Thanked 1 Time in 1 Post

    Default QComboBox::insertItem() not honoring id?

    hi,
    The Manual tells us:
    void QComboBox::insertItem ( int index, const QString & text, const QVariant & userData = QVariant() )
    Inserts the text and userData into the combobox at the given index.
    therefore i would expect QCombobox to honor the ids i give it? Please see attached mini-project: it does not. (at least not Version 4.1.4 on Windows XP)
    Is this normal? Is there a different Result on different Computers?
    Attached Files Attached Files

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.