<table><tr><td style="">ahmadosama updated this revision to Diff 29771.<br />ahmadosama 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/D10932">View Revision</a></tr></table><br /><div><div><p>I have done the required changes.<br />
I created the EditWidgetsCommand class to undo/redo the reset action of all widgets by a single click, also I moved the core implementation of the reset function to the Document class, and I updated the reset auto test to include the undo/redo and the test is working fine on the created tests.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D10932?vs=29396&id=29771">https://phabricator.kde.org/D10932?vs=29396&id=29771</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10932">https://phabricator.kde.org/D10932</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/CMakeLists.txt<br />
autotests/resetformstest.cpp<br />
core/document.cpp<br />
core/document.h<br />
core/documentcommands.cpp<br />
core/documentcommands_p.h<br />
part.cpp<br />
part.h<br />
part.rc<br />
ui/pageview.cpp<br />
ui/pageview.h</div></div></div><br /><div><strong>To: </strong>ahmadosama, Okular, aacid<br /><strong>Cc: </strong>ngraham, aacid, Okular, michaelweghorn<br /></div>