[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-trans-ar] Re: Qt4 beta1 Arabic Bugs

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.

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("&ØÙØ"));

        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
Maintainer of Fedora Arabic Translation Project
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]