[Qt-interest] Language display Problem

Diego Iastrubni diegoiast at gmail.com
Tue May 18 14:19:53 CEST 2010


Apply that to the widget, not the painter. Actually, to the layout (the
layout manager is what "mirrors" the application).

On Mon, May 17, 2010 at 4:25 PM, trinathpujari <
trinathpujari at tataelxsi.co.in> wrote:

> Hi All,
>
>          I have a problem, my phone is displaying language in Arabic.
> for the all the screens I have made layout direction to RighttoLeft.
> In one of the screens I have display English string(Are you sure?)
>
> when I write the following code is see display as (?Are you sure)
>
>          paint->setLayoutDirection(Qt::RightToLeft);
>          paint->drawText(x+0.5,y,printText);
>
> Can any one from the forum, please let me know how to display the string
> properly?
>
> Thanks,
> Trinath.P.
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100518/2158494f/attachment.html 


More information about the Qt-interest-old mailing list