Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to change the Screen coordinates to bottom left corner
Qt 6.11 is out! See what's new in the release blog

How to change the Screen coordinates to bottom left corner

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello,

    By default, y-axis in a Qt Window is increasing from top to bottom. How can i convert it from bottom to top of the window. I have seen a solution in Qt Widget application, but how can we do it in a QML project.Here QWindow is the root of the application.

    In OpenGL, the y axis is increasing from bottom to top, but in Qt it is in reverse style. Why it is like that ?

    Regards
    Ansif

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This is the standard in TV and graphics: the root is top left corner.

      You can rotate the whole scene using Transform element, that would simulate a different coordinate system.

      (Z(:^

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        [quote author="sierdzio" date="1375952043"]This is the standard in TV and graphics: the root is top left corner.

        You can rotate the whole scene using Transform element, that would simulate a different coordinate system.[/quote]

        Hi,
        I Will try this.

        Thank you

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved