title: Insert clickable link in QLabel and detect click on this link to provoke an action
body: <p>I would like to handle a click to the link in this application of mine:</p>
  
  <p><img src="https://i.stack.imgur.com/09dnG.png" alt="my application"></p>
  
  <p>When I click on the "Output File" link, I would like to be able to generate an action in my application.</p>
  
  <p>As of today, the link is described like this in the rich text QLabel:</p>
  
  <pre><code>&lt;a href="http://google.fr"&gt;&lt;span style=" text-decoration: underline; color:#0000ff;"&gt;Output File&amp;quot;&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>(generated by Qt Designer)</p>
  
  <p>When clicked, it will open the default web browser to go to Google. That's not what I want; I'd like something like:</p>
  
  <pre><code>&lt;a href="#browse_output"&gt;&lt;span style=" text-decoration: underline; color:#0000ff;"&gt;Output File&amp;quot;&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>And be able to detect the link that's clicked and react accordingly:</p>
  
  <pre><code>(pseudo code)
  
  if( link_clicked.toString() == "#browse_output" ){
      on_browse_output_clicked();
  }
  </code></pre>
  
  <p>Is this possible in Qt with a QLabel (or something approaching) ? How?</p>