ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

Allow selection of contacts while processing by clicking on them #95

Closed ivoflipse closed 10 years ago

ivoflipse commented 10 years ago

On the Processing tab, the only way to select contacts is by selecting the measurement and then navigating through the contacts either by labeling them or by using the arrow keys.

However, it seemed Iris found it more natural to click on them in the measurement_tree. So make it more like in Analysis. If a user clicks on a contact, switch measurements and highlight the selected contact.

If there's unsaved progress, it's probably wise to ask the user whether he wants to continue. Though technically, nothing is deleted, its just not yet saved.

Perhaps that's an idea. Make Save, save any progress, not just to the measurement you're working on. Though this may confuse users, as they might not expect it...

ivoflipse commented 10 years ago

There you go:

image

You can now select any contact by clicking on it in the tree. Only problem is that if you switch measurements, it'll leave the label in the tree on "Current", so I guess I still have some work to do

ivoflipse commented 10 years ago

Another issue seems to be that when a contact is currently selected, you can't really see if its labeled, because the colors conflict. Perhaps I should consider only coloring the contact_label field and/or changing the foreground color of the selected contact.

ivoflipse commented 10 years ago

I'll probably have to keep a dictionary that maps a contact to its contact_item or something like that. That way it'll be a lot easier to edit the tree without having to traverse it every time.

ivoflipse commented 10 years ago

I'm working on a solution for mapping the tree to the actual contacts, either way. This problem is solved for now.