[Qt-interest] Drag and Drop w/ QSql based Models

Willy P willy.lists at gmail.com
Fri Sep 3 22:44:44 CEST 2010


Hey,
I can't seem to enable dragging on models that are derived from
QSqlQueryModel.  I've gotten drag and drop working on
QStandardItemModels just fine but the same code does not work for
QueryModels.

I'm using SqLite on the backend and I know that some Sql models are
read only.  Since I only want to be able to copy items from an Sql
based view to a non-sql based view this should not be a problem right?
 I just need to get drag enabled.

Is there something I'm missing?

Thanks a lot...

-Willy



More information about the Qt-interest-old mailing list