Hello there,
this is probably a basic problem, but i couldn’t google it anywhere:(
I have a QDataWidgetMapper connected to a QComboBox.
QComboBox’s model has 2 columns:
[0] -> Column which has the primary keys.
[1] -> Column which has the the data to show.
The model which QDataWidgetMapper uses has only the Primary key value.
Is it possible to pass column [0] values to QComboBox and it sets the associated column [1] data to show in its dropdown.
My english is not the best hope its understandable.
Thx in advance.
↧