문제

I'm trying to make an advanced find system. What i'm trying to do is to display in a QTextBrowser the line where the string that you're searching for and make it clickable. And for when you click it, it redirects you to that line.

How would this be possible?

도움이 되었습니까?

해결책

You could simply use html anchor (<a href="...">) and connect to signal anchorClicked of QTextBrowser

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top