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

Near impossible to rotate ApplicationWindow's contents 90 degrees (switch landscape -> portrait)

XMLWordPrintable

    • Linux/X11, Linux/Yocto, Linux/Other display system

      It appears to be near-impossible to write an application using Quick Controls 2 that can easily be rotated to switch between landscape and portrait modes on an embedded device running plain linux (eglfs).

      Various workarounds include preparing each and every component in the application for being able to be rotated. This does not scale well, and forces existing codebases to be rewritten. The main issue is with all popup menus/controls (like comboboxes), the "dimming" layer. Rotating the content item itself is not that hard.

      We need a ApplicationWindow property where all the window contents can be rotated by 90/180/270 degrees (and thereby swapping effective height/width for the content item when necessary), as well as a property to flip the contents (mirror around x or y-axes).

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            olathorsen Ola Røer Thorsen
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes