PDA

View Full Version : read selected row in treeWidget



takechi
12th November 2010, 13:20
Dear all!
i have a treewidget display data from xml file as picture below
http://img243.imageshack.us/img243/314/84564410.png

how do show full information at row i selected in the same treewidget.

connect(treeWidget, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(openItem()));


void MainWindow::openItem()
{
treeWidget->clear();
//what should i do at here

}


thanks and best regards.
Newbie.

takechi
13th November 2010, 04:25
nobody helps me :(

takechi
15th November 2010, 17:49
so sad :mad: