-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source Info Tool Bar and Location Card #167
base: master
Are you sure you want to change the base?
Conversation
…e basics work so I wanted to commit it before refactoring UI.
…ocationToolbar read-only
…parate manager class. Setup independent mouse listeners instead of hacking onto viewerPanel.drawOverlays method. Make mouse position visible in toolbar only when mouse is inside viewer.
…ces with different numbers of dimensions (not sure if that is allowed)
Thanks a lot @trautmane, this looks great already!
I think this would be nice, but I would post-pone it. This can be done later, in the next step after this PR is merged. Probably, it would involve finding the min/max of the union of all sources transformed into the world coordinate system. One can of zoom out further, such that this "filled world" only fills a few screen pixels, and in that situation, I would adapt the min/max to reflect that.
It is fine to assume, that everything is either 3D or 2D. But... this made me think, what about other axis? Programmatically, You can add "normal" 3D sources to a Viewer which What about time? It would be cool to have a time field and slider in the location card, and also to support setting the timepoint by pasting in 4D coordinates. Also, there have been several requests for adding a standard way to support sliders for higher dimensions of >4D sources. The location card could be a good place to add this. This change goes deeper, of course. Probably it involves modifying the What do you think?
I have not looked at the code much yet, but I will do this ASAP. I have run the
That sounds good. Please let me know your thoughts about the points above! |
Hi @tpietzsch and @axtimwalde ,
This is the current draft of the Source Info Tool Bar and Location Card UI additions I started working on in Brno. There is more to be done but I wanted to get feedback from you before I continued development.
Some key design questions I have are:
%n.mf
format strings) in the toolbar and/or the editable location text fields? If so, what do you recommend?Of course, I'm also happy to address any code suggestions you might have.
My hope is to iterate and improve things on this branch based upon your feedback.
Thanks!
In case it helps, I've been using this test case to review the UI changes.