How to display Arabic notations in left-to-right direction in QLineEdit/QLabel etc.?
In Qt's implementation arabic notation is shown in right-to-left direction, thus any strings that contain arabic notations will be right-aligned. But what my application wants to do is showing all texts in left-to-right direction, whether it contains arabic notations or not. And all texts are left-aligned. An example is shown below: This is what I want to implement This is how QLineEdit displays texts containing arabic notations in its default way This is how QLabel does it EDIT: Paste the test string here. ە抠门哥ە( EDIT: Providing an alternate solution. Finally I can achieve my goal roughly by