Results 1 to 3 of 3

Thread: Help ComboBox and Model

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2006
    Location
    France
    Posts
    34
    Thanks
    12
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Help ComboBox and Model

    Hy,

    I'm a bit new to c++ and Qt, and I would like to build a simple app that use a model, with combo box.

    Here is a simple code that I wrote (in attachement).

    The problem is that combobox are not populated correctly (the icon is correct on my mac, but when I clic on it, it's all wrong).
    But the tree view is correctly populated.

    What I did wrong ?
    Thanks
    Attached Files Attached Files

Similar Threads

  1. How to populate delegate with model data.
    By kaushal_gaurav in forum Qt Programming
    Replies: 2
    Last Post: 4th August 2008, 09:31
  2. Combobox with checkable items
    By qtneuling in forum Qt Programming
    Replies: 1
    Last Post: 5th July 2008, 14:42
  3. Replies: 2
    Last Post: 18th March 2008, 15:38
  4. Replies: 1
    Last Post: 16th November 2007, 12:06
  5. ComboBox with QSqlTableModel
    By musti in forum Newbie
    Replies: 3
    Last Post: 9th November 2007, 23:49

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.