[Interest] QTableView

pengliang(彭亮) pengliang at founder.com
Wed Mar 27 06:43:15 CET 2013


Hi All

         QtableView display sql table. 

But I want to merge data of two columns in sql table to one column in  QtableView.

 

 

Eg:

Sql table:

1       2       3       4       5       6

Aa    bb     cc     dd     ee     ff

Gg    hh     ii       jj       kk     ll

 

QtableView

1               2                3

Aabb         ccdd          eeff

Gghh         iijj               kkll

 

 

I want to design a Sql Model for QtableView,but I don’t know how to do it!

Anybody has good idea?

 

 

Thanks

Ken

 

 

 

 

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130327/dc49f591/attachment.html>


More information about the Interest mailing list