Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ def initialize(self):
self.add_event("system.shutdown", self.handle_system_shutdown)

# Show loading screen while starting up skills.
# self.gui['state'] = 'loading'
# self.gui.show_page('all.qml')
self.gui['state'] = 'loading'
self.gui.show_page('all.qml')

# Collect Idle screens and display if skill is restarted
self.resting_screen.collect()
Expand Down
2 changes: 1 addition & 1 deletion ui/all.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import QtQuick.Controls 2.0
import org.kde.kirigami 2.5 as Kirigami
import Mycroft 1.0 as Mycroft

Mycroft.Delegate {
Mycroft.CardDelegate {
id: mainLoaderView

property var pageToLoad: sessionData.state
Expand Down
19 changes: 9 additions & 10 deletions ui/loading.qml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@ import Mycroft 1.0 as Mycroft
Item {
id: root

Mycroft.AutoFitLabel {
Label {
font.weight: Font.Bold
Layout.fillWidth: true
Layout.preferredHeight: proportionalGridUnit * 40
rightPadding: -font.pixelSize * 0.1
font.family: "Noto Sans"
font.pixelSize: 50
anchors.horizontalCenter: parent.horizontalCenter
Layout.preferredHeight: Mycroft.Units.gridUnit * 12
font.pixelSize: Mycroft.Units.gridUnit * 4
color: "#22a7f0"
text: "Loading..."
text: "Loading Skills..."
}

BusyIndicator {
anchors.centerIn: parent
width: root.contentWidth / 2
height: root.contentWidth / 2
Mycroft.BusyIndicator {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.bottomMargin: Mycroft.Units.gridUnit * 4
running: true
}
}