On Yau al-Thulatha 14 Thu al-Hijjah 1425 1:06 am, Munzir Taha wrote:
7. The back arrow <- in QFileDialog::getExistingDirectory()
and ::getOpenFileName(s)() and ::getSaveFileName() should be mirrored too.
8.
Accelerators mess the arabic text in QPushButtons. The letter underlined will
shift its postion.
#include <QApplication>
#include <QtGui>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QApplication::setFont(QFont("", 72, QFont::Bold));
// This is without accelerator and it displays properly
QPushButton pb1(QObject::trUtf8("حفظ"));
// This one has an accelerator on the first letter
// and the letters display in reverse order
QPushButton pb2(QObject::trUtf8("&حفظ"));
app.setMainWidget(&pb1);
pb1.show();
pb2.show();
return app.exec();
}
I wonder is it that I am missing something or is it no body have developed
Arabic software with Qt!
--
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