I'm designing a MainWindow application that contains a single menu item which I wanted to appear on the RHS of the menuBar. To accomplish this, I set the layoutDirection to RightToLeft.
However, this had some unusual consequences:
One of my pushButtons had the text, 'Do the operation?' which appeared as, '?Do the operation' I had to re-write as, '?Do the operation' to have it appear correctly.
All the QLineEdits had their text right justified. To get left justify, I had to insert a lineEdit->setAlignment( Qt::AlignRight).
All the QTextEdits appeared correctly left justified.
Should I expect the layoutDirection of the parent to impact some of the children?
I'm using version 4.4.3. O/S is WindowsXP and 7.
Bookmarks