Skip to content

Commit 2a5e998

Browse files
committed
qml: Add the BlockClockComponent to main.qml
1 parent c0070db commit 2a5e998

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

src/qml/pages/main.qml

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,11 @@ ApplicationWindow {
4040
Page {
4141
anchors.fill: parent
4242
background: null
43-
ColumnLayout {
44-
width: 600
45-
spacing: 0
46-
anchors.centerIn: parent
47-
Component.onCompleted: nodeModel.startNodeInitializionThread();
48-
Image {
49-
Layout.alignment: Qt.AlignCenter
50-
source: "image://images/app"
51-
sourceSize.width: 64
52-
sourceSize.height: 64
53-
}
54-
BlockCounter {
55-
Layout.alignment: Qt.AlignCenter
56-
blockHeight: nodeModel.blockTipHeight
57-
}
58-
ProgressIndicator {
59-
width: 200
60-
Layout.alignment: Qt.AlignCenter
61-
progress: nodeModel.verificationProgress
62-
}
63-
}
43+
44+
Component.onCompleted: nodeModel.startNodeInitializionThread();
45+
46+
BlockClockComponent {}
47+
6448
}
6549
}
6650
}

0 commit comments

Comments
 (0)