[Qt-interest] Qt::LayoutDirection and language

Robert Hairgrove evorgriahr at hispeed.ch
Wed May 12 23:12:32 CEST 2010


Diego Iastrubni wrote:
> On Wed, May 12, 2010 at 7:05 PM, Robert Hairgrove <evorgriahr at hispeed.ch 
> <mailto:evorgriahr at hispeed.ch>> wrote:
> 
>     There is no interface, however (AFAICT) to query the locale or the
>     language to get the reading direction at runtime.
> 
> 
> Sure there is, If you don't understand this from the followin lines, 
> please re-ask and I will give you a better hint ;-)
> 
[snip]

Thanks, but I don't want to change this for the entire application, just 
for one or two widgets which display a list in a different language than 
the application is running in ... I need to know which direction it is 
depending on the language chosen (i.e., I cannot depend on external 
translation files for this).



More information about the Qt-interest-old mailing list