Commit graph

241 commits

Author SHA1 Message Date
Allan Bazinet
45271e6349 Correct terminology 2024-11-13 03:57:33 -08:00
Allan Bazinet
80a9d2b67d Extract resize logic 2024-11-12 04:49:21 -08:00
Allan Bazinet
7748848a5a Take compiler-generated default dtor 2024-11-12 04:00:49 -08:00
Allan Bazinet
96ef17ccd8 Use float constants 2024-11-11 17:57:47 -08:00
Allan Bazinet
faf753748c Correct commentary 2024-11-11 17:31:54 -08:00
Allan Bazinet
c7f90606e3 Use of float precision 2024-11-11 15:42:33 -08:00
Allan Bazinet
f6a3a1e210 Clean up replot iteration lambdas 2024-11-11 15:11:56 -08:00
Allan Bazinet
de3cb91e3e Guard against replot with waterfall inactive 2024-11-11 12:24:56 -08:00
Allan Bazinet
dff66fdcc5 Eliminate extra linear average gain
Linear average spectrum display seems fine as-is, without the gain doubling that current WSJTX gives it.
2024-11-11 10:04:28 -08:00
Allan Bazinet
52f4ce07aa Formatting 2024-11-11 09:55:28 -08:00
Allan Bazinet
571d75676d Make linear average gain consistent with WSJTX 2024-11-11 09:20:08 -08:00
Allan Bazinet
9cc7f920b3 Eliminate compiler warning, class enum 2024-11-11 08:05:12 -08:00
Allan Bazinet
59b0c7a22c Hoist overload; extract color function 2024-11-11 07:23:53 -08:00
Allan Bazinet
e054493f5e Use common overload pattern name 2024-11-11 06:48:25 -08:00
Allan Bazinet
40c5efcf37 Convert replot to overloaded lambda visitation 2024-11-11 06:40:12 -08:00
Allan Bazinet
f9cf88db3f Restore printed text on replot 2024-11-10 23:50:02 -08:00
Allan Bazinet
739cb32743 Formatting; use pixmap device pixel ratio 2024-11-10 21:05:39 -08:00
Allan Bazinet
90bab6879a Spectrum logic tuning 2024-11-10 20:12:40 -08:00
Allan Bazinet
52ebb45506 Extract replot logic 2024-11-10 17:55:09 -08:00
Allan Bazinet
7dd4aa98de Use default system font 2024-11-10 15:56:07 -08:00
Allan Bazinet
02c32afa6d Update commentary 2024-11-10 15:01:58 -08:00
Allan Bazinet
8bf64c827d Inline overlay and spectrum drawing 2024-11-10 14:58:20 -08:00
Allan Bazinet
3b6e69393a Guard scale pixmap usage 2024-11-10 14:42:37 -08:00
Allan Bazinet
b0c1c5c7df Invert metrics drawing order 2024-11-10 14:36:44 -08:00
Allan Bazinet
3070a8ff29 Lose m_h instance variable 2024-11-10 13:45:10 -08:00
Allan Bazinet
f8f4cc6ee5 Spectrum should be percent of waterfall, not total 2024-11-10 13:42:19 -08:00
Allan Bazinet
adc8f301e8 Allow spectrum to actually be 0% height
To date, this has been faked; 0% was equivalent to one pixel, and if that kind of thing doesn’t bother you, chances are good I just don’t want to know you.
2024-11-10 13:35:17 -08:00
Allan Bazinet
ea5977b688 Use std math functions 2024-11-10 13:03:44 -08:00
Allan Bazinet
e9f06aa681 Visually differentiate cumulative / current plots 2024-11-10 11:17:43 -08:00
Allan Bazinet
c3979cb537 Correct cumulative spectrum calculation 2024-11-10 11:05:13 -08:00
Allan Bazinet
e154dd244e Simplify summarization function 2024-11-10 10:52:40 -08:00
Allan Bazinet
74f78f8001 Hoist bins division 2024-11-10 10:39:59 -08:00
Allan Bazinet
eb61b6c66c Lose defuct m_sum array; tune spectrum math 2024-11-10 10:31:39 -08:00
Allan Bazinet
e55dbab509 Return to use of standard 2d gain for linear avg 2024-11-10 10:02:27 -08:00
Allan Bazinet
dafe03c5d3 Plot accessor tuning 2024-11-10 09:37:15 -08:00
Allan Bazinet
41d7880303 Address decode line text latency possibility 2024-11-10 09:25:11 -08:00
Allan Bazinet
c5f373a259 Hoist gain multiplier 2024-11-10 07:55:20 -08:00
Allan Bazinet
2488aa6114 Rework graph responsibilities
Simplify drawing, change, and replot logic
2024-11-10 07:41:10 -08:00
Allan Bazinet
bb8b849d58 Tune replot setup and usage 2024-11-10 06:43:50 -08:00
Allan Bazinet
b46cee3f5b Eliminate legacy pen selection 2024-11-10 04:24:01 -08:00
Allan Bazinet
ffa7e34602 Rename replot cache 2024-11-10 04:10:38 -08:00
Allan Bazinet
8a60d31933 Kill off Fortran plotsave() routine
It would be difficult to consider a more unspeakable horror than this; I can’t even think rationally about it. It must be purged, the implementation burned, the ashes scattered, and the ground salted. Dramatically improves replot performance.
2024-11-10 03:56:31 -08:00
Allan Bazinet
9c61c9d02f Pass replot on stack 2024-11-09 22:47:20 -08:00
Allan Bazinet
6a959afb2a Use m_w directly, instead of hack computation 2024-11-09 22:30:29 -08:00
Allan Bazinet
ffadc1e3dd Less blinding spectrum divisions 2024-11-09 20:55:43 -08:00
Allan Bazinet
6bf5dc3556 Antialias spectrum poly line 2024-11-09 17:56:55 -08:00
Allan Bazinet
acaaa9e1a7 Emplace points into points polygon 2024-11-09 13:23:04 -08:00
Allan Bazinet
092e5316d1 Use QPolygon for spectrum draw 2024-11-09 13:15:00 -08:00
Allan Bazinet
ef949fd6d1 Always place hover indicator above dial 2024-11-09 07:37:04 -08:00
Allan Bazinet
2c673059d0 Use default argument 2024-11-09 07:09:41 -08:00