[Qt-interest] QTreeWidget
Sujan Dasmahapatra
sdh at lmglasfiber.com
Fri Mar 13 14:38:20 CET 2009
Dear Friends.
I am loading a geometry on the screen.The filename of the geometry has
to be uploaded in my treeWidget.....for that I am doing like this ,
////////////////////////////////////////////////////////////////////////
/////////////////////
Const QString fileName; // This name I amgetting from the dialog.
QTreeWidget *treeWidget = new QTreeWidget;
QTreeWidgetItem *item = new QTreeWidgetItem(treeWidget);
Item->setText(1,fileName);
treeWidget->addTopLevelItem(item);
////////////////////////////////////////////////////////////////////////
////////////////////
But with this my filename is not being loaded on the treeeWidget...Can
anyone tell me whats wrong and what should be the correct implementation
???
Thanks & Kind regards,
LM Glasfiber R&D (India) Pvt. Ltd.
Sujan Dasmahapatra
Project Engineer - CFD
Telephone: +91 80 66470248
Mobile:
E-mail: sdh at lmglasfiber.com <mailto:sdh at lmglasfiber.com>
--------------------------------------------------------------
This e-mail and any attachments are confidential. If you are not the
named or intended recipient, please notify the sender immediately and do
not disclose the contents to any other person, use it for any purpose or
store or copy the information in any medium. Any unauthorized
disclosure, use or storage is prohibited and might be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090313/8c9293c7/attachment.html
More information about the Qt-interest-old
mailing list