Salome HOME
modules/shaper.git
9 years agoMerge remote-tracking branch 'remotes/origin/master' into SketchSolver
azv [Thu, 26 Jun 2014 12:34:51 +0000 (16:34 +0400)]
Merge remote-tracking branch 'remotes/origin/master' into SketchSolver

9 years agoProblem with invisible constraints when editing sketch was fixed
azv [Thu, 26 Jun 2014 12:33:27 +0000 (16:33 +0400)]
Problem with invisible constraints when editing sketch was fixed

9 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Thu, 26 Jun 2014 12:23:58 +0000 (16:23 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Position point for parallel and perpendicular constraints.

9 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Thu, 26 Jun 2014 11:19:33 +0000 (15:19 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

The widget value is implemented in order to remove the customization in the operation.

9 years agoMerge branch 'master' of newgeom:newgeom
nds [Thu, 26 Jun 2014 10:06:29 +0000 (14:06 +0400)]
Merge branch 'master' of newgeom:newgeom

9 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Thu, 26 Jun 2014 10:06:10 +0000 (14:06 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Icons

9 years agoDivide method init on initFeature and initSelection
vsv [Thu, 26 Jun 2014 08:48:51 +0000 (12:48 +0400)]
Divide method init on initFeature and initSelection

9 years agoMerge branch 'master' of newgeom:newgeom
vsv [Thu, 26 Jun 2014 06:45:10 +0000 (10:45 +0400)]
Merge branch 'master' of newgeom:newgeom

9 years agoDivide init method of sketch operation on initFeature and initSelection.
vsv [Thu, 26 Jun 2014 06:44:31 +0000 (10:44 +0400)]
Divide init method of sketch operation on initFeature and initSelection.

9 years agoPresentation for parallel and perpendicular constraints
azv [Thu, 26 Jun 2014 04:44:45 +0000 (08:44 +0400)]
Presentation for parallel and perpendicular constraints

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 17:48:53 +0000 (21:48 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Text correction

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 17:43:49 +0000 (21:43 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Coincidence constraint.
2. Move radius

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 17:15:07 +0000 (21:15 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Show editor just by click on the constraint text.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 17:00:46 +0000 (21:00 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Comment about OCC bug for edit constraint objects after their selection(bug is 25034).

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 17:00:13 +0000 (21:00 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Comment about OCC bug for edit constraint objects after their selection(bug is 25034).

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 16:25:26 +0000 (20:25 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Remove feature presentation. Functionality is moved to SketchPlugin and ModelWidget.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 16:09:37 +0000 (20:09 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Focus processing(focusTo is boolean for a constraint editor, focusOut in eventFilter to start a new line creation in an indepmendent place in case of contour, remove the previous focusActivate functionality of the create operation).

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 13:26:50 +0000 (17:26 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. A fix for the circle object.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 12:37:39 +0000 (16:37 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Circle AIS check.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 12:27:14 +0000 (16:27 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. The widget editor shows the double value in the property panel.

10 years agoUpdating of constraint presentations while feature edit, and error handling
azv [Wed, 25 Jun 2014 11:39:02 +0000 (15:39 +0400)]
Updating of constraint presentations while feature edit, and error handling

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 10:03:57 +0000 (14:03 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. It shows a line edit control to visualize a feature name in the WidgetFeature.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 07:34:35 +0000 (11:34 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. WidgetActivation after focusTo.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 07:14:11 +0000 (11:14 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Property panel input correction for a feature creation. It was not possible to perform "apply"
2. Creation opertion - do not allow to activate the next widget if the previous is not processed. Error: create arc, start lenght feature creation, select arc, the result is an editor control with the zero value inside.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 06:04:51 +0000 (10:04 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Remove previous create constraint/feature operation. The OperationCreateFeature is used instead of them.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 05:35:02 +0000 (09:35 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Edit for constraint.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 05:15:57 +0000 (09:15 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Constraint for a line, which is started in the end of the previous line.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 25 Jun 2014 04:43:57 +0000 (08:43 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Edit/multi edit are separated.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 17:18:55 +0000 (21:18 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Edit move for distance.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 17:01:13 +0000 (21:01 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Parallel and perpedicular of line features.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 16:52:03 +0000 (20:52 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Radius constraint initalization of constraint value.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 16:48:11 +0000 (20:48 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Radius constraint initalization of constraint value.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 16:03:25 +0000 (20:03 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Length and distance constraint initalization of constraint value.

10 years agoMerge branch 'master' of newgeom:newgeom
nds [Tue, 24 Jun 2014 15:39:37 +0000 (19:39 +0400)]
Merge branch 'master' of newgeom:newgeom

Conflicts:
src/PartSet/PartSet_OperationFeatureCreate.cpp

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 15:37:52 +0000 (19:37 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Length constraint.

10 years agoMerge with master
azv [Tue, 24 Jun 2014 15:33:29 +0000 (19:33 +0400)]
Merge with master

10 years agoProjection of the last point of arc
azv [Tue, 24 Jun 2014 15:33:11 +0000 (19:33 +0400)]
Projection of the last point of arc

10 years agoMerge branch 'master' of newgeom:newgeom
vsv [Tue, 24 Jun 2014 15:22:00 +0000 (19:22 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agoSet word wrap for long labels
vsv [Tue, 24 Jun 2014 15:21:37 +0000 (19:21 +0400)]
Set word wrap for long labels

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 14:13:10 +0000 (18:13 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Use the previous operation to create radius and length.

10 years agoMerge branch 'master' of newgeom:newgeom
nds [Tue, 24 Jun 2014 14:08:33 +0000 (18:08 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 14:08:25 +0000 (18:08 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

It replaces findPoint() method by using attributes(type) data model method.

10 years agoMerge remote-tracking branch 'remotes/origin/master' into SketchSolver
azv [Tue, 24 Jun 2014 13:52:37 +0000 (17:52 +0400)]
Merge remote-tracking branch 'remotes/origin/master' into SketchSolver

10 years agoMove generation of AIS presentation into SketchPlugin
azv [Tue, 24 Jun 2014 13:52:25 +0000 (17:52 +0400)]
Move generation of AIS presentation into SketchPlugin
  Presentation of Radius constraint

10 years agoMerge branch 'master' of newgeom:newgeom
nds [Tue, 24 Jun 2014 12:59:36 +0000 (16:59 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 12:58:41 +0000 (16:58 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Move for line constraint. Do not build line preview until both points are initialized.

10 years agoMerge branch 'master' of newgeom:newgeom
vsv [Tue, 24 Jun 2014 12:54:58 +0000 (16:54 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agoSet focus into dimension editor
vsv [Tue, 24 Jun 2014 12:54:47 +0000 (16:54 +0400)]
Set focus into dimension editor

10 years agoMerge remote-tracking branch 'remotes/origin/master' into SketchSolver
azv [Tue, 24 Jun 2014 12:51:45 +0000 (16:51 +0400)]
Merge remote-tracking branch 'remotes/origin/master' into SketchSolver

10 years agoMove generation of AIS presentation into SketchPlugin
azv [Tue, 24 Jun 2014 12:28:37 +0000 (16:28 +0400)]
Move generation of AIS presentation into SketchPlugin

10 years agoMerge branch 'master' of newgeom:newgeom
nds [Tue, 24 Jun 2014 12:08:55 +0000 (16:08 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agoAdded the initialization of attributes flag and "attributes": method that returns...
mpv [Tue, 24 Jun 2014 11:58:18 +0000 (15:58 +0400)]
Added the initialization of attributes flag and "attributes": method that returns all attributes of Data

10 years agoMerge branch 'master' of newgeom:newgeom
nds [Tue, 24 Jun 2014 11:45:06 +0000 (15:45 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 11:44:52 +0000 (15:44 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Parallel, perpendicular features.

10 years agoMerge branch 'master' of newgeom:newgeom
vsv [Tue, 24 Jun 2014 11:17:20 +0000 (15:17 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agoInitialization of WidgetPoint2d with point from last feature.
vsv [Tue, 24 Jun 2014 11:17:07 +0000 (15:17 +0400)]
Initialization of WidgetPoint2d with point from last feature.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 10:25:50 +0000 (14:25 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Hide internal widgets.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 09:19:00 +0000 (13:19 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Use the features to set the default value in the constraint.

10 years agoMerge branch 'master' of newgeom:newgeom
nds [Tue, 24 Jun 2014 09:03:02 +0000 (13:03 +0400)]
Merge branch 'master' of newgeom:newgeom

Conflicts:
src/Config/Config_Keywords.h
src/ModuleBase/ModuleBase_WidgetFactory.cpp
src/PartSet/PartSet_OperationFeatureCreate.cpp

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 08:58:23 +0000 (12:58 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Double editor for the constraint value.

10 years agoMerge branch 'master' of newgeom:newgeom
vsv [Tue, 24 Jun 2014 08:48:36 +0000 (12:48 +0400)]
Merge branch 'master' of newgeom:newgeom

Conflicts:
src/ModuleBase/ModuleBase_WidgetFactory.cpp

10 years agoPoint2d Distance widget added
vsv [Tue, 24 Jun 2014 07:53:09 +0000 (11:53 +0400)]
Point2d Distance widget added

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 24 Jun 2014 07:21:45 +0000 (11:21 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Widget controls for a constraint filling.

10 years agoMerge remote-tracking branch 'remotes/origin/master' into SketchSolver
azv [Tue, 24 Jun 2014 04:21:58 +0000 (08:21 +0400)]
Merge remote-tracking branch 'remotes/origin/master' into SketchSolver

10 years agoChanges concerning to Radius constraint
azv [Tue, 24 Jun 2014 04:21:42 +0000 (08:21 +0400)]
Changes concerning to Radius constraint

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 23 Jun 2014 18:42:45 +0000 (22:42 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Move setConstraint method to the feature.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 23 Jun 2014 18:04:04 +0000 (22:04 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Change the feature create operation to work without a custom presentation.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 23 Jun 2014 17:48:57 +0000 (21:48 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Change the feature create operation to work without a custom presentation.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 23 Jun 2014 16:11:13 +0000 (20:11 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Undoes the modification of the isEdit state of operation using. The default value of the feature is set after the operation is started
Edit for a second line creation. This is not edit operation, but the property widget value should not be applyed to the line.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 23 Jun 2014 15:25:17 +0000 (19:25 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Undoes the modification of the isEdit state of operation using. The default value of the feature is set after the operation is started

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 23 Jun 2014 14:46:48 +0000 (18:46 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

The PartSet presentation's functionality should be partially moved to SketchPlugin and a custom widget creation.
1. distanceToPoint method is moved to the sketch plugin feature.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 23 Jun 2014 14:14:11 +0000 (18:14 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

The PartSet presentation's functionality should be partially moved to SketchPlugin and a custom widget creation.
1. feature move() method is moved to the sketch plugin feature.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Sat, 21 Jun 2014 11:51:23 +0000 (15:51 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Distance constraint between points.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Sat, 21 Jun 2014 10:40:03 +0000 (14:40 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Introduce the Last kind of selection in order to realize second feature selection for the distance constraint

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Sat, 21 Jun 2014 09:20:01 +0000 (13:20 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Radius constraint for an arc.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Sat, 21 Jun 2014 08:52:41 +0000 (12:52 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Edit radius feature(change the feature's position in the circle)

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Sat, 21 Jun 2014 08:25:20 +0000 (12:25 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. SetCustomValue for a dimension to show the model value, not a real one
2. Dir2d to add new costructor in Curc2d
3. Visualize Radius dimension
4. projectPointOnFeature for arc and circle (was projectPointOnArc)

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Fri, 20 Jun 2014 15:55:48 +0000 (19:55 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Get back the previuos modifications.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Fri, 20 Jun 2014 15:25:44 +0000 (19:25 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Rename constraint feature presentations
2. Add createPresentation() to each constraint feature prs.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Fri, 20 Jun 2014 15:04:35 +0000 (19:04 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Move the constraint presentation creation to the feature prs class
2. Create distance/radius presentation classes.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Fri, 20 Jun 2014 12:37:52 +0000 (16:37 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Remove operation constraint class.
2. Edit constraint lenght. The lenght is moved. Selected(not highlighted)

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Fri, 20 Jun 2014 11:53:50 +0000 (15:53 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Remove operation constraint class.
2. Edit constraint lenght. To debug

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Fri, 20 Jun 2014 06:22:31 +0000 (10:22 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Screen out myFeatures which are not necessary here.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Fri, 20 Jun 2014 06:11:16 +0000 (10:11 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Edit constraint text.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Thu, 19 Jun 2014 08:56:56 +0000 (12:56 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Split init(feature, feature) on init(feature), setFeature(feature, selection mode). The cause is lenght constraint.
2. Mouse double click signal listen by operation.
3. Correct displayer to use the selection mode only in activateInLocalContext method. It was temporary realized in the redisplay().
4. Increase selection tolerance for dimension text.

10 years agoMerge branch 'SketchSolver'
azv [Wed, 18 Jun 2014 12:54:43 +0000 (16:54 +0400)]
Merge branch 'SketchSolver'

10 years agoEliminate the problem with constraint for the length of the line
azv [Wed, 18 Jun 2014 12:54:00 +0000 (16:54 +0400)]
Eliminate the problem with constraint for the length of the line

10 years agoThe problems with building the sketch with circles and triangles were fixed
azv [Wed, 18 Jun 2014 12:22:38 +0000 (16:22 +0400)]
The problems with building the sketch with circles and triangles were fixed

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 18 Jun 2014 11:07:57 +0000 (15:07 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. ToolTip style for a constraint editor, close the control by the Esc button, erase constraint if the operation is aborted.

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Wed, 18 Jun 2014 10:03:18 +0000 (14:03 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. The lenght constraint

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 17 Jun 2014 17:06:58 +0000 (21:06 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. The cross product for a line to find the constraint direction relatively to the source line feature

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Tue, 17 Jun 2014 14:33:18 +0000 (18:33 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

1. Using the GeomAPI_Lin projection/distance for a line to be used later for a lenght constraint.
2. Correct projection() in the Line
3. Append double flyout value argument to the constraint.
4. Add lenght constraint presentation and operation to create it(may be later it will be join with feature create operation)

10 years agorefs #80 - Sketch base GUI: create/draw point, circle and arc
nds [Mon, 16 Jun 2014 08:20:44 +0000 (12:20 +0400)]
refs #80 - Sketch base GUI: create/draw point, circle and arc

Arc edit correction.

10 years agoAccording to "operation-widget_factory-property"
nds [Mon, 16 Jun 2014 06:45:04 +0000 (10:45 +0400)]
According to "operation-widget_factory-property"

final modification to use in the property panel the operation widgets.
To do: the property panel clear the widgets, but should not do it.

10 years agoAccording to "operation-widget_factory-property"
nds [Wed, 11 Jun 2014 15:10:25 +0000 (19:10 +0400)]
According to "operation-widget_factory-property"

remove dependency of widget fractory from operation

10 years agoThere was discovered a logic, that the feature is created in the operation, after...
nds [Wed, 11 Jun 2014 15:00:01 +0000 (19:00 +0400)]
There was discovered a logic, that the feature is created in the operation, after the operation can perform some actions for feature and after, outside, the property panel widgets are created and the feature is initialized by the control default values.

The problem with the Sketch creation line operation, which need to fill the property start point by the last point of another feature. The functionality the operation done in the startOperation() virtual method. After, the property panel throw down the values set.
The decision is to redesign the operation-widget_factory-property panel functionality in order to set the default values to the feature at the moment of a new feature creation.

10 years agoInit feature by model widget factory content
nds [Wed, 11 Jun 2014 08:00:23 +0000 (12:00 +0400)]
Init feature by model widget factory content

The code is moved here to be applyed for all types of features.

10 years agoMerge branch 'master' of newgeom:newgeom
nds [Wed, 11 Jun 2014 03:16:59 +0000 (07:16 +0400)]
Merge branch 'master' of newgeom:newgeom

10 years agoHide command icon added
vsv [Tue, 10 Jun 2014 14:41:16 +0000 (18:41 +0400)]
Hide command icon added

10 years agoMerge branch 'master' of newgeom:newgeom
vsv [Tue, 10 Jun 2014 14:24:50 +0000 (18:24 +0400)]
Merge branch 'master' of newgeom:newgeom