<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" dir="auto">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
Enrico Granata wrote:<br>
> Eran Ifrah wrote:<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">> You can't use expressions in summary strings.
<div>
<div>> We have thought about this several times and have a couple ideas on how <br>
> it could be done but for now it's not there.</div>
<div>><br>
</div>
<div>> If you need to resort to an expression, you can use a python formatter<br>
> instead and then you are free to call as many expressions as you like.</div>
<div>><br>
</div>
<div>> However, this will cause a slowdown - running expressions is not<br>
> free - and if you ever need to make sure nothing is altering your<br>
> program state, running expressions might not be a safe bet.</div>
<div>> Is there really no other way to get to those UTF8 bytes?<br>
<br>
QString is stored in UTF16 internally. It can be accessed directly <br>
through structure member access and pointer arithmetic and converted <br>
using Python. "Running expressions" is not needed.<br>
<br>
Andre'<br>
</div>
<br>
</div>
</div>
</div>
</body>
</html>