I can\'t find a standard way to disable an individual item in a Qt combo box. Is there a facility to do this in Qt that I am missing?
Why hack.. We know the model is a QStandardItemModel...
model = dynamic_cast< QStandardItemModel * >( combobox->model() ); item = model->item( row, col ); item->setEnabled( false );
Clean, elegant, and no hack...