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. Get the total window dimensions
Forum Updated to NodeBB v4.3 + New Features

Get the total window dimensions

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 232 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.
  • C Offline
    C Offline
    Circuits
    wrote on last edited by
    #1

    Is there an easy way to access the maximum dimensions of an applications window? For instance, lets say I made a window that contains my whole application and it's height is 500 and it's width is also 500. Now, let's say I am a few items deep and the original window is no longer my current items parent. Is there a way for me to access those original window dimensions from here without passing them from the original window too the new element?

    raven-worxR 1 Reply Last reply
    0
    • C Circuits

      Is there an easy way to access the maximum dimensions of an applications window? For instance, lets say I made a window that contains my whole application and it's height is 500 and it's width is also 500. Now, let's say I am a few items deep and the original window is no longer my current items parent. Is there a way for me to access those original window dimensions from here without passing them from the original window too the new element?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Circuits
      you can access the current window from "anywhere" using the attached property. Is thats what you are after?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      • Login

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