title: How to make links clickable in a QTextEdit?
body: <p>Is there a way to make links clickable in a <a href="https://doc.qt.io/qt-5/qtextedit.html" rel="noreferrer"><code>QTextEdit</code></a>?</p>
  
  <p>I know I can use a <code>QTextBrowser</code> and connect to <code>anchorClicked</code> 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.</p>
  
  <p>Is this possible or am I stuck with having two separate widgets  in a stack and switching between them?</p>