I'm attaching the full source code.
Caduel if you have a free time, please have a look in it.
Thanks.
I'm attaching the full source code.
Caduel if you have a free time, please have a look in it.
Thanks.
I just had a brief look at your code. Have you seen a class called QDataWidgetMapper? I think you are trying to do something which is already in Qt.
I will see if this class has all that I need. But about the error, any ideas?
Thanks, for you reply!
I don't have MySQL installed, so I can't test it. Anyway, you should really do some reading. Instead of your custom classes you should use QSqlTableModel and QDataWidgetMapper. All your wrappers are completely redundant.
By the way, naming files using mixed case names is a really bad habit, try to avoid it.
Here is some code for you to play with... Oh... try changing the values in the field - they actaully get stored in the database.
Bookmarks