Commit Graph

1289 Commits

Author SHA1 Message Date
rnv
21feae878c Fix crash in hasAnnotations() method 2017-01-20 13:00:50 +03:00
nds
7deaf84d7e Corrections for the following cases:
1) The names of the annotations and geometrical objects are not updated in the "Dimensions/Annotations" data tree:
  - Create any primitive, box for example.
  - Create annotation with text 'My initial annotation'
  - Call edit annotation dialog box and set text of the annotation to 'My updated annotation'
   = > As a result text is updated in the viewer, but not in the "Dimensions/Annotations" data tree.
  - Rename box
   = > As a result name is updated in the SALOME Object Browser, but not in the "Dimensions/Annotations" data tree.
2) Popup menu in the "Dimensions/Annotations" data tree: "Show all annotations" / "Hide all annotation" menu items appear / work incorrect:
  - "Show all annotations" / "Hide all annotation" menu items should appear only  for "Annotations" root object and for concrete geometrical object
  - "Show all annotations" / "Hide all annotation" menu items should work in the following way:
      If popup menu is called for "Annotations" root object, then show / hide operations should be applied to all annotations.
      If popup menu is called for concrete geometrical object, then show / hide operations should be applied only to annotations which belong to this concrete geometrical object.
2017-01-19 10:46:22 +03:00
mnt
b9162f3eab Fix compilation on CentOS 6.4 and Debian 6.0 2017-01-13 12:54:30 +03:00
nds
36b4b31800 Annotation icon 2016-11-17 15:47:53 +03:00
nds
d496c87f39 Help page for annotation correction. 2016-11-17 14:39:31 +03:00
nds
9e499b166a DisplayAllAnnotations correction. 2016-11-17 14:29:07 +03:00
nds
0fc4d9b547 DisplayAllAnnotations correction. 2016-11-17 14:16:00 +03:00
nds
5b24e2a5c1 Help page for annotation correction. 2016-11-17 14:08:51 +03:00
nds
390b1b1566 Help page for annotation correction. 2016-11-17 14:06:17 +03:00
nds
8c1c31a062 Help page for annotation correction. 2016-11-17 14:03:34 +03:00
nds
c85f9d007c Help page for annotation correction. 2016-11-17 13:58:01 +03:00
nds
ba1be70faa Help page for annotation correction. 2016-11-17 13:49:52 +03:00
nds
0072aa3b6a Show All Annotations /Hide All Annotations action in Text Tree widget, help page for annotation. 2016-11-17 13:22:21 +03:00
nds
b73e272eee minor corrections in annotation dialog: 1. Sub-shape selection should be cleared by new shape selection; 2. in edit mode sub-shape should be always disabled. 2016-11-17 10:54:42 +03:00
apl
a2a6f8464c Corrective patch for bring-to-front and auto-selection of position on compound shape 2016-11-16 12:04:58 +03:00
apl
c8f243de05 Fix bug with annotation update. 2016-11-16 11:12:03 +03:00
nds
bc8cdac69f Delete action in OCC viewer correction. 2016-11-16 08:10:29 +03:00
nds
8aa2876800 Edit/Delete popup menues enable on presentation selected in OCC viewer. 2016-11-15 21:20:03 +03:00
apl
fa65931a8c Hilight selected shape. Delete operation. 2016-11-15 18:07:41 +03:00
nds
ebc5a972c7 Fix for changing IsFixedPosition mode in Edit annotation. 2016-11-15 17:53:20 +03:00
nds
c0dab87689 Store fixed 2D position into attribute; check box is provided for fixed screen position 2016-11-15 16:45:26 +03:00
nds
a2313210be Text tree widget visual states of tree items should not be updated here because:
1. firstly it is updated according to object browser visual state of corresponded object
1. if we update it here, action "created OCC view" will show previous shown objects.
2016-11-15 13:41:21 +03:00
apl
d448d82dba Port on IR-2016-11-02.
Bug in edit mode when switching 2D/3D.
Preview for edit mode.
2016-11-10 13:39:26 +03:00
nds
3d5732ec1d Edit mode 2016-11-09 13:05:20 +03:00
apl
d61dfb05a3 Several bug fixes 2016-11-08 19:30:07 +03:00
nds
4e2afd4cf1 Synchronization of selection from TreeWidget to OCCViewer. 2016-11-08 19:18:47 +03:00
apl
45a135f45f Merge commits, bring-to-front, show/hide all 2016-11-08 14:04:18 +03:00
apl
675ca69b6d Remove name from annotation. Dump/Restore study. 2016-11-08 13:07:23 +03:00
apl
ba59095bec Remove erroneous changes after merge 2016-11-08 13:06:52 +03:00
apl
156afd89d0 Minor corrections + annotation positioning 2016-11-08 13:06:01 +03:00
nds
f92ec3a03e Preparation for Edit implementation 2016-11-08 12:17:13 +03:00
nds
765d34906e Selection synchronization between OCC viewer and TreeWidget. 2016-11-08 09:21:46 +03:00
nds
8fca8ce02e Check if Erase comes from Redisplay, in this case, Annotation Manager should not erase displayed annotations.
Problem case: Click on tree widget item do not visualizes it, icon stays gray.
2016-11-03 10:29:21 +03:00
nds
fafd844ade Debug correction for display/erase annotation in manager, update visible icon in tree widget 2016-11-01 10:23:38 +03:00
nds
aebbb9d494 Do not update Annotation manager by erase source object presentation 2016-10-31 10:03:13 +03:00
nds
bb1693ddb1 Annotation manager's implementation to:
- update annotations visible state int text tree widget according to active view
- store annotation visible attribute current visible state of the annotation's entry in the current view
- store/restore annotation visualized in view as study visual state
2016-10-31 09:36:47 +03:00
nds
261ce49fc0 Annotation manager to process annotations's display/erase in several viewers. 2016-10-24 16:10:23 +03:00
apl
2e7629270a Create annotation interaction and "hidden line" mode 2016-10-21 12:52:30 +03:00
apl
71725ed92f Update of tree wdg from dialog; Show/Hide all pop-up menu. 2016-10-19 20:04:31 +03:00
apl
b8db699e10 Fix signals in MeasureGUI dialog 2016-10-19 15:55:20 +03:00
apl
c11f35e20d Update of text tree widget integration to new class
of shape annotation attributes
2016-10-19 15:55:06 +03:00
apl
96407303b7 Store annotation data on AttributeParameter. 2016-10-18 16:55:34 +03:00
apl
dd80de5b8c Fixed underline position and central alignment of annotation text 2016-10-14 16:04:08 +03:00
apl
bc38a38ac1 Dialog usability fixes 2016-10-13 19:01:13 +03:00
apl
8935becb09 Fix highlighting problem during interaction 2016-10-12 19:00:32 +03:00
apl
29139022cc Picking point on the shape 2016-10-12 18:59:41 +03:00
nds
ca6fba5742 Code style correction; myShapeNameModified state for initial filling annotation text. 2016-10-12 14:29:36 +03:00
nds
5414e209c2 Annotation is stored into study on "Apply" click 2016-10-12 11:08:05 +03:00
nds
f88158f329 Annotation's visualization in tree 2016-10-11 17:44:18 +03:00
apl
d95aebd2b3 Temporary enable global selection for test of interactivity 2016-10-07 21:35:07 +03:00