graciano
18th January 2010, 17:00
Hi,
When using a model/view aproach i do ...
view->edit(index);
... changes will not make efect until i press "Return" or, if i want i can quit with Esc. Right?
Now suppose i have columns A, B, and C, where A is a Primary key in the database associated with the model.
I intend to validate that key with a beforeInsert SIGNAL.
Until here it's ok but ... now for the stupid question ... how do i get the value from column A in the row i'm editing?!
Thanks
When using a model/view aproach i do ...
view->edit(index);
... changes will not make efect until i press "Return" or, if i want i can quit with Esc. Right?
Now suppose i have columns A, B, and C, where A is a Primary key in the database associated with the model.
I intend to validate that key with a beforeInsert SIGNAL.
Until here it's ok but ... now for the stupid question ... how do i get the value from column A in the row i'm editing?!
Thanks