Skip to content

Commit

Permalink
+ Added link to documentation
Browse files Browse the repository at this point in the history
+ Reduce minimum size of main window
  • Loading branch information
trueromanus committed Dec 28, 2023
1 parent 5e34ff2 commit 601c1cc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
2 changes: 1 addition & 1 deletion org.emptyflow.ArdorQuery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ modules:
sources:
- type: git
url: https://github.com/trueromanus/ArdorQuery
tag: 0.0.11
tag: 0.0.13
commit: 1b45cb2e5e023eaa7ebc1afd8bf5b35c91bdde4b
28 changes: 23 additions & 5 deletions src/Views/AboutWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import QtQuick.Controls
ApplicationWindow {
id: root
width: 500
height: 240
height: 260
minimumWidth: 500
minimumHeight: 240
minimumHeight: 260
maximumWidth: 500
maximumHeight: 240
maximumHeight: 260
modality: Qt.WindowModal
flags: Qt.platform.os !== `windows` ? Qt.Dialog : Qt.Dialog | Qt.CustomizeWindowHint | Qt.WindowTitleHint | Qt.WindowCloseButtonHint
title: "About ArdorQuery"
Expand Down Expand Up @@ -47,7 +47,7 @@ ApplicationWindow {
anchors.top: applicationName.bottom
anchors.leftMargin: 20
anchors.topMargin: 4
text: "version 0.0.12"
text: "version 0.0.13"
font.pointSize: 10
}

Expand Down Expand Up @@ -92,11 +92,29 @@ ApplicationWindow {
}

Text {
id: copyrightInfo
id: documentationInfo
anchors.left: logoImage.right
anchors.top: qtInfo.bottom
anchors.leftMargin: 20
anchors.topMargin: 12
text: "You can check out <a href='https://trueromanus.github.io/ArdorQuery/'>online documentation</a>."
font.pointSize: 10
onLinkActivated: function (link) {
Qt.openUrlExternally(link);
}
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}

Text {
id: copyrightInfo
anchors.left: logoImage.right
anchors.top: documentationInfo.bottom
anchors.leftMargin: 20
anchors.topMargin: 12
text: "Copyright (c) 2022-2023 Roman Vladimirov"
font.pointSize: 10
}
Expand Down
6 changes: 4 additions & 2 deletions src/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import "Views"
ApplicationWindow {
id: window
visible: true
minimumWidth: 800
minimumHeight: 600
minimumWidth: 600
minimumHeight: 480
width: 800
height: 600
font.capitalization: Font.MixedCase
background: Rectangle {
anchors.fill: parent
Expand Down

0 comments on commit 601c1cc

Please sign in to comment.