Re: Arabic issue #26: The origin in RTL layout should be positioned at the right edge of the window
by Munzir Taha
On Yaum al-Ahad 02 Safar 1426 19:43, Matthias Ettrich wrote:
> On Saturday 12 March 2005 10:55, Munzir Taha wrote:
> > Now what would happen is that the window would appear on the top-left
> > corner of my screen which is ok for LTR languages but not for RTL
> > languages. The correct layout is to have it on the top-right corner for
> > RTL lanugages. The point is the same code should display on different
> > positions according the layoutDirection. Am I missing something obvious?
>
> You do. Positioning of windows on Unix/X11 isn't done by the application or
> the toolkit, but by the window manager.
Does this imply that there is a way to do it in MS Windows? How?
Matthias, you know better for sure but all I am asking for is to deal with RTL
and LTR adequately. Isn't setGeometry a function of Qt or is it related to
X11? I can now do:
QTextEdit *text = new QTextEdit;
text->setGeometry(200, 50, 500, 500); // Postive x,y For LTR
I want to be able to do something like
QTextEdit *text = new QTextEdit;
text->setGeometry(-200, -50, 500, 500); // Negative x,y for RTL
or something along this line. If it can be done _via Qt_ for LTR why not for
RTL?
Note: If you convinced me this is not a bug in Qt, you would be surprised that
you won't get rid of issue #26 since there is another issue *mistakenly*
titled Arabic issue #26: QTextBrowser crashes with some web pages. Deal with
it ;)
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the OpenBugs project page at
http://www.arabic-fedora.org/munzir/OpenBugs.html
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
18 years, 10 months
4563 Untranslated !!
by Sherif AbdElGawad
OK .. I checked the status page and I thought we should be near complete.
But, what I saw was 4563 untranslated strings!!!
Did everyone on the list here took a dive somewhere?:)) Wake up we need
to go back on track.
Thanks
Sherif
18 years, 11 months
Arabic issue #3: Text doesn't inherits the widgets direction
by Munzir Taha
On Thursday 03 February 2005 01:35, Munzir Taha wrote:
> On Yaum al-Arbi'a 22 Thu al-Hijjah 1425 5:10 pm, Lars Knoll wrote:
> > By default, text inherits the widgets direction, so when you start an app
> > with -reverse everything is right aligned. You can switch the direction
> > of a string using the Shift+Ctrl combination (if you enabled it in
> > qtconfig).
This doesn't seem to work. I tested like this:
QApplication::setLayoutDirection(Qt::RightToLeft);
QTextEdit *text = new QTextEdit(trUtf8("عربي ...");
and the text is still left aligned!
> > Please try it with tonights snapshot. I think it comes much closer to the
> > behaviour one would expect intuitively than the Qt 3 way.
Using Qt version 4.0.0-rc1-snapshot-20050523
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
Maintainer of the OpenBugs project page at
http://www.arabic-fedora.org/munzir/OpenBugs.html
Master CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA
18 years, 11 months