PDA

View Full Version : QDataWidgetMapper and QLineEdit



GuL
12th August 2008, 12:10
Can someone give an example of how to use QDataWidgetMapper and QLineEdit? I want to show the contents of a query in a QLineEdit, then I want to use this information to modify the info in the database. I'm using QMYSQL to connect to the database.

Renan

wysota
12th August 2008, 19:56
Have you seen the example in the docs? One of the widgets it uses is a QLineEdit.

GuL
13th August 2008, 14:42
which one? in which submenu, SQL?

Renan

jpn
13th August 2008, 14:58
The one in QDataWidgetMapper class reference documentation.