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.
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.