PDA

View Full Version : Title Bar Direction Not as per Arabic Language Layout.



pavanbarot
27th September 2011, 19:09
Hello All,

Simple Question when i choose Regional Language as Arabic(Saudi Arabia) and then My Application Start with Following code.

int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;

a.setLayoutDirection(Qt::RightToLeft);
w.setLayoutDirection(Qt::RightToLeft);
w.show();
return a.exec();
}

Qt not change Application Title-bar like Right-to-Left ?

please find attached snap-shot.
6904
6905

Current Qt output : Actual Output.PNG
i Expect output from Qt: Expected Output.PNG

Some information are:

-> for All Window Operation System.

-> My Qt Setting Detail:
- Qt Creator 2.0.1
- Based on Qt 4.7.0 (32 bit)
- Built on Aug 24 2010 at 11:00:55

please suggest me how should i change to get Application Title-bar with Right-to-Left.

Thanks in Advance.