Is there a way to make links clickable in a QTextEdit
?
I know I can use a QTextBrowser
and connect to anchorClicked
but I'd rather keep the editing and viewing all in one widget, and have clickable links when I set the widget to read-only mode.
Is this possible or am I stuck with having two separate widgets in a stack and switching between them?