How to programmatically change the currentIndex of comboBox using QStandardItemModel ?
-
How to use the QStandardItemModel :: setData function to set the current value for a combobox that is found in a certain cell for example at index (0,0) and calls the ComboBoxItemDelegate :: setModelData function.
I know that ComboBoxItemDelegate :: setModelData function is called when an item is selected from the combo box but my problem is that ComboBoxItemDelegate :: setModelData function is not called by calling the combobox setData. So i want to call combobox setData or (any other function ) programatically that will call ComboBoxItemDelegate :: setModelData