|
|
@@ -0,0 +1,72 @@
|
|
|
+import QtQuick 2.12
|
|
|
+
|
|
|
+Rectangle {
|
|
|
+ id: control
|
|
|
+
|
|
|
+ anchors.fill: parent
|
|
|
+
|
|
|
+ MBlurCard {
|
|
|
+ id: __blurCard
|
|
|
+ anchors.fill: parent
|
|
|
+ blurSource: appBlurItem
|
|
|
+ blurAmount: 1.2
|
|
|
+ blurMax: 32
|
|
|
+ z: 1000
|
|
|
+
|
|
|
+ opacity: 1
|
|
|
+ scale: 1.0
|
|
|
+
|
|
|
+ Rectangle {
|
|
|
+ anchors.fill: parent
|
|
|
+
|
|
|
+ color: "#0A1929"
|
|
|
+ opacity: 0.85
|
|
|
+ radius: 16
|
|
|
+ border.color: "orange"
|
|
|
+
|
|
|
+ Text {
|
|
|
+ id: __dialogTitle
|
|
|
+ y: 42
|
|
|
+ anchors.horizontalCenter: parent.horizontalCenter
|
|
|
+
|
|
|
+ text: qsTr("归还钥匙和锁处理")
|
|
|
+ color: "#1890FF"
|
|
|
+ opacity: 1
|
|
|
+ font.pixelSize: 64
|
|
|
+ font.family: iconFont.name
|
|
|
+ verticalAlignment: Text.AlignVCenter
|
|
|
+ horizontalAlignment: Text.AlignHCenter
|
|
|
+ }
|
|
|
+
|
|
|
+ Flickable {
|
|
|
+ id: __colockView
|
|
|
+ anchors.horizontalCenter: parent.horizontalCenter
|
|
|
+ anchors.top: __dialogTitle.bottom
|
|
|
+ anchors.topMargin: 35
|
|
|
+ width: __taskColumn.width
|
|
|
+ height: __taskColumn.height + 30
|
|
|
+
|
|
|
+ clip: true
|
|
|
+ flickableDirection: Flickable.VerticalFlick
|
|
|
+
|
|
|
+ contentWidth: __taskColumn.width
|
|
|
+ contentHeight: height
|
|
|
+
|
|
|
+ Column {
|
|
|
+ id: __taskColumn
|
|
|
+ spacing: 15
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ MouseArea {
|
|
|
+ id: __mouseArea
|
|
|
+ anchors.fill: parent
|
|
|
+ // 防鼠标事件穿透
|
|
|
+ onClicked: function(mouse) { mouse.accepted=true; }
|
|
|
+ onPressed: function(mouse) { mouse.accepted=true; }
|
|
|
+ onReleased: function(mouse) { mouse.accepted=true; }
|
|
|
+ onWheel: function(mouse) { mouse.accepted=true; }
|
|
|
+ onDoubleClicked: function(mouse) { mouse.accepted=true; }
|
|
|
+ }
|
|
|
+}
|