Merge branch 'master' into plasma/mart/PageRow
This commit is contained in:
commit
6febf02fc3
@ -197,13 +197,15 @@ Item {
|
|||||||
|
|
||||||
//state: "Hidden"
|
//state: "Hidden"
|
||||||
|
|
||||||
Item {
|
MouseArea {
|
||||||
id: mainItem
|
id: mainItem
|
||||||
x: dialog.margins.left
|
x: dialog.margins.left
|
||||||
y: dialog.margins.top
|
y: dialog.margins.top
|
||||||
width: parent.width - dialog.margins.left - dialog.margins.right
|
width: parent.width - dialog.margins.left - dialog.margins.right
|
||||||
height: parent.height - dialog.margins.top - dialog.margins.bottom
|
height: parent.height - dialog.margins.top - dialog.margins.bottom
|
||||||
|
|
||||||
|
onClicked: mouse.accepted = true
|
||||||
|
|
||||||
// Consume all key events that are not processed by children
|
// Consume all key events that are not processed by children
|
||||||
Keys.onPressed: event.accepted = true
|
Keys.onPressed: event.accepted = true
|
||||||
Keys.onReleased: event.accepted = true
|
Keys.onReleased: event.accepted = true
|
||||||
|
Loading…
Reference in New Issue
Block a user