Results 1 to 1 of 1

Thread: QComboBox relational sql table

  1. #1
    Join Date
    Aug 2010
    Posts
    26
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Post QComboBox relational sql table

    Salutations, I've search around but no success. Do you guys know how to use relations with QComboBox? I simply need to retrieve data using the selected item, I'm currently using QSqlQueryModel as model, but it doesn't fulfill my needs. I know how to use QSqlRelationalTableModel with QTableView, but as I said, I'm needing to use relations with QComboBox this time... I hope anyone can help me, thanks in advance, and sorry for my bad english.

    And another question.. how do I `refresh` a view, so it reloads the model that has been recently changed and submitted so it can show the new items normally?
    Last edited by BrainStorm; 16th August 2010 at 18:35. Reason: spelling corrections

Similar Threads

  1. Replies: 6
    Last Post: 22nd November 2011, 04:53
  2. link the content og a QComboBox to a databse table
    By graciano in forum Qt Programming
    Replies: 2
    Last Post: 16th June 2010, 22:08
  3. get mysql table into QComboBox
    By eleanor in forum Qt Programming
    Replies: 17
    Last Post: 10th October 2007, 16:35
  4. Relational table model Calulation
    By aekilic in forum Qt Programming
    Replies: 8
    Last Post: 8th February 2007, 00:40
  5. Relational Table Model Problem
    By aekilic in forum Qt Programming
    Replies: 2
    Last Post: 20th January 2007, 15:57

Tags for this Thread

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.