2021-11-30 13:51:01 +01:00
|
|
|
/*
|
|
|
|
|
* This file is part of the Flowee project
|
|
|
|
|
* Copyright (C) 2021 Tom Zander <tom@flowee.org>
|
|
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
2021-10-29 18:20:42 +02:00
|
|
|
import QtQuick 2.11
|
|
|
|
|
import QtQuick.Controls 2.11
|
|
|
|
|
import QtQuick.Layouts 1.11
|
|
|
|
|
|
|
|
|
|
Item {
|
2021-10-30 16:17:02 +02:00
|
|
|
id: root
|
2021-10-29 18:20:42 +02:00
|
|
|
width: 30
|
|
|
|
|
height: 30
|
2021-10-30 16:17:02 +02:00
|
|
|
|
|
|
|
|
signal clicked;
|
2021-10-29 18:20:42 +02:00
|
|
|
MouseArea {
|
|
|
|
|
anchors.fill: parent
|
2021-10-30 16:17:02 +02:00
|
|
|
onClicked: root.clicked();
|
2021-10-30 16:29:48 +02:00
|
|
|
cursorShape: Qt.PointingHandCursor
|
2021-10-29 18:20:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
color: "#bbbbbb"
|
|
|
|
|
width: 30
|
|
|
|
|
height: 3
|
|
|
|
|
radius: 3
|
|
|
|
|
rotation: 45
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
|
}
|
|
|
|
|
Rectangle {
|
|
|
|
|
color: "#bbbbbb"
|
|
|
|
|
width: 30
|
|
|
|
|
height: 3
|
|
|
|
|
radius: 3
|
|
|
|
|
rotation: -45
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
|
}
|
|
|
|
|
}
|