2011-03-09 351 views

回答

5
tree->setCurrentIndex(fsModel->index(QDir::currentPath())); // or any path 

根據選擇模式的不同,該項目可以選擇也可以不選擇。

希望這會有所幫助

+0

謝謝,它完美的作品:) – Septagram 2011-03-09 09:07:25

相關問題