Results 1 to 3 of 3

Thread: QcomboBox update QTreeView

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QcomboBox update QTreeView

    Hello,
    I have a QComboBox with a selection of Music Genres, i have a QTreeView using QSqlQueryModel which build a list of albums from a Sqlite DB, When Selecting a Genre in the QComboBox i would like it to update the QTreeView with only albums with the Genre Set. What would be the best way to implement this.

  2. #2
    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: QcomboBox update QTreeView

    J-P Nurmi

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QcomboBox update QTreeView

    Have an example?

Similar Threads

  1. QComboBox does not update
    By Cruz in forum Qt Programming
    Replies: 8
    Last Post: 19th February 2009, 17:56
  2. Qt Update project - Opinions wanted
    By pvdk in forum Qt Programming
    Replies: 0
    Last Post: 8th November 2008, 08:41
  3. QComboBox drop list button events
    By maird in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2007, 19:25
  4. How to use QTreeView in QComboBox?
    By Tamara in forum Qt Programming
    Replies: 2
    Last Post: 20th June 2007, 19:03

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.