Skip to content
Merged
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
758 changes: 750 additions & 8 deletions GameScreens/HomeScreen.qml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions GameScreens/ScreenPage.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QtQuick 2.15
import QtQuick.Controls 2.5
Item {
anchors.fill: parent
Flickable {
property var stack: StackView.view
StackView.visible: true
ScrollIndicator.vertical: ScrollIndicator {}
}
Binary file added Img/Basic/Smart-Home-Automation-System.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Img/Basic/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Img/Basic/undraw_programming_re_kg9v.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ScreensComponents/TitleBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Item {
height: 40
width: parent.width
property int buttonWidthHeight: 30
property int buttonRadius: 12
property int buttonRadius: 6
signal homeClicked()
signal settingsCliked()
signal menuClicked()
Expand Down
203 changes: 203 additions & 0 deletions Settings/AboutPage.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
import QtQuick 2.15
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.15
import "../GameScreens"
import "../common"
import "../Settings"
ScreenPage{
id:root
contentHeight: mainLayout.implicitHeight
Pane {
anchors.fill: parent
leftPadding: 0
topPadding: 0
clip: true
background: Rectangle{
anchors.fill: parent
color: "transparent"
}

ColumnLayout{
id: mainLayout
anchors.left: parent.left
anchors.right: parent.right
spacing: 30

Rectangle{
width: root.width
height: 150
color: "#35c9d5"
Image {
width: parent.width
height: 150
fillMode: Image.PreserveAspectFit
source: "qrc:/Img/Basic/undraw_programming_re_kg9v.svg"
anchors.fill: parent
}
}

Rectangle{
Layout.fillWidth: true
height: 150
color: "transparent"
Layout.leftMargin: 20
Layout.rightMargin: 20
radius: 12
ColumnLayout{
anchors.centerIn: parent
Label {
opacity: 0.60
font.pointSize:18
text:qsTr("Aksh Singh")
font.weight: Font.Medium
font.bold: true
color: "black"
Layout.alignment: Qt.AlignHCenter
elide: Text.ElideRight
}
Label {
opacity: 0.60
font.pointSize:18
text:qsTr("Embedded Software Engineer")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignHCenter
color: "black"
elide: Text.ElideRight
}
Label {
opacity: 0.60
font.pointSize:18
text:qsTr("Hire Me : akshworkmail@gmail.com")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignHCenter
color: "black"
elide: Text.ElideRight
}
}
}

Rectangle{
Layout.fillWidth: true
height: 150
color: "#ffffff"
border.width: 2
border.color: "#e9e9e9"
Layout.leftMargin: 20
Layout.rightMargin: 20
radius: 12
ColumnLayout{
anchors{
left: parent.left
leftMargin: 20
verticalCenter: parent.verticalCenter
}
Label {
opacity: 0.6
font.pointSize: 10
text:qsTr("Software Updated (%1)").arg("<a href='https://www.example.com'>Release Note</a>")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignLeft
color: "black"
elide: Text.ElideRight
}

Label {
opacity: 0.60
font.pointSize:10
text:qsTr("Software version (12.06.1885)")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignLeft
color: "black"
elide: Text.ElideRight
}
}

PrefsButton{

anchors{
right: parent.right
rightMargin: 20
verticalCenter: parent.verticalCenter
}

width: innerText.width + 40
height: 38
buttonText: "Check For Updated";
innerText.color: "#0570eb"
color: "transparent"
hoverColor: "#0570eb"
pressColor: "#0570eb"
borderColor: "#0570eb"
fontSize: 12
borderWidth: 1
borderRadius: 8
onClicked: {
}
}
}

Rectangle{
Layout.fillWidth: true
height: 150
color: "transparent"
Layout.leftMargin: 20
Layout.rightMargin: 20
radius: 12
ColumnLayout{
anchors{
centerIn: parent
}
Label {
opacity: 0.6
font.pointSize: 10
text:qsTr("@ 2023 1Password. All rights resered.")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignHCenter
color: "black"
elide: Text.ElideRight
}
Label {
opacity: 0.87
font.pointSize: 10
text:qsTr("<a href='https://www.example.com'>Terms of Service</a>")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignHCenter
color: "black"
elide: Text.ElideRight
}
Label {
opacity: 0.87
font.pointSize: 10
text:qsTr("<a href='https://www.example.com'>Privacy Policy</a>")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignHCenter
color: "black"
elide: Text.ElideRight
}
Label {
opacity: 0.87
font.pointSize: 10
text:qsTr("<a href='https://www.example.com'>Credits & Ackonowledgements</a>")
font.weight: Font.Medium
font.bold: true
Layout.alignment: Qt.AlignHCenter
color: "black"
elide: Text.ElideRight
}
}
}

Item{
Layout.fillWidth: true
height: 10
}
}
}
}
93 changes: 93 additions & 0 deletions Settings/AdvancedSettingsPage.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
import QtQuick 2.15
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.15
import "../GameScreens"
import "../common"
import "../Settings"
ScreenPage{
id:root
contentHeight: mainLayout.implicitHeight
Pane {
anchors.fill: parent
clip: true
background: Rectangle{
anchors.fill: parent
color: "transparent"
}

ColumnLayout{
id: mainLayout
anchors.left: parent.left
anchors.right: parent.right
spacing: 20

LablePrefsComboBox{
label:qsTr("Release channel :")
model: SideListModel{}
}

Label {
opacity: 0.87
font.pointSize: 10
text:qsTr("Betas and Nighlies are published more often. They include less-tested features and improvements.")
font.weight: Font.Medium
Layout.alignment: Qt.AlignLeft
color: "black"
elide: Text.ElideRight
Layout.leftMargin: 10
}


PrefsCheckbox{
text: qsTr("Install update automatically")
}

LablePrefsComboBox{
label:qsTr("Language :")
model: SideListModel{}
}

PrefsCheckboxLable{
title: qsTr("Show debugging tools")
description: qsTr("Extra menu option to copy item JSON and UUID.")
}

PrefsCheckboxLable{
title: qsTr("Show auto-saved web details")
description: qsTr("These were auto-saved when item was created and are likely redundant.")
}
PrefsCheckboxLable{
title: qsTr("Use Hardware Acceleration")
description: qsTr("Turn this off if you're experiencing visual performace issue.")
}
PrefsCheckbox{
text: qsTr("Keep item detail windows on top")
}
PrefsCheckboxLable{
title: qsTr("Auto-detect network settings")
description: qsTr("Turn this off if you have a proxy,but need to connect to a direct network connection.")
}

PrefsButton{
width: innerText.width + 40
height: 38
buttonText: "Send Diagnostics";
innerText.color: "#0570eb"
color: "transparent"
hoverColor: "#0570eb"
pressColor: "#0570eb"
borderColor:"#0570eb"
fontSize: 12
borderWidth: 1
borderRadius: 8
onClicked: {
}
}
Item{
Layout.fillWidth: true
height: 10
}

}
}
}
Loading