New icon. New version 1.0. Now inner timers works
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.6 KiB |
|
@ -5,10 +5,14 @@ Page {
|
||||||
id: aboutPage
|
id: aboutPage
|
||||||
|
|
||||||
SilicaFlickable {
|
SilicaFlickable {
|
||||||
|
id: aboutFlickable
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
contentHeight: column.height
|
contentHeight: column.height
|
||||||
|
|
||||||
|
VerticalScrollDecorator { flickable: aboutFlickable }
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: column
|
id: column
|
||||||
|
|
||||||
|
@ -34,13 +38,14 @@ Page {
|
||||||
\"Boxing Timer\" is a customizable timer for fighting sports like boxe.
|
\"Boxing Timer\" is a customizable timer for fighting sports like boxe.
|
||||||
|
|
||||||
You can set duration, rest and number of rounds. If you set 0 rounds, timer loops and count number of rounds.
|
You can set duration, rest and number of rounds. If you set 0 rounds, timer loops and count number of rounds.
|
||||||
|
You can add inner timers too.
|
||||||
|
|
||||||
You can save, load and delete your settings giving a name to them.
|
You can save, load and delete your settings giving a name to them.
|
||||||
")
|
")
|
||||||
}
|
}
|
||||||
|
|
||||||
SectionHeader { text: qsTr("Developers and sources") }
|
SectionHeader { text: qsTr("Developers and sources") }
|
||||||
Label {
|
LinkedLabel {
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
|
@ -51,13 +56,18 @@ You can save, load and delete your settings giving a name to them.
|
||||||
|
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
||||||
|
color: Theme.primaryColor
|
||||||
|
linkColor: Theme.highlightColor
|
||||||
|
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
text: qsTr("
|
plainText: qsTr("
|
||||||
Copyright (C) 2017 Claudio Maradonna
|
Copyright (C) 2017 Claudio Maradonna
|
||||||
Unitoo Team, Italy
|
Unitoo Team, Italy
|
||||||
|
|
||||||
Sources at: <a href=\"https://github.com/UnitooTeam/harbour-boxing-timer\">https://github.com/UnitooTeam/harbour-boxing-timer</a>
|
Sources at: https://github.com/UnitooTeam/harbour-boxing-timer
|
||||||
")
|
")
|
||||||
|
|
||||||
|
textFormat: Text.RichText
|
||||||
}
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
@ -84,6 +94,8 @@ Sources at: <a href=\"https://github.com/UnitooTeam/harbour-boxing-timer\">https
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
||||||
color: Theme.secondaryColor
|
color: Theme.secondaryColor
|
||||||
|
|
||||||
|
textFormat: Text.RichText
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
@ -98,7 +110,7 @@ Sources at: <a href=\"https://github.com/UnitooTeam/harbour-boxing-timer\">https
|
||||||
}
|
}
|
||||||
|
|
||||||
SectionHeader { text: qsTr("Artists") }
|
SectionHeader { text: qsTr("Artists") }
|
||||||
Label {
|
LinkedLabel {
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
|
@ -109,10 +121,19 @@ Sources at: <a href=\"https://github.com/UnitooTeam/harbour-boxing-timer\">https
|
||||||
|
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
||||||
|
color: Theme.primaryColor
|
||||||
|
linkColor: Theme.highlightColor
|
||||||
|
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
text: qsTr("
|
plainText: qsTr("
|
||||||
Stefano Amandonico
|
Stefano Amandonico
|
||||||
|
GrafixPrint, Italy
|
||||||
|
|
||||||
|
info@grafixprint.it
|
||||||
|
http://www.grafixprint.it
|
||||||
")
|
")
|
||||||
|
|
||||||
|
textFormat: Text.RichText
|
||||||
}
|
}
|
||||||
|
|
||||||
SectionHeader { text: qsTr("License") }
|
SectionHeader { text: qsTr("License") }
|
||||||
|
@ -132,16 +153,21 @@ Stefano Amandonico
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.<br><br>
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.<br><br>
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.<br><br><br>
|
||||||
|
|
||||||
|
|
||||||
|
All artworks are licensed under a <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">Creative Commons Attribution-ShareAlike 4.0 International</a>
|
||||||
")
|
")
|
||||||
|
|
||||||
|
textFormat: Text.RichText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,10 @@ Page {
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: qsTr("Remove last inner time")
|
text: qsTr("Remove last inner time")
|
||||||
onClicked: Helper.removeLastSliderFromInnerTimers()
|
onClicked: {
|
||||||
|
Helper.removeLastSliderFromInnerTimers()
|
||||||
|
Helper.generateSlidersForInnerTimers()
|
||||||
|
}
|
||||||
|
|
||||||
visible: mListOfInnerTimers.length
|
visible: mListOfInnerTimers.length
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,11 @@ Page {
|
||||||
PullDownMenu {
|
PullDownMenu {
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: qsTr("About")
|
text: qsTr("About")
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("AboutPage.qml"))
|
onClicked: {
|
||||||
|
boxingTimer.status = BoxingTimer.Pause
|
||||||
|
|
||||||
|
pageStack.push(Qt.resolvedUrl("AboutPage.qml"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
|
|
|
@ -21,9 +21,7 @@ function addSliderForInnerTime() {
|
||||||
|
|
||||||
function removeLastSliderFromInnerTimers() {
|
function removeLastSliderFromInnerTimers() {
|
||||||
var newArray = settingsPage.mListOfInnerTimers
|
var newArray = settingsPage.mListOfInnerTimers
|
||||||
var slider = newArray.pop()
|
newArray.pop()
|
||||||
|
|
||||||
slider.destroy()
|
|
||||||
|
|
||||||
settingsPage.mListOfInnerTimers = newArray
|
settingsPage.mListOfInnerTimers = newArray
|
||||||
}
|
}
|
||||||
|
@ -59,12 +57,18 @@ function generateSlidersForInnerTimers() {
|
||||||
|
|
||||||
remainingTimeForInner -= settings.getInnerTimer(i)
|
remainingTimeForInner -= settings.getInnerTimer(i)
|
||||||
|
|
||||||
|
var enabled = "true"
|
||||||
|
if ((i + 1) < numberOfInnerTimers) {
|
||||||
|
enabled = "false"
|
||||||
|
}
|
||||||
|
|
||||||
var newSlider = Qt.createQmlObject(
|
var newSlider = Qt.createQmlObject(
|
||||||
"import QtQuick 2.2;" +
|
"import QtQuick 2.2;" +
|
||||||
"import Sailfish.Silica 1.0;" +
|
"import Sailfish.Silica 1.0;" +
|
||||||
"import 'converter.js' as Converter;" +
|
"import 'converter.js' as Converter;" +
|
||||||
"Slider {" +
|
"Slider {" +
|
||||||
"objectName: 'innerSlider';" +
|
"objectName: 'innerSlider';" +
|
||||||
|
"enabled: "+ enabled +"; "+
|
||||||
|
|
||||||
"width: parent.width;" +
|
"width: parent.width;" +
|
||||||
|
|
||||||
|
@ -72,7 +76,7 @@ function generateSlidersForInnerTimers() {
|
||||||
"maximumValue: "+ remainingTimeForInner +";" +
|
"maximumValue: "+ remainingTimeForInner +";" +
|
||||||
"stepSize: Converter.sToMs(5);" +
|
"stepSize: Converter.sToMs(5);" +
|
||||||
|
|
||||||
"value: "+ value +";" +
|
"value: "+ parseInt(value) +";" +
|
||||||
"valueText: Converter.msToTime(value);" +
|
"valueText: Converter.msToTime(value);" +
|
||||||
|
|
||||||
"label: qsTr('"+ (i + 1) +"° inner time');" +
|
"label: qsTr('"+ (i + 1) +"° inner time');" +
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name: harbour-boxing-timer
|
||||||
%{!?qtc_make:%define qtc_make make}
|
%{!?qtc_make:%define qtc_make make}
|
||||||
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
||||||
Summary: Boxing timer
|
Summary: Boxing timer
|
||||||
Version: 0.1a
|
Version: 1.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
|
|