<table><tr><td style="">yurchor updated this revision to Diff 47725.<br />yurchor retitled this revision from "[WIP] Print preview for KmPlot" to "Print preview for KmPlot".<br />yurchor edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ybdcenv3hbvegk4/">(Show Details)</a><br />yurchor added a comment.
</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/D17626">View Revision</a></tr></table><br /><div><div><p>Fix updating print preview.</p></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>4. <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Due to</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Press</span> the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">obvious inability to repaint the image from the current code,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">"Ok" button.<br />
5.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">no print preview</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">The preview should be</span> update<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> occurs after pressing the "Ok" button</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">d with the parameters chosen on step 3</span>.<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">5</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">6</span>. <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Choose some other option (switch to the landscape mode and back)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Press the "Print" button</span>. The p<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">review should be updated with the parameters chosen on step 3</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">lot with the chosen parameters should be printed (identical to the preview)</span>.<br />
<br />
I need an advice on the quality of the code<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> and how the update can be triggered in the right way (google only advices to trigger it in a programmatical way of pressing buttons on the toolbar that is surely unacceptable)</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R334 KmPlot</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D17626?vs=47677&id=47725">https://phabricator.kde.org/D17626?vs=47677&id=47725</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17626">https://phabricator.kde.org/D17626</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kmplot/kmplot_part.rc<br />
kmplot/maindlg.cpp<br />
kmplot/maindlg.h</div></div></div><br /><div><strong>To: </strong>yurchor, KDE Edu<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>