User Details
- User Since
- Feb 14 2018, 11:21 AM (375 w, 7 h)
- Availability
- Available
May 2 2019
- Passing default empty paramters to the call function
I updated the the description of the patch now, sorry about that.
Oct 26 2018
- Changing variables, function names and comments to be more meaningful
Oct 21 2018
@yurchor
I have reformatted the code to be consistent, sorry for this.
- Reformat other parts of the code
- Reformatting the code to be consistent with other parts
- Resetting the printing option to the default options when closing document
Oct 17 2018
Aug 12 2018
I updated the parttest.cpp, the tocreload.pdf file in the data directory reproduced this bug so I used it for the unit test.
- Adding a unit test to check that document doesnot go back to contents view after saving
Aug 11 2018
Apr 18 2018
I agree with what you have said, and I was thinking about some of it.
Closing the feature will not upset me, I have learned a lot from working on it.
I hope that I could make better contributions to Okular later.
I will investigate more to find out why m_rects and m_highlights need different transformation matrices.
Apr 11 2018
I used Okular::buildRotationMatrix to rotate the highlights, the rotation angle is specified in the rotateAt function
Apr 10 2018
As far as I know rotating m_page->m_rects should rotate annotations on the page, the annotations seem to work well when rotating them.
Apr 7 2018
I tried rotating using ( const QTransform matrix = rotationMatrix() ) but it only works when rotating a page from its original orientation, this is why I modified the RotationJob::rotationMatrix in a way similar to Okular::buildRotationMatrix to allow rotating from different orientations.
Apr 4 2018
I added the boolean parameter to either translate or not.
Oh yes this may break it, I am thinking of adding another Boolean parameter to the RotationJob::rotationMatrix function with a default value of false to either translate or not
The function can be:
RotationJob::rotationMatrix( Rotation from, Rotation to, bool translate = false )
Apr 3 2018
Removing white spaces.
Mar 17 2018
I have done the required changes.
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.
Mar 15 2018
Mar 14 2018
Regarding the undo/redo stacks, the undo/redo command will not undo the whole reset, it will undo widgets somehow randomly.
RadioButtons in the same page will be in the same undo command, as for TextLineEdit each single widget will be added separately to the undo/redo stack.
yes I am going to cancel this revision.
Mar 13 2018
I added an auto-test for this option, the test is working fine on all the created test cases.
Mar 11 2018
Mar 8 2018
Mar 5 2018
I mistakenly replaced the code with the auto test.
I edited the patch now.
Mar 4 2018
I have created an auto test but it is not working, in the test class I created a page view class that takes a document pointer in its constructor then it calls the reset function in the pageview class.
Feb 28 2018
I implemented the reset option using Okular::FormFields inspired by the comments here:
https://git.reviewboard.kde.org/r/130057/
Feb 20 2018
I have not created an auto test before, I am currently going through current auto tests to understand how it works, then I will try creating an auto test for this bug.
Feb 17 2018
Removing unnecessary comments, add clear widget function for other widgets.