I am trying to programmatically pass the content of a QLineEdit
into rows of a QTableView
using a QPushButton
. I was wondering if there is anyone who can provide some guidance on how to do that.
Basically this is the initial situation:
and this is what I am trying to achieve using the QPushButton
"Send To TableView" in a dynamical way, which mean that every time I change image and its related content shown inside the two QLineEdit
I hit "Send To TableView" and the content is saved as shown below:
Every time I change image I repeat the process.
QSQLITE
is the databse that is handling all the SQL
for the QTableView
. It is structured using this code from my previous question.
How to easily achieve that? Thanks for shedding light on this issue.