Hi guys.
I have one question about QTableView and Model/View Programming...Is it right that the method createEditor of QStyledDelegate does nothing, if I set a default factory for each datatype in the view?

Qt Code:
  1. QItemEditorFactory::setDefaultFactory(factory);
To copy to clipboard, switch view to plain text mode 

And is it right that QItemEditorFactory is just a smarter attempt of creating different editors for types, than having a couple of if-condition in QStyledDelegate::createEditor for each type?

thanks