Habe hier ein recht umfangreiches Projekt in dem Unmengen von ToolTips definiert sind.
Problem die ToolTips wurden alle angelegt, bevor es im Designer/Creator die Funktion 'Formartierbaren Text vereinfachen' gab, d.h. der Quellcode für einen ToolTip sieht z.B. so aus:
Code: Alles auswählen
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:7.875pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">merge - custom:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">enable to specifiy which audio streams to merge</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html>
Code: Alles auswählen
<html><head/><body><p><span style=" font-size:7.875pt; font-weight:600; text-decoration: underline;">merge - custom:</span></p><p><span style=" font-size:7.875pt;">enable to specifiy which audio streams to merge</span></p><p><br/></p></body></html>
Da es mehrere hundert ToolTips gibt würde gerne automatisiert auf allen ui files und alle ToolTips 'Formartierbaren Text vereinfachen' bereinigen aufrufen.
Hat da jemand ne Idee?
Cu Selur