[Fedora-trans-ar] Arabic issue #8: Accelerators mess the arabic text in QPushButtons, QMenu, ...

Munzir Taha munzirtaha at newhorizons.com.sa
Thu Feb 3 08:31:50 UTC 2005


Qt Version: qt-x11-opensource-4.0.0-b2-snapshot-20050131
System: Mandrake 10.1 on AMD64

Accelerators mess the arabic text in QPushButtons, QMenu, .... The letter 
underlined will shift its postion.


CODE:

For QMenu: From the Qt examples I tested like this:
/examples/mainwindows/application/mainwindow.cpp:
editMenu = menuBar()->addMenu(trUtf8("ﺕ&ﺡﺮﻳﺭ"((;

AND
For QPushButton, I tested with a code like this

       // This one has an accelerator on the first letter
       // and the letters display in reverse order
       QPushButton pb(QObject::trUtf8("&حفظ"));

-- 
Munzir Taha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the Open Arabic Bugs Project at
http://wiki.arabeyes.org/OpenBugs
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA




More information about the Fedora-trans-ar mailing list