/*SPDX-FileCopyrightText: 2014 Ivan Cukic <ivan.cukic(at)kde.org>SPDX-License-Identifier: GPL-2.0-or-later*/import QtQuickimport org.kde.kirigami as KirigamiImage {id: mainwidth: 480height: 425source: "images/window2.png"anchors.centerIn: parentItem {id: titlewidth: titleText.width + 32height: titleText.height + 32Rectangle {anchors.fill: parentcolor: "black"radius: Kirigami.Units.cornerRadiusopacity: .7}Text {id: titleTextcolor: "white"text: "Firefox"font.pointSize: 24anchors.centerIn: parent}}Drag.active: mouseArea.drag.activeDrag.hotSpot.x: 32Drag.hotSpot.y: 32MouseArea {id: mouseAreaanchors.fill: parentdrag {target: title}}}