<table><tr><td style="">yurchor created this revision.<br />yurchor added a reviewer: KDE Edu.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />yurchor requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16182">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Porting by examples. Files for KFilterProxySearchLine replacement are shamelessly borrowed from KDevelop. Code to recover files is borrowed from Umbrello.</p>

<p>Printing works but Print Preview for some reason does not (empty document). It looks like some temporary file cannot be created. Console output: "QPainter::begin(): Returned false"</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Start KWordQuiz and open an example (e.g. /usr/share/kwordquiz/examples/us_states_and_capitals.kvtml or src/examples/us_states_and_capitals.kvtml in the source tree).</li>
<li class="remarkup-list-item">Try to print it into the cards PDF file (KWordQuiz tab under "Options" should work).</li>
<li class="remarkup-list-item">Try to link image (Vocabulary -> Link Image) or sound (Vocabulary -> Link Sound) with a cell.</li>
<li class="remarkup-list-item">Try to filter the list with entering "co" in the filter proxy list at the top of the window.</li>
<li class="remarkup-list-item">Try if everything works (saves and restores) in the "Settings -> Configure KWordQuiz" window (1st and 2nd tabs).</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R338 KWordQuiz</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16182">https://phabricator.kde.org/D16182</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
src/CMakeLists.txt<br />
src/cleardialogbase.ui<br />
src/filterproxysearchline.cpp<br />
src/filterproxysearchline.h<br />
src/kwordquiz.cpp<br />
src/kwordquiz.h<br />
src/kwqcardscene.cpp<br />
src/kwqcleardialog.cpp<br />
src/kwqtablemodel.cpp<br />
src/kwqtableview.cpp<br />
src/kwqtutor.cpp<br />
src/preftutor.cpp<br />
src/preftutorbase.ui</div></div></div><br /><div><strong>To: </strong>yurchor, KDE Edu<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>