<table><tr><td style="">ahmadosama created this revision.<br />ahmadosama added a project: Okular.<br />ahmadosama 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/D10932" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Similar to how the autotest (editformtext.cpp) tests the form contents, I implemented the reset form option in a similar way by creating a function to reset each widget separately .</p>

<p>I am not quite sure that resetting radio buttons will work well, when radio buttons are in different button groups.  <br />
This implementation is inspired by previous comments about this bug.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I am currently working on implementing an auto test using formSample.pdf, I think the autotest will not be much different from editformtext.cpp .</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10932" rel="noreferrer">https://phabricator.kde.org/D10932</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>part.cpp<br />
part.rc<br />
ui/pageview.cpp<br />
ui/pageview.h</div></div></div><br /><div><strong>To: </strong>ahmadosama<br /><strong>Cc: </strong>ngraham, aacid, Okular, michaelweghorn<br /></div>