Feature #1517

Updated by Sebastien Jacquot almost 5 years ago

Implement mouse mechanism to select some entities in charts.
The selected entities then may be highlighted (and can display extra data linked to the type of result), send to another command, deleted, exported, etc.

h3. UI behaviors

Specifications, see: https://groupes.renater.fr/wiki/txm-info/public/specs_charts_shared#entrees_utilisateur_souris_communes_a_tous_les_graphiques

h3. Validations tests

* create some charts

h3. Simple/exclusive selection

* left click on some items => the item must be exclusively selected and highlighted

h3. Multiple selection

* CTRL/CMD + left click on some items => the item must be added/removed from the current selection

h3. Extended selection

* deselect all the items (deselecting the last item of a series can be done by CTRL/CMD + left clicking on it)
* select an item
* select another item with SHIFT + left click => all the items between the last selected item and the current selected item must be added to the selection

* please provide the type of the tested charts and the OS used for the tests

h4. Results

SJ: *OK*, Win 7 x64 (all charts tested)
BP: *OK*, Ubuntu