I
I
Ilya2018-04-10 17:23:57
Qt
Ilya, 2018-04-10 17:23:57

QTableView and Sql, editing database table from application?

Good afternoon.
Using QSqlRelationalTableModel, I pulled the model from the database table and placed it in a QTableView. Now, when I start the application, I can edit data from the database directly from the application, but this should not be, is this normal behavior? Do I need to somehow set the mode to read?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question