Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29349

Reversing the layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.8.4, 5.0.0
    • GUI: Painting
    • None
    • Windows 7 Proffesional x86

    Description

      I have tried reversing the layout using Qt::RTL and this works up to the degree of reversing the titlebar. Seeing that I need the titlebar to be reversed as well, I tried to reverse the layout using Windows API, but this causes major issues with the clickable widgets (QMenuBar, QToolButton, QPushButton) in the sense that it reverses the painting of the widgets but does not reverse their actual positions (when I try to click on any of them I can't unless I click on the normal position in the LTR layout). I don't need this application to be cross-platform and that is why I use Windows API. Following are code fragments and some pictures to better depict the issue:

      Pictures:

      http://img69.imageshack.us/img69/6056/rev1k.png

      http://img12.imageshack.us/img12/4596/rev3n.png

      Attachments

        1. BugTest.rar
          3 kB
        2. rev1.png
          rev1.png
          241 kB
        3. rev3.png
          rev3.png
          205 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kleint Friedemann Kleint
              b1gsnak3 Grigoriu Stefan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes