New documentation from Doxygen. Added comment for function songsBell().

This commit is contained in:
Claudio Maradonna 2017-08-24 23:13:58 +02:00
parent 5e0698ae59
commit 43c5d255a0
38 changed files with 65 additions and 48 deletions

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>
@ -70,6 +70,7 @@ $(function() {
<div class="textblock"><code>#include &lt;QObject&gt;</code><br /> <div class="textblock"><code>#include &lt;QObject&gt;</code><br />
<code>#include &lt;QTime&gt;</code><br /> <code>#include &lt;QTime&gt;</code><br />
<code>#include &lt;QSettings&gt;</code><br /> <code>#include &lt;QSettings&gt;</code><br />
<code>#include &lt;QSound&gt;</code><br />
<code>#include &quot;<a class="el" href="boxingtimer_8h_source.html">boxingtimer.h</a>&quot;</code><br /> <code>#include &quot;<a class="el" href="boxingtimer_8h_source.html">boxingtimer.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="boxingsettings_8h_source.html">boxingsettings.h</a>&quot;</code><br /> <code>#include &quot;<a class="el" href="boxingsettings_8h_source.html">boxingsettings.h</a>&quot;</code><br />
</div></div><!-- contents --> </div></div><!-- contents -->

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -22,7 +22,7 @@
<tr style="height: 56px;"> <tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;"> <td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer <div id="projectname">Boxing Timer
&#160;<span id="projectnumber">1.0</span> &#160;<span id="projectnumber">0.1a</span>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -9,5 +9,5 @@ var searchData=
['start',['start',['../class_boxing_timer.html#a64ae1d3a8bfe52b225658bf4121dcdfa',1,'BoxingTimer::start(const int &amp;milliseconds)'],['../class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558aa6122a65eaa676f700ae68d393054a37',1,'BoxingTimer::Start()']]], ['start',['start',['../class_boxing_timer.html#a64ae1d3a8bfe52b225658bf4121dcdfa',1,'BoxingTimer::start(const int &amp;milliseconds)'],['../class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558aa6122a65eaa676f700ae68d393054a37',1,'BoxingTimer::Start()']]],
['status',['Status',['../class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558',1,'BoxingTimer']]], ['status',['Status',['../class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558',1,'BoxingTimer']]],
['statuschanged',['statusChanged',['../class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a',1,'BoxingTimer']]], ['statuschanged',['statusChanged',['../class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a',1,'BoxingTimer']]],
['stop',['Stop',['../class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a11a755d598c0c417f9a36758c3da7481',1,'BoxingTimer::Stop()'],['../class_boxing_timer.html#aa294afc288608f91eb00d1680db67738',1,'BoxingTimer::stop()']]] ['stop',['stop',['../class_boxing_timer.html#aa294afc288608f91eb00d1680db67738',1,'BoxingTimer::stop()'],['../class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a11a755d598c0c417f9a36758c3da7481',1,'BoxingTimer::Stop()']]]
]; ];

View File

@ -3,5 +3,6 @@
{\ttfamily \#include $<$Q\+Object$>$}\newline {\ttfamily \#include $<$Q\+Object$>$}\newline
{\ttfamily \#include $<$Q\+Time$>$}\newline {\ttfamily \#include $<$Q\+Time$>$}\newline
{\ttfamily \#include $<$Q\+Settings$>$}\newline {\ttfamily \#include $<$Q\+Settings$>$}\newline
{\ttfamily \#include $<$Q\+Sound$>$}\newline
{\ttfamily \#include \char`\"{}boxingtimer.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}boxingtimer.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}boxingsettings.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}boxingsettings.\+h\char`\"{}}\newline

View File

@ -125,7 +125,7 @@
\begin{titlepage} \begin{titlepage}
\vspace*{7cm} \vspace*{7cm}
\begin{center}% \begin{center}%
{\Large Boxing Timer \\[1ex]\large 1.\+0 }\\ {\Large Boxing Timer \\[1ex]\large 0.\+1a }\\
\vspace*{1cm} \vspace*{1cm}
{\large Generated by Doxygen 1.8.13}\\ {\large Generated by Doxygen 1.8.13}\\
\end{center} \end{center}

View File

@ -48,7 +48,9 @@ CoverBackground {
font.pixelSize: Theme.fontSizeHuge font.pixelSize: Theme.fontSizeHuge
text: boxingTimer.remainingTimeToString text: boxingTimer.remainingTimeToString
color: boxingTimer.status === BoxingTimer.Rest ? Theme.secondaryColor : Theme.primaryColor color: boxingTimer.status === BoxingTimer.Rest ?
Theme.secondaryColor :
Theme.primaryColor
} }
Item { width: 25; height: 25 } Item { width: 25; height: 25 }

View File

@ -31,6 +31,7 @@
import QtQuick 2.0 import QtQuick 2.0
import Sailfish.Silica 1.0 import Sailfish.Silica 1.0
import Pw.Unitoo.Backend 1.0 import Pw.Unitoo.Backend 1.0
import "pages" import "pages"
ApplicationWindow { ApplicationWindow {

View File

@ -53,7 +53,9 @@ Page {
Label { Label {
text: name text: name
color: highlighted ? Theme.highlightColor : Theme.primaryColor color: highlighted ?
Theme.highlightColor :
Theme.primaryColor
anchors { anchors {
left: parent.left left: parent.left

View File

@ -101,7 +101,9 @@ Page {
width: parent.width width: parent.width
minimumValue: Converter.sToMs(30); maximumValue: Converter.sToMs(300); stepSize: Converter.sToMs(10) minimumValue: Converter.sToMs(30)
maximumValue: Converter.sToMs(300)
stepSize: Converter.sToMs(10)
value: mRoundMs value: mRoundMs
valueText: Converter.msToTime(value) valueText: Converter.msToTime(value)

View File

@ -31,6 +31,7 @@
import QtQuick 2.0 import QtQuick 2.0
import Sailfish.Silica 1.0 import Sailfish.Silica 1.0
import Pw.Unitoo.Backend 1.0 import Pw.Unitoo.Backend 1.0
import "js/helpers.js" as Helper import "js/helpers.js" as Helper
Page { Page {
@ -85,7 +86,9 @@ Page {
font.pixelSize: Theme.fontSizeHuge * 3.3 font.pixelSize: Theme.fontSizeHuge * 3.3
text: boxingTimer.remainingTimeToString text: boxingTimer.remainingTimeToString
color: boxingTimer.status == BoxingTimer.Rest ? Theme.secondaryColor : Theme.primaryColor color: boxingTimer.status == BoxingTimer.Rest ?
Theme.secondaryColor :
Theme.primaryColor
} }
Button { Button {

View File

@ -8,5 +8,5 @@
# * date Author's Name <author's email> version-release # * date Author's Name <author's email> version-release
# - Summary of changes # - Summary of changes
* Thu Jul 17 2017 Claudio Maradonna <claudio@unitoo.pw> 0.1a * Thu Aug 24 2017 Claudio Maradonna <claudio@unitoo.pw> 0.1a
- Initial release - Initial release

View File

@ -17,7 +17,7 @@ Version: 0.1a
Release: 1 Release: 1
Group: Applications/Multimedia Group: Applications/Multimedia
License: GPLv3 License: GPLv3
URL: http://example.org/ URL: https://github.com/UnitooTeam/harbour-boxing-timer
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source100: harbour-boxing-timer.yaml Source100: harbour-boxing-timer.yaml
Requires: sailfishsilica-qt5 >= 0.10.9 Requires: sailfishsilica-qt5 >= 0.10.9

View File

@ -5,7 +5,7 @@ Release: 1
# The contents of the Group field should be one of the groups listed here: # The contents of the Group field should be one of the groups listed here:
# http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS # http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://example.org/ URL: https://github.com/UnitooTeam/harbour-boxing-timer
License: GPLv3 License: GPLv3
# This must be generated before uploading a package to a remote build service. # This must be generated before uploading a package to a remote build service.
# Usually this line does not need to be modified. # Usually this line does not need to be modified.

View File

@ -162,6 +162,11 @@ class BoxingTimer : public QTimer {
QSound *restBell; QSound *restBell;
QSound *stopBell; QSound *stopBell;
/**
* @fn void songsBell()
*
* @brief Play the bell check actual status
*/
void songsBell(); void songsBell();
Status mStatus; Status mStatus;