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