PDA

View Full Version : qt binding?



giugio
12th November 2012, 16:36
hello.
Is possible in qt bind a textedit control or other single value control to a model?
also if the model have only a row ?

And if the model have more than one row is possible navigate between the record of the model(row 1,row 2,row 3 have different content).
Thanks.

ps.
there are some examples of dialog with master/detail , is useful specially in db application,
thanks

giugio
13th November 2012, 08:31
qt don't support control binding to model for one field control(like editbox)?
and a cursor for model for change runtime binding the editbox to the next record(next row)?

thanks.

giugio
15th November 2012, 12:21
is not possible?
thanks.

amleto
15th November 2012, 12:25
qt model/view framework

wysota
15th November 2012, 14:33
qt don't support control binding to model for one field control(like editbox)?
and a cursor for model for change runtime binding the editbox to the next record(next row)?

thanks.

Have a look at QDataWidgetMapper.