Compare commits
2 commits
999999832a
...
a66ccd1319
Author | SHA1 | Date | |
---|---|---|---|
a66ccd1319 | |||
9879e7fbc9 |
5 changed files with 17 additions and 8 deletions
|
@ -17,8 +17,8 @@
|
|||
"""
|
||||
from shutil import which
|
||||
|
||||
__VERSION__ = "0.4.0"
|
||||
is_release = True
|
||||
__VERSION__ = "0.4.1"
|
||||
is_release = False
|
||||
|
||||
|
||||
# Check if development version, if so get the date of the latest git patch
|
||||
|
|
|
@ -32,7 +32,7 @@ Popup {
|
|||
id: changelogPopup
|
||||
x: (parent.width-width)/2
|
||||
y: Math.max(20, (parent.height-height)/2)
|
||||
width: changelog.width+40
|
||||
width: 800
|
||||
height: Math.min(parent.height-40, 500)
|
||||
modal: true
|
||||
focus: true
|
||||
|
@ -44,33 +44,42 @@ Popup {
|
|||
*/
|
||||
property bool changelogNeedsFetching: true
|
||||
|
||||
onAboutToShow: if(changelogNeedsFetching) Helper.fetchChangelog()
|
||||
onAboutToShow: if(changelogNeedsFetching) {
|
||||
Helper.fetchChangelog()
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Helper
|
||||
function onChangelogFetched(chl) {
|
||||
changelogNeedsFetching = false;
|
||||
changelog.text = chl
|
||||
changelogView.contentItem.implicitHeight = changelog.height
|
||||
// console.log(changelog.height, changelogView.contentItem.implicitHeight)
|
||||
}
|
||||
}
|
||||
|
||||
ScrollView {
|
||||
id: changelogView
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 10
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 10
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 10
|
||||
anchors.bottom: doneBtn.top
|
||||
anchors.bottomMargin: 10
|
||||
clip: true
|
||||
|
||||
|
||||
Label {
|
||||
id: changelog
|
||||
color: sysPalette.windowText
|
||||
width: 760
|
||||
wrapMode: Text.WordWrap
|
||||
textFormat: TextEdit.MarkdownText
|
||||
|
||||
text: qsTr("Fetching changelog...")
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.4.0</string>
|
||||
<string>0.4.1</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||
|
||||
VERSION=0.4.0
|
||||
VERSION=0.4.1
|
||||
title="LogarithmPlotter v${VERSION} Setup"
|
||||
finalDMGName="LogarithmPlotter-v${VERSION}-setup.dmg"
|
||||
applicationName=LogarithmPlotter
|
||||
|
|
|
@ -11,7 +11,7 @@ Unicode True
|
|||
!define PROG_ID "LogarithmPlotter.File.1"
|
||||
!define DEV_NAME "Ad5001"
|
||||
!define WEBSITE "https://apps.ad5001.eu/logarithmplotter"
|
||||
!define VERSION_SHORT "0.4.0"
|
||||
!define VERSION_SHORT "0.4.1"
|
||||
!define APP_VERSION "${VERSION_SHORT}.0"
|
||||
!define COPYRIGHT "Ad5001 (c) 2023"
|
||||
!define DESCRIPTION "Create graphs with logarithm scales."
|
||||
|
|
Loading…
Reference in a new issue