I have a table in a database and I want a column's content be shown in a QComboBox.
I've seen examples using a QDataWidgetMapper for this but there is another table.
I've thought creating another table and create a relation with a foreign key and then to follow the strategy in sql examples for mapping
the column to QComboBox.
Is there a way for mapping the content of a table's column to a QComboBox without creating another table?