[Fedora-trans-ar] Arabic issue #20: A request for an API solution of reversing the arrows.
Munzir Taha
munzirtaha at newhorizons.com.sa
Wed Mar 2 22:13:21 UTC 2005
The image of the pointing arrow needs to always be reversed in
QFileDialog::getExistingDirectory(), ::getOpenFileName(s)()
and ::getSaveFileName() when the layout direction is reversed. I believe Qt
should implement this on the API and attach it to the reverse situation.
Now the left and right arrows on applications/dialogs/widgets should be
swapped when dealing with a right-to-left language. We need to always do it
as follows as mentioned by blanchette's book:
if (QApplication::reverseLayout()) {
backAct->setIconSet(forwardIcon);
forwardAct->setIconSet(backIcon);
} else {
backAct->setIconSet(backIcon);
forwardAct->setIconSet(forwardIcon);
}
Is it too expensive if I ask for this to be somehow on the API?
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the OpenBugs Wiki page at
http://arabic-fedora.org/
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