Add a method to ExtractDelegate for querying if the extraction has been cancelled.

This commit is contained in:
Luis Ángel San Martín
2018-01-06 07:41:27 +01:00
commit c766fedd45
1046 changed files with 103737 additions and 0 deletions

View File

@ -0,0 +1,32 @@
import QtQuick 2.6
import QtGraphicalEffects 1.0
Item {
width: 20
height: 20
property bool active
signal activeChangedByUser(bool active)
MouseArea {
anchors.fill: favorites_button_compact
onClicked: {
activeChangedByUser(!active);
}
}
Image {
anchors.centerIn: parent
id: favorites_button_compact
source: "info-favorites.png"
}
ColorOverlay {
anchors.fill: favorites_button_compact
source: favorites_button_compact
color: active ? favCheckedColor : favUncheckedColor
}
}