Hello,
I can obtain index of child and text of parent, but I am interesting to obtain index of both.
Qt Code:
QString nameItem; int index; index = parent->indexOfChild(ui->deviceTree->currentItem()); nameItem = parent->text(indice);To copy to clipboard, switch view to plain text mode
any advice???
Best regards
Bookmarks