-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.2
-
Fix Version/s: 1.11
-
Component/s: None
-
Labels:None
-
Affect Type:Userdefined
Create a new Annotations Highlighting" group on the Options Panel, move the dialog functionality to it. Remove the icon from the Sequence View context menu and from the toolbar.
More detailed requirements:
- By, default the "Annotations Highlighting" tab of the Options Panel should contain annotations that the opened Sequence View has, i.e. if there are multiple sequences in the Sequence View, then all annotation types for these sequences are shown on the Options Panel.
- The automated annotations should also be taken into account.
- It should be possible to show all available annotation types.
- The widget should listen to the following signals:
- An annotation has been created/removed/modified.
- An annotation object has been added/removed.
- A sequence has been modified (e.g. a subsequence with an annotation has been deleted).
- If a sequence has annotations then an annotation type should always be selected in the list of types.
- If a sequence has NO annotations, a message should be shown instead of the tree and settings ("The sequence doesn't have any annotations." or "The sequences do not have any annotations." depending on the number of sequences in the Sequence View).
- The tree height should depend on the number of annotation types in the list.
- "Show value of qualifier" text edit should be highlighted in light red color when an incorrect value has been specified (for example, when a qualifier name is longer than 20 characters). The last correct value is stored in the INI file in this case.
- "Show on translation" option should be disabled if annotations of the selected type are present on amino acid sequences only.