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).
nds [Mon, 12 Oct 2015 08:28:26 +0000 (11:28 +0300)]
Abort previous operation by Edit of Parameter. Scenario: Create a parameter, start Sketch, create contour, edit line, call parameter->edit. There is no warning about aborting of the current operation.
nds [Fri, 9 Oct 2015 08:06:05 +0000 (11:06 +0300)]
SetCurrentFeature call is moved to operation manager to perform it in the commit transaction. Reason: the information about the top create operation is necessary but it is not available in the operation.