登录用户界面 - 组成部分
pragma Singleton import QtQuick QtObject { readonly property int width: 720 readonly property int height: 1280 property alias fontDirectory: directoryFontLoader.fontDirectory property alias relativeFontDirectory: directoryFontLoader.relativeFontDirectory /* Edit this comment to add your custom font */ readonly property font font: Qt.font({ family: Qt.application.font.family, pixelSize: Qt.application.font.pixelSize }) readonly property font largeFont: Qt.font({ family: Qt.application.font.family, pixelSize: Qt.application.font.pixelSize * 1.6 }) readonly property color backgroundColor: "#c2c2c2" property DirectoryFontLoader directoryFontLoader: DirectoryFontLoader { id: directoryFontLoader } }