Quoting Anil <[EMAIL PROTECTED]>:
bool QSqlRelationalTableModel::setData ( const QModelIndex & index, const
QVariant & value, int role = Qt::EditRole )
I think you should use setData(). I haven't used setModelData()
before. The usual way is like this:
- Create a new row
- Use setData() t
Hi
I have a QTableView that is showing some data from a MySQL database and I am
trying to use it to add new values to the table.
How can I preload some of the fields with available information like UserName
and date rather than asking user to enter it.
I tried to preset in
def setModelData(se