1 /* === This file is part of Calamares - <https://calamares.io> ===
3 * SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
4 * SPDX-License-Identifier: GPL-3.0-or-later
6 * Calamares is Free Software: see the License-Identifier above.
10 /* This is a navigation (arrow) button that fades in on hover, and
11 * which calls forward / backward navigation on the presentation it
12 * is in. It should be a child item of the presentation (not of a
13 * single slide). Use the ForwardButton or BackButton for a pre-
14 * configured instance that interacts with the presentation.
22 property bool isForward : true
26 anchors.verticalCenter: parent.verticalCenter
50 onEntered: { fadeOut.running = false; fadeIn.running = true }
51 onExited: { fadeIn.running = false ; fadeOut.running = true }
54 fade.parent.goToNextSlide()
56 fade.parent.goToPreviousSlide()