diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-30 09:54:43 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-30 09:54:43 +0800 |
commit | 2930c02fdcaecb6e1fbbdb09eb31d66f7d208dde (patch) | |
tree | 742a544720adcb230f651f5d4630195a0dabb615 /GridCardItem.ui.qml | |
parent | c08652311fa40b889ef825f209fb43225a0c206c (diff) |
Mouse areas for grid card
Diffstat (limited to 'GridCardItem.ui.qml')
-rw-r--r-- | GridCardItem.ui.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/GridCardItem.ui.qml b/GridCardItem.ui.qml index 2b4596e..c41477f 100644 --- a/GridCardItem.ui.qml +++ b/GridCardItem.ui.qml @@ -14,6 +14,8 @@ Item { property color badgeColor: "#ff0cbc87" property color badgeBackgroundColor: "#1a0cbc87" property string titleText: "Sketch from A to Z: for app designer" + property alias imageArea: imageArea + property alias titleArea: titleArea // property string textTruncateText: "Rooms oh fully taken by worse do. Points afraid but may end afraid but.." DropShadow { @@ -51,6 +53,11 @@ Item { radius: 10 } } + + MouseArea { + id: imageArea + anchors.fill: parent + } } Item { @@ -140,6 +147,11 @@ Item { right: parent.right rightMargin: 20 } + + MouseArea { + id: titleArea + anchors.fill: parent + } } /* Label { |