File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,7 @@ QML_RES_QML = \
318
318
qml/controls/NavButton.qml \
319
319
qml/controls/PageIndicator.qml \
320
320
qml/controls/OnboardingInfo.qml \
321
+ qml/controls/OnboardingNav.qml \
321
322
qml/controls/OptionButton.qml \
322
323
qml/controls/OptionSwitch.qml \
323
324
qml/controls/ProgressIndicator.qml \
Original file line number Diff line number Diff line change 14
14
<file>controls/NavButton.qml</file>
15
15
<file>controls/PageIndicator.qml</file>
16
16
<file>controls/OnboardingInfo.qml</file>
17
+ <file>controls/OnboardingNav.qml</file>
17
18
<file>controls/OptionButton.qml</file>
18
19
<file>controls/OptionSwitch.qml</file>
19
20
<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
+ import QtQuick.Layouts 1.15
8
+
9
+ Control {
10
+ id: root
11
+ property alias navButton: button_loader .sourceComponent
12
+ property bool alignLeft: true
13
+ height: 46
14
+ contentItem: RowLayout {
15
+ spacing: 0
16
+ Layout .fillWidth : true
17
+ Loader {
18
+ id: button_loader
19
+ Layout .rightMargin : 10
20
+ Layout .alignment : root .alignLeft ? Qt .AlignLeft : Qt .AlignRight
21
+ active: true
22
+ visible: active
23
+ sourceComponent: root .navButton
24
+ }
25
+ }
26
+ }
You can’t perform that action at this time.
0 commit comments