multitouch input support

This commit is contained in:
Han Young 2020-11-13 15:24:01 +00:00
parent b19543b56a
commit a9a8e5cc00
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 1.1 import QtQuick.Controls 2.1
import QtQuick.Layouts 1.1 import QtQuick.Layouts 1.1
import QtGraphicalEffects 1.12 import QtGraphicalEffects 1.12
import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.components 2.0 as PlasmaComponents
@ -220,7 +220,7 @@ Rectangle {
color: "white" color: "white"
visible: modelData.length > 0 visible: modelData.length > 0
MouseArea { AbstractButton {
anchors.fill: parent anchors.fill: parent
onPressed: parent.color = "#e0e0e0" onPressed: parent.color = "#e0e0e0"
onReleased: parent.color = "white" onReleased: parent.color = "white"

View file

@ -246,7 +246,7 @@ PlasmaCore.ColorScope {
color: "white" color: "white"
visible: modelData.length > 0 visible: modelData.length > 0
MouseArea { AbstractButton {
anchors.fill: parent anchors.fill: parent
onPressed: parent.color = "#e0e0e0" onPressed: parent.color = "#e0e0e0"
onReleased: parent.color = "white" onReleased: parent.color = "white"