title: QMessageBox With HTML Layout Formatting
body: <p>For my program, I'm doing a QMessageBox for the about section, and I import an html file to set the layout of the said box :</p>
  
  <pre><code>// Program.cpp
  QMessageBox about;
  about.setWindowTitle(tr("About"));
  
  // Enable the HTML format.
  about.setTextFormat(Qt::RichText);
  
  // Getting the HTML from the file
  std::ifstream file("html/about.html");
  std::string html, line;
  
  if (file.is_open())
  {
      while (std::getline(file, line))
          html += line;
  }
  
  about.setText(html.c_str());
  about.exec();
  </code></pre>
  
  <p>And the about.html is like this :</p>
  
  <pre><code>&lt;!-- about.html --&gt;
  &lt;div&gt;
       &lt;h1&gt;The Program&lt;/h1&gt;
       &lt;p&gt; Presentation &lt;/p&gt;
       &lt;p&gt; Version : 0.1.2 &lt;/p&gt;
       &lt;p&gt; &lt;a href="www.wipsea.com"&gt;User Manual&lt;/a&gt; &lt;/p&gt;
       &lt;h4&gt;Licence Agreement&lt;/h4&gt;
       &lt;p style="border: 1px solid black; overflow: y;"&gt;
          Law thingy, bla and also bla, etc ...
       &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is that I don't know what is possible, and what isn't.</p>
  
  <p>For instance I want to put the licence agreement in a textarea with a border and an overflow.
  The h1 &amp; h4 works, yet the style for the licence agreement doesn't.</p>
  
  <p>So the licence agreement is just plain text.</p>
  
  <p>Is there a way to style the html in a QMessageBox ?</p>