Results 1 to 10 of 10

Thread: QSqlRelationalTableModel and comboBox

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QSqlRelationalTableModel and comboBox

    I am trying to understand the QSqlRelationalTableModel and playing with an example coming with qt4 examples/sql/relationaltablemodel
    I want to add some properties to this example.
    There are two comboboxes one of is country and the other is city. I want to see cities only in cityComboBox belong to chosed country in countryComboBox.
    How can i do and if it possible I need an example.
    Thanks
    Last edited by musti; 11th October 2007 at 09:21.

Similar Threads

  1. combobox and item colors
    By zorro68 in forum Qt Programming
    Replies: 16
    Last Post: 23rd September 2007, 12:54
  2. [Qt 4.3.1]A problem with combobox style
    By Tamara in forum Qt Programming
    Replies: 3
    Last Post: 19th September 2007, 10:49
  3. Replies: 8
    Last Post: 15th May 2007, 09:21
  4. Combobox Signals
    By b1 in forum Qt Programming
    Replies: 3
    Last Post: 1st August 2006, 10:21
  5. Filling combobox from database
    By Philip_Anselmo in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2006, 17:53

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.