From 416d72990317840e518358600e3a32eda8f7d6fe Mon Sep 17 00:00:00 2001 From: demmm Date: Tue, 18 Apr 2023 14:37:31 +0200 Subject: [PATCH] replace wallpaper page with password for upcoming ISO set to Dense to see if that fixes switch size --- Page1Form.ui.qml | 2 +- main.qml | 39 +++++++++++++++++++++++++++++++++++---- qtquickcontrols2.conf | 1 + 3 files changed, 37 insertions(+), 5 deletions(-) diff --git a/Page1Form.ui.qml b/Page1Form.ui.qml index cebcfcd..b9d0dd8 100644 --- a/Page1Form.ui.qml +++ b/Page1Form.ui.qml @@ -19,7 +19,7 @@ import QtQuick 2.7 import QtQuick.Controls 2.0 import QtQuick.Layouts -import QtQuick.Controls.Material 2.1 +import QtQuick.Controls.Material 2.12 Item { id: item1 diff --git a/main.qml b/main.qml index 91f2e68..eba0460 100644 --- a/main.qml +++ b/main.qml @@ -79,9 +79,40 @@ ApplicationWindow { } Page { - Loader { - id: wallpaper - source: "wallpaper/wall.qml" + //Loader { + // id: wallpaper + // source: "wallpaper/wall.qml" + //} + Label { + textFormat: Text.RichText + //: Do not translate root/root and live/live + text: qsTr("

Correct passwords for use in the live session:

+

+ + + + + + + + + + + + + +
Username:Password:
rootroot
livelive
+

Hope you enjoy

") + anchors.centerIn: parent + horizontalAlignment: Text.AlignHCenter + Image { + id: image + anchors.centerIn: parent + anchors.verticalCenterOffset : 100 + width: 22 + height: 22 + source: "images/face-smile-grin.svg" + } } } @@ -240,7 +271,7 @@ ApplicationWindow { text: qsTr("Packages") } TabButton { - text: qsTr("Wallpaper") + text: qsTr("Passwords") } TabButton { text: qsTr("Docs") diff --git a/qtquickcontrols2.conf b/qtquickcontrols2.conf index fe6e6ca..f725bc4 100644 --- a/qtquickcontrols2.conf +++ b/qtquickcontrols2.conf @@ -5,3 +5,4 @@ Style=Material Accent=Blue Primary=Indigo Theme=Light +Variant=Dense