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.
nds [Wed, 14 Oct 2015 11:01:24 +0000 (14:01 +0300)]
The flyout widget should not accept the focus if the corresponded presentation is not built on the feature attributes.
Case: create a contour, select any vertex, detach it from a line. Call distance and select the equal points of detached lines. Previous result: no active control, waiting for user click. Current result: the flyout attribute is initialized with a default value, the focus is on the value control.
nds [Mon, 12 Oct 2015 13:37:52 +0000 (16:37 +0300)]
Issue #1042 Sometimes when setting distance constraints, the input field is not displayed in the 3D view
A correction for the case when the user calls the distance editor and moves quickly over the view with mouse button pressed. In SALOME version QtxWorkstack listens the events and set focus to the active widget. As a result the widget editor loses focus.
nds [Mon, 12 Oct 2015 13:23:28 +0000 (16:23 +0300)]
Detach, Auxiliary and Delete actions are granted for the Sketch feature.
Wrong case is that the "Detach" action tried to abort all operations. This is a regression, which happens after "Abort previous operation by Edit of Parameter" (5 hours ago).