DeadMouseArea.qml 253 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
import QtQuick 2.3
import QtQuick.Controls 1.2

MouseArea {
    preventStealing:true
    hoverEnabled:   true
    onWheel:        { wheel.accepted = true; }
    onPressed:      { mouse.accepted = true; }
    onReleased:     { mouse.accepted = true; }
}