1 2 3 4 5 6 7
pragma Strict import QtQuick 6 Item { height: !(parent && parent.visible) ? 100 : 0 width: !(parent && state) ? 100 : 0 }