File tree 3 files changed +24
-0
lines changed
3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ QML_RES_QML = \
303
303
qml/components/StorageOptions.qml \
304
304
qml/controls/ContinueButton.qml \
305
305
qml/controls/Header.qml \
306
+ qml/controls/PageIndicator.qml \
306
307
qml/controls/OptionButton.qml \
307
308
qml/controls/OptionSwitch.qml \
308
309
qml/controls/ProgressIndicator.qml \
Original file line number Diff line number Diff line change 6
6
<file>components/StorageOptions.qml</file>
7
7
<file>controls/ContinueButton.qml</file>
8
8
<file>controls/Header.qml</file>
9
+ <file>controls/PageIndicator.qml</file>
9
10
<file>controls/OptionButton.qml</file>
10
11
<file>controls/OptionSwitch.qml</file>
11
12
<file>controls/ProgressIndicator.qml</file>
Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2022 The Bitcoin Core developers
2
+ // Distributed under the MIT software license, see the accompanying
3
+ // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
+
5
+ import QtQuick 2.15
6
+ import QtQuick.Controls 2.15
7
+
8
+ PageIndicator {
9
+ id: root
10
+ delegate: Rectangle {
11
+ implicitWidth: 10
12
+ implicitHeight: 10
13
+ radius: Math .round (width / 2 )
14
+ color: " white"
15
+ opacity: index === root .currentIndex ? 0.95 : pressed ? 0.7 : 0.45
16
+ Behavior on opacity {
17
+ OpacityAnimator {
18
+ duration: 100
19
+ }
20
+ }
21
+ }
22
+ }
You can’t perform that action at this time.
0 commit comments