56 property Item rootItem: null
59 property var _popups: []
70 function presentPopup(popup) {
71 popup.parent = rootItem;
72 popup.closed.connect(
function() {
73 var index = _popups.indexOf(popup);
76 _popups.splice(index, 1);
93 function closeAction() {
94 if(_popups.length > 0) {
95 _popups[_popups.length - 1].close();