ngscopeclient / scopehal-apps

ngscopeclient and other client applications for libscopehal.
https://www.ngscopeclient.org/
BSD 3-Clause "New" or "Revised" License
617 stars 106 forks source link

Rich UI support for StreamBrowserDialog on oscilloscopes #765

Closed jwise closed 1 month ago

jwise commented 2 months ago

This is a draft PR to experiment with some UI for #760 and #761, and in general, the concept of making the StreamBrowserDialog meaningfully richer in showing instrument and system status. Here is what I have right now:

image

Obviously there is going to be a lot of stuff to add and cleanup to do before this is ready to merge, and probably will include some scopehal changes, but this is the current UI metaphor set that I'm playing with. Title bars are still draggable, for instance, but other parts are not, and I think this makes some sense. Some things to consider at some point:

jwise commented 1 month ago

Here's where @fredzo and I landed on this so far:

image

I think I'm going to declare this Ready for Review, though I admit that I haven't looked at the diff as a whole yet myself. But this is definitely something that other people should consider testing and playing with; there's support for Siglent, Rigol, and the Demo scope in the scopehal upstream.

fredzo commented 1 month ago

@jwise I think we should not show status badges on non-slow channels to prevent flickering effect: ngscopeclient_PJ9B6BHj6F