Get the total window dimensions
Solved
QML and Qt Quick
-
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'swidth
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? -
@Circuits
you can access the current window from "anywhere" using the attached property. Is thats what you are after?