[Qt-interest] Using RTL and LTR languages in a User Interface

Asier Tamayo asier.tamayo at ona-electroerosion.com
Wed Oct 14 12:06:55 CEST 2009


Hello Friedemann,

Thanks for your help.

Would you be so kind to send me a couple of images (with and without -reverse) showing the widget order switch? As I wrote in a previous e-mail, at this moment I'm not yet using Qt4. If I see it working, it would be a strong reason to start the porting, but I'm afraid it's quite too much work to install Qt4 just for this demo.

Of course, I would completely understand if you decide you have already given too much of your time to me.

Anyway, and again, thank you very much

Asier



> -----Original Message-----
> From: qt-interest-bounces at trolltech.com
> [mailto:qt-interest-bounces at trolltech.com]On Behalf Of 
> Friedemann Kleint
> Sent: Wednesday, October 14, 2009 10:11 AM
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] Using RTL and LTR languages in a User
> Interface
> 
> 
> Hi,
> 
> > I've read the documentation of QFormLayout and 
> Internationalization, but
> >  can't find any reference to the label and lineedit's order 
> being switched
> >  by using it. Are you sure that switch is done?
> 
> For a demonstration, launch Qt >= 4.5 assistant with the 
> -reverse option and 
> take a look at the [Edit menu]/preferences dialog/fonts tab. 
>  
> > Have you got any example image where this behaviour can be 
> seen? If a
> >  QFormLayout has some rows in english and some other in 
> hebrew, how are
> >  they shown? Are all the labels shown to the right or each 
> one is shown to
> >  the left or to the right depending on the language?
> 
> Admittedly, a mixture of languages in one layout  will not be 
> automagically 
> handled. The layout direction is a widget property, which is 
> the most fine-
> grained control (apart from QApplication's property, which is 
> set by the "-
> reverse" command line option).
> 
> Regards,
> Friedemann
> 
> --
> Friedemann Kleint
> Nokia, Qt Development Frameworks
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 




More information about the Qt-interest-old mailing list