1) Use QTextBrowser::anchorClicked() and react on that signal in a custom slot where you open the folder.
2) Not sure what you exactly want, but have a look at QCompleter.