Warning, /pim/merkuro/src/contacts/applet/package/contents/ui/CompactRepresentation.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2014-2015 David Rosca <nowrep@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 import QtQuick 2.2
0008 import QtQuick.Layouts 1.1
0009 
0010 import org.kde.plasma.core 2.0 as PlasmaCore
0011 import org.kde.plasma.components 3.0 as PlasmaComponents3
0012 
0013 MouseArea {
0014     readonly property bool inPanel: (plasmoid.location === PlasmaCore.Types.TopEdge
0015         || plasmoid.location === PlasmaCore.Types.RightEdge
0016         || plasmoid.location === PlasmaCore.Types.BottomEdge
0017         || plasmoid.location === PlasmaCore.Types.LeftEdge)
0018 
0019     acceptedButtons: Qt.LeftButton
0020 
0021     onClicked: plasmoid.expanded = !plasmoid.expanded;
0022 
0023     hoverEnabled: true
0024 }