From 7a5a89644f3ea3681d7c1ab2181f1c4465897064 Mon Sep 17 00:00:00 2001 From: Ivan Holmes Date: Tue, 22 Sep 2020 18:00:16 +0100 Subject: [PATCH] Fix control order in UI and clarify error messages --- _version.py | 2 +- gui.py | 2 +- ui/mainwindow.ui | 25 ++++++++++++++++++++++--- version.rc | 8 ++++---- 4 files changed, 28 insertions(+), 9 deletions(-) diff --git a/_version.py b/_version.py index d4fab4c..6fb8667 100644 --- a/_version.py +++ b/_version.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- appName = "Chordsheet" -version = '0.4.3' +version = '0.4.4' diff --git a/gui.py b/gui.py index a9a3840..6e0ef92 100755 --- a/gui.py +++ b/gui.py @@ -974,7 +974,7 @@ class LengthWarningMessageBox(QMessageBox): self.setIcon(QMessageBox.Warning) self.setWindowTitle("Block without valid length") - self.setText("Blocks must have a whole number length.") + self.setText("Blocks must have a length.") self.setInformativeText( "Please enter a valid length for your block and try again.") self.setStandardButtons(QMessageBox.Ok) diff --git a/ui/mainwindow.ui b/ui/mainwindow.ui index 8327c84..34c8f20 100644 --- a/ui/mainwindow.ui +++ b/ui/mainwindow.ui @@ -72,7 +72,7 @@ - 2 + 4 @@ -1126,23 +1126,42 @@ generateButton tabWidget titleLineEdit + subtitleLineEdit composerLineEdit arrangerLineEdit + tempoLineEdit + timeSignatureSpinBox pageSizeComboBox documentUnitsComboBox leftMarginLineEdit + rightMarginLineEdit topMarginLineEdit + bottomMarginLineEdit lineSpacingDoubleSpinBox fontComboBox + includedFontCheckBox + beatWidthLineEdit chordTableView chordNameLineEdit guitarVoicingLineEdit + pianoVoicingLineEdit guitarVoicingButton - addChordButton removeChordButton + updateChordButton + addChordButton + sectionTableView + sectionNameLineEdit + removeSectionButton + updateSectionButton + addSectionButton + blockSectionComboBox blockTableView - addBlockButton + blockLengthLineEdit + blockChordComboBox + blockNotesLineEdit removeBlockButton + updateBlockButton + addBlockButton diff --git a/version.rc b/version.rc index 0bf7dc7..aa230f7 100644 --- a/version.rc +++ b/version.rc @@ -6,8 +6,8 @@ VSVersionInfo( ffi=FixedFileInfo( # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) # Set not needed items to zero 0. -filevers=(0, 4, 3, 0), -prodvers=(0, 4, 3, 0), +filevers=(0, 4, 4, 0), +prodvers=(0, 4, 4, 0), # Contains a bitmask that specifies the valid bits 'flags'r mask=0x3f, # Contains a bitmask that specifies the Boolean attributes of the file. @@ -31,12 +31,12 @@ StringFileInfo( u'040904B0', [StringStruct(u'CompanyName', u'Ivan Holmes'), StringStruct(u'FileDescription', u'Chordsheet'), - StringStruct(u'FileVersion', u'0.4.3'), + StringStruct(u'FileVersion', u'0.4.4'), StringStruct(u'InternalName', u'Chordsheet'), StringStruct(u'LegalCopyright', u'Copyright (c) Ivan Holmes, 2020. Some rights reserved.'), StringStruct(u'OriginalFilename', u'chordsheet.exe'), StringStruct(u'ProductName', u'Chordsheet'), - StringStruct(u'ProductVersion', u'0.4.3')]) + StringStruct(u'ProductVersion', u'0.4.4')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) ]