title: How to set umlaut for header in QTableWidget?
body: <p>I have this command to set label for all headers of a table:</p>
  
  <pre><code>ui.mytable-&gt;setHorizontalHeaderLabels(QStringList() &lt;&lt; tr("VERTRAG") &lt;&lt; tr("DATUM/UHRZEIT") &lt;&lt; tr("PRÜFER"));
  </code></pre>
  
  <p>But this <code>Ü</code> does not appear. I tried to use</p>
  
  <pre><code>ui.mytable-&gt;setHorizontalHeaderLabels(QStringList() &lt;&lt; tr("VERTRAG") &lt;&lt; tr("DATUM/UHRZEIT") &lt;&lt; tr("PRÜFER").replace(QString::fromLatin1("Ü"), "&amp;Uuml;"));
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ui.mytable-&gt;setHorizontalHeaderLabels(QStringList() &lt;&lt; tr("VERTRAG") &lt;&lt; tr("DATUM/UHRZEIT") &lt;&lt; tr("PRÜFER").replace(QString::fromUtf8("Ü"), "&amp;Uuml;"));
  </code></pre>
  
  <p>but it does not work also. How can I solve this?</p>
  
  <p><a href="https://i.stack.imgur.com/76FXM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/76FXM.png" alt="enter image description here"></a></p>