[Qt-interest] Columns and Row Problem ??

Srdjan Todorovic todorovic.s at googlemail.com
Tue Mar 17 09:55:15 CET 2009


Hi,

2009/3/17 Sujan Dasmahapatra <sdh at lmglasfiber.com>:
> I am loading geometris on the screen  one by one and their names are being
> uploaded on the treeWidget. But according to my implementation this
> geometry’s name are coming columns wise. How could I make them to appear row
> wise like one below another.Please have a look at my implementation.

Again, read the documentation.

http://doc.trolltech.com/4.4/qtreewidgetitem.html

     "Tree widget items are used to hold rows of information for tree widgets."

Just create your item, and add to your TreeWidget object as if you
were doing it normally.

Hope that helps,
Srdjan




More information about the Qt-interest-old mailing list