Hi
I need make signal in QTextEdit when URL will by clicked and this sgnal mass have URL as parameter ( for example SIGNAL(urlClick(QString f_URL)))
Can do that ??
Hi
I need make signal in QTextEdit when URL will by clicked and this sgnal mass have URL as parameter ( for example SIGNAL(urlClick(QString f_URL)))
Can do that ??
Combine mouse events with QTextEdit::anchorAt() or use QTextBrowser which has a QTextBrowser::anchorClicked() signal.
It mass be on QTextEdit.
With mouse event and QTextEdit::anchorAt() will be very difficul because in my aplication will be can add and remove URL ;(
There is no other way ?
I don't know what other way than handling mouse events you would like to have.
Maybey other way.
My app is a notepad, the URL will by path to file and i want do somthing like that, if URL will bee clicked then app open this file in window.
Srry, Its workThx for help
Bookmarks