Reorder QML files to follow coding conventions
https://doc.qt.io/qt-5/qml-codingconventions.html#qml-object-declarations
This commit is contained in:
@@ -10,10 +10,6 @@ import "MainPane"
|
||||
|
||||
Item {
|
||||
id: mainUI
|
||||
focus: true
|
||||
|
||||
Component.onCompleted: window.mainUI = mainUI
|
||||
|
||||
|
||||
property bool accountsPresent:
|
||||
ModelStore.get("accounts").count > 0 || py.startupAnyAccountsSaved
|
||||
@@ -35,12 +31,14 @@ Item {
|
||||
readonly property alias fontMetrics: fontMetrics
|
||||
readonly property alias idleManager: idleManager
|
||||
|
||||
|
||||
function reloadSettings() {
|
||||
py.loadSettings(() => { mainUI.pressAnimation.start() })
|
||||
}
|
||||
|
||||
|
||||
focus: true
|
||||
Component.onCompleted: window.mainUI = mainUI
|
||||
|
||||
SequentialAnimation {
|
||||
id: pressAnimation
|
||||
HNumberAnimation {
|
||||
|
Reference in New Issue
Block a user