merry
18th October 2010, 12:11
hi
In treewidget, I am displaying list of all the application files in my system and also there path. On click of item in the QTreeWidget , i want to open the location of that app file in my system with that app file selected on that location.
For this I used
QDesktopServices::openUrl(QUrl("file://"+itemPath));
by using I will be able to open the location of that selected item from treeWidget in the system, but that item is not selected at that location. Is there any why to open the location with the item selected.
In treewidget, I am displaying list of all the application files in my system and also there path. On click of item in the QTreeWidget , i want to open the location of that app file in my system with that app file selected on that location.
For this I used
QDesktopServices::openUrl(QUrl("file://"+itemPath));
by using I will be able to open the location of that selected item from treeWidget in the system, but that item is not selected at that location. Is there any why to open the location with the item selected.