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

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

    XMLWordPrintable

Details

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

    Description

      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).

       

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes