<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://svn.reviewboard.kde.org/r/6489/">http://svn.reviewboard.kde.org/r/6489/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://svn.reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for KDE-Edu.</div>
<div>By Massimo Lo Iacono.</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Hallo.
I have made the modifications to add functionality for dictation practice.
Dictation is a monolanguage type of practice. It consists a sound (only) question and a text solution in the same language of question.
The language of practice is the first of the pair languageFrom/languageTo.
For developers:
Since the dictation practice is of the type monolanguage and the pre existent code was for bilanguage practice, I modified a bit the code in order that now it is adapt also for a monolanguage type of practice.
I added these new 4 files in "src/4/kdeedu/parley/src/practice/" directory:
dictationbackendmode.h
dictationbackendmode.cpp
dictationmodewidget.h
dictationmodewidget.cpp
I can send these file as attachments in the parley develop mailing list.
IMPORTANT: to manage the visualisation of question and solution images, I was forced to create the new function:
GuiFrontend::compareImage()
and to modify the functions:
AbstractBackendMode::setTestEntry
MultipleChoiceBackendMode::setTestEntry
ConjugationBackendMode::setTestEntry
ComparisonBackendMode::setTestEntry
adding the rows:
m_frontend->setQuestionImage
m_frontend->setSolutionImage
m_frontend->compareImage();
I created the patch from the 1218525 revision, almost 2 weeks old.
I can successful compile and execute the code with my modifications.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I can successful compile and execute the code with my modifications.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>/trunk/KDE/kdeedu/CMakeLists.txt <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/CMakeLists.txt <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/abstractbackendmode.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/abstractfrontend.h <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/comparisonbackendmode.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/conjugationbackendmode.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/guifrontend.h <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/guifrontend.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/multiplechoicebackendmode.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/practiceoptions.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/practicestatemachine.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/practicesummarycomponent.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/writtenpracticewidget.h <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/practice/writtenpracticewidget.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/settings/parley.kcfg <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/statistics/statisticsmainwindow.cpp <span style="color: grey">(1218525)</span></li>
<li>/trunk/KDE/kdeedu/parley/src/statistics/statisticsmainwindow.ui <span style="color: grey">(1218525)</span></li>
</ul>
<p><a href="http://svn.reviewboard.kde.org/r/6489/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>