nds [Mon, 9 Nov 2015 13:14:40 +0000 (16:14 +0300)]
Internal edit launch: clear cashed viewer flags in sketch manager
Undo
Erroneous scenario: create line, click 1st, click 2nd. Internal edit is started, input another value, Sift +Tab to input the previous point value. The result is that point is changed by previous click position.
nds [Mon, 9 Nov 2015 13:09:15 +0000 (16:09 +0300)]
Internal edit launch: clear cashed viewer flags in sketch manager
Erroneous scenario: create line, click 1st, click 2nd. Internal edit is started, input another value, Sift +Tab to input the previous point value. The result is that point is changed by previous click position.
nds [Mon, 9 Nov 2015 08:59:51 +0000 (11:59 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)
Realization for Translation
Correction for right focus change after the end point in the create operation selection. Later, it could be corrected if there is an alternative method to validators->isCase() is implemented. It should answer which controls are visible. It is important here, where the same attributes can be used in both switch cases but we do not like to focus those, which are not currently being used.
nds [Mon, 9 Nov 2015 08:46:13 +0000 (11:46 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)
Realization for Translation
WidgetPoint2d is corrected because multi translation can have equal points -> single end point value = full end point value when number of objects = 2.
nds [Mon, 9 Nov 2015 05:16:32 +0000 (08:16 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)
It must also be possible to enter the full angle value of the multi-rotation, with a toggle button defining the semantic of the angle value (either full rotation or between two consecutive repetitions).
For consistency, it should be the same for multi-translation.
nds [Fri, 6 Nov 2015 16:14:03 +0000 (19:14 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)
It must also be possible to enter the full angle value of the multi-rotation, with a toggle button defining the semantic of the angle value (either full rotation or between two consecutive repetitions).
For consistency, it should be the same for multi-translation.
nds [Fri, 6 Nov 2015 15:49:02 +0000 (18:49 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)
It must also be possible to enter the full angle value of the multi-rotation, with a toggle button defining the semantic of the angle value (either full rotation or between two consecutive repetitions).
For consistency, it should be the same for multi-translation.
nds [Fri, 6 Nov 2015 08:42:03 +0000 (11:42 +0300)]
Issue #995: Checkbox 'Make a copy' during translation and rotation operations
Correction from a list of improvements:
For compatibility with old GEOM, we must ask for the total number of objects, not the number of copies, as currently (for information, it's like that too in SolidWorks).
nds [Thu, 5 Nov 2015 10:19:08 +0000 (13:19 +0300)]
Revolution Cut: it should not be a warning about abort circle sketch operation when the line sketch operation is started(by click on the line action in the tool bar)
nds [Thu, 5 Nov 2015 10:04:27 +0000 (13:04 +0300)]
1. setEditOperation should setCurrentFeature to the previous feature in the previous transaction.
Scenario: start circle, click, click->internal edition mode[before a new create operation it should be the same current feature which was when the create of the circle is started]
2. Control by debug information setting current feature performed before starting/commit the operation.
nds [Thu, 5 Nov 2015 04:32:05 +0000 (07:32 +0300)]
Separation part of the function in an additional function. Preparation to create/remove a new feature for validating preselection of a new create operation.
nds [Tue, 3 Nov 2015 11:37:14 +0000 (14:37 +0300)]
myClickedPoint should not filled if the reentrant manager is active. Wrong case: create line, 1,2nd clicks, 'edition' mode, activate the 1st control. The value is modified to the current clicked.
Edit operation - reentrant manager should not be active.
nds [Tue, 3 Nov 2015 10:39:28 +0000 (13:39 +0300)]
Lenght, Radius constraints creation after re-entrant operation. The object is clicked, but the 2nd flyout point widget tried to process the mouse release also.
nds [Fri, 30 Oct 2015 16:02:37 +0000 (19:02 +0300)]
Simplification of the code: it removes focusNextPrevChild processing.
It is not enough to emit signal about focus change here because it can be changed by mouse click in another control. It is not processed in this method.
The same functionality(to store modified value on focus lost) is realized in ::deactivate() of the model widget and processEnter method of the widge.
nds [Fri, 30 Oct 2015 07:31:18 +0000 (10:31 +0300)]
Activating of another widget by hands should be performed only after store the current widget value ot the model only when the operation sate is Modified in Property Panel.
nds [Wed, 21 Oct 2015 15:18:09 +0000 (18:18 +0300)]
A correction for the parameters:
after entering the parameter name, when the value input gets the focus,
an error message is displayed (unnexpected EOF while parsing (<string>,
line 0) while the user didn't type yet anything. It's not fair.
The decision: do not set the editor value to the feature attribute by the control activation.
nds [Thu, 15 Oct 2015 15:35:44 +0000 (18:35 +0300)]
Value state is provided in ModelWidget to remove 'myIsCurrentValueUnderModification' in sketch manager. Reason: Apply button should be disabled during value modification for any operation, not only Sketch.
nds [Thu, 29 Oct 2015 12:34:49 +0000 (15:34 +0300)]
1. Create->Edit->Create is realized as 2 transaction: for the first pair the setEditOperation() is provided to change mode of operation from create to edit. Purpose: do not use additional transaction.
nds [Tue, 27 Oct 2015 13:29:46 +0000 (16:29 +0300)]
Introduce internal edit operation state in PartSet module in order to have a virtual active widget to activate the selection of the first control of restarted operation.