ramdor / Thetis

The main working repo for changes to Thetis for the Apache Labs line of radios. Find us here : https://discord.gg/6fHCRKnDc9
https://discord.gg/6fHCRKnDc9
GNU General Public License v2.0
49 stars 14 forks source link

Enhanced Zoom [FEATURE] #78

Open W2PA opened 1 year ago

W2PA commented 1 year ago

Is your feature request related to a problem? Please describe. Doesn't fix a problem but enhances panadapter zoom to make it more useful.

Describe the solution you'd like There are several reasons one might want to zoom-in or zoom-out the display. Today one can only zoom using the zoom slider which zooms in or out centered on the center of the display. This is somewhat useful but could be enhanced to make it much more so.

For me, and I suspect for many, a primary reason for zooming-in is to get more detail around the particular frequency on which I'm operating, or to get a closer look at something elsewhere on the band that has caught my attention within view of the panadapter. This type of zooming-in is often temporary - I want to see some detail then go back to my previous view. The same is true for a temporary zoom-out to briefly see more of the band and then return.

One good way of doing this is to add two features to zooming in Thetis: (1) targeted zooming, i.e. aiming the mouse at something in the display and zoom in (or out) focused on that particular location, and (2) returning to the previous view after doing a targeted zoom.

The targeted zoom (#1) could work much like zooming does today in on-line maps, such as Google Maps. On such a map, you zoom in/out targeted on where you position the mouse, as opposed to the center-oriented zoom provided by the +/- clickable controls. In our case, you'd hover the mouse over a place of interest on the panadapter (or panafall) and zoom in or out focused on that location (which, in our case, is a frequency). The zoom action itself could be via the mouse wheel combined with a shift key (e.g. ctrl or alt).

An alternative to using a shift key would be to repurpose the right-click mode (in which the crosshairs appear) to mean zoom mode instead of its current, rather redundant mode of tuning the VFO.

Zoom reset (#2) could be done in a number of ways. Maybe the most intuitive way would be to remember the zoom level associated with the currently selected band stack entry and offer the user a clickable control to immediately return to that view after zooming. It could also be a different shift-click operation with the mouse.

Describe alternatives you've considered Additional context All covered in the above description

Roturbo commented 1 year ago

Hello, good ideas, placing the mouse on Panadapter could change frequency with the mouse wheel and if placing it on waterfall work on zoom in or out.

This could also be inverted, the mouse wheel tuning or zoom in/out without extra key is always easy to operate.

RdWing commented 10 months ago

For me the mouse wheel is off limits to changes. I must have frequency up/down on the wheel. @W2PA Have you investigated the ZTB button and its functionality? It covers a lot of what you're asking for. I have my ZTB button set to take me back to the SSB portion of the band I'm on. If I need to zoom in, I can use the slider (shift slider too), or 1/2/4x buttons, and ZTB to return back to my main view.

Also FWIW, I use the right click often to bring up both vertical and horizontal lines, which allow me to measure the frequency and amplitude of a signal on the panadapter, and then quickly dismiss those crosshair lines. CT H Line).

Anyway, I suggest taking a good look at the options under General -> Options -> Options-1.