3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-21 06:35:53 +00:00
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

63 lines
975 B
QML

/* vim:set foldmethod=marker:
SPDX-FileCopyrightText: 2014 Ivan Cukic <ivan.cukic(at)kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.2
Image {
id: main
width: 480
height: 425
source: "images/window2.png"
anchors.centerIn: parent
Item {
id: title
width: titleText.width + 32
height: titleText.height + 32
Rectangle {
anchors.fill: parent
color: "black"
radius: 8
opacity: .7
}
Text {
id: titleText
color: "white"
text: "Firefox"
font.pointSize: 24
anchors.centerIn: parent
}
}
Drag.active: mouseArea.drag.active
Drag.hotSpot.x: 32
Drag.hotSpot.y: 32
MouseArea {
id: mouseArea
anchors.fill: parent
drag {
target: title
}
onClicked: console.log("Clicked")
}
}