[Interest] Depending QCombobox

Michele Ciampichetti cia.michele at gmail.com
Mon Jan 9 09:08:51 CET 2012


Good morning to all,
How can I create 3 depending QCombobox, for example Country, City and Zip
Code, so that when I select one, the other ones are filtered by the value
of the first one? I'm use a QSqlRelationalTableModel and 3 relations (so
also 3 QSqlTableModel). I know that I can use QComboBox signal to filter
data of QSqlTableModel, but if I use the QDataWidgetMapper the search on it
don't fire any QCombobox Signal, so, how can I got what I want?

Thanks a lot for your time!

Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120109/ed4c8e9c/attachment.html>


More information about the Interest mailing list