[Qt-interest] Assiging the SQl database table values for Label and listwidget items

Charles Yin yinyunqiao at gmail.com
Fri Jul 17 08:19:52 CEST 2009


QListWidget uses internal model to manage the data. So you should probably
use QListView instead and call the setModel() method for your customized
database model class. Although the QListWidget inherits from QListView, it's
not the best way to do MV programming.

Charles Yin

On Fri, Jul 17, 2009 at 2:54 PM, Yuvaraj R <yuvaraj at ongobiz.com> wrote:

> Hi All
>
>  How do assign the QSql database Table values for label listwidget..
>
> Any Idea. Always  welcome
>
>
> Thanks
>
> Yuvaraj R
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090717/0c8b20b5/attachment.html 


More information about the Qt-interest-old mailing list