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. Is there a way to check if the orientation of screen changes during runtime with QML?
Forum Updated to NodeBB v4.3 + New Features

Is there a way to check if the orientation of screen changes during runtime with QML?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 574 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.
  • M Offline
    M Offline
    mshefiti
    wrote on last edited by
    #1

    Hi,

    I am building a UI in QML for tablets. I want to define 2 different modes: landscape and portrait.
    Is there a way to check during runtime, if the orientation has changed hence the IU will switch to landscape mode.

    Is there any good article about this topic, or if anyone can explain in main points/hints which functions to check, would be very appreciated.

    Thank you all for your answers

    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