[Qt-interest] Using RTL and LTR languages in a User Interface
Friedemann Kleint
Friedemann.Kleint at nokia.com
Wed Oct 14 10:11:04 CEST 2009
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
More information about the Qt-interest-old
mailing list