File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,7 @@ QML_RES_QML = \
330
330
qml/components/AboutOptions.qml \
331
331
qml/components/BlockClock.qml \
332
332
qml/components/BlockCounter.qml \
333
+ qml/components/CaretRightButton.qml \
333
334
qml/components/ConnectionOptions.qml \
334
335
qml/components/ConnectionSettings.qml \
335
336
qml/components/DeveloperOptions.qml \
Original file line number Diff line number Diff line change 3
3
<file>components/AboutOptions.qml</file>
4
4
<file>components/BlockClock.qml</file>
5
5
<file>components/BlockCounter.qml</file>
6
+ <file>components/CaretRightButton.qml</file>
6
7
<file>components/ConnectionOptions.qml</file>
7
8
<file>components/ConnectionSettings.qml</file>
8
9
<file>components/DeveloperOptions.qml</file>
Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2023 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
+ Button {
9
+ id: root
10
+ required property color stateColor
11
+ icon .source : " image://images/caret-right"
12
+ icon .color : root .stateColor
13
+ icon .height : 18
14
+ icon .width : 18
15
+ background: null
16
+
17
+ Behavior on icon .color {
18
+ ColorAnimation { duration: 150 }
19
+ }
20
+ }
You can’t perform that action at this time.
0 commit comments