Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
replace wallpaper page with password for upcoming ISO
Browse files Browse the repository at this point in the history
set to Dense to see if that fixes switch size
  • Loading branch information
demmm committed Apr 18, 2023
1 parent 51224c8 commit 416d729
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Page1Form.ui.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
39 changes: 35 additions & 4 deletions main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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("<p>Correct passwords for use in the live session:</p>
<p></p>
<table width=100% align=center bgcolor=#eaeaea>
<tr>
<th>Username:</th>
<th>Password:</th>
</tr>
<tr>
<td align=center>root</td>
<td align=center>root</td>
</tr>
<tr>
<td align=center>live</td>
<td align=center>live</td>
</tr>
</table>
<p>Hope you enjoy</p>")
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"
}
}
}

Expand Down Expand Up @@ -240,7 +271,7 @@ ApplicationWindow {
text: qsTr("Packages")
}
TabButton {
text: qsTr("Wallpaper")
text: qsTr("Passwords")
}
TabButton {
text: qsTr("Docs")
Expand Down
1 change: 1 addition & 0 deletions qtquickcontrols2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Style=Material
Accent=Blue
Primary=Indigo
Theme=Light
Variant=Dense

0 comments on commit 416d729

Please sign in to comment.