[QTableView remove selected rows?
-
... it's included as part of Qt's examples: http://doc.qt.io/qt-5/qtsql-relationaltablemodel-example.html
-
There is absolutely no difference. The trag and drop in Qt Designer generates an xml file describing your interface then
uicconverts that xml into code basically identical to the one in the examples.On top of this, your problem is not in the UI but in the model design so you should not really care about how the UI is created