Commit graph

89 commits

Author SHA1 Message Date
Allan Bazinet
ffe02563cc Add dial bottom 2024-09-09 14:29:22 -07:00
Allan Bazinet
66d7487b59 Further simplify dial overlay drawing 2024-09-09 11:58:06 -07:00
Allan Bazinet
19b443bce9 Set grid drawing pen only once 2024-09-09 11:40:50 -07:00
Allan Bazinet
e35f43a39e Simplify dial overlay drawing 2024-09-09 11:34:32 -07:00
Allan Bazinet
a90c70f881 Dont create strings that we’re not going to use 2024-09-09 10:43:49 -07:00
Allan Bazinet
5222916bb8 Lose m_xOffset
This is only used as a scratch value in scale drawing, and should not be an instance variable.
2024-09-09 10:34:34 -07:00
Allan Bazinet
37d6afcb6d Lose m_HDivText
This was pretty much just utter madness, and I think that losing 483 default-constructed strings is just a heck of a good idea. Kinda dying to know where ‘483’ came from….
2024-09-09 10:29:04 -07:00
Allan Bazinet
61dab15843 Remove m_hdivs usage; it was weird, just weird 2024-09-09 10:11:31 -07:00
Allan Bazinet
69980a3885 Extract overlay scale drawing function 2024-09-09 07:50:19 -07:00
Allan Bazinet
53f2f544ea Extract dial and hover overlay drawing functions 2024-09-09 07:35:27 -07:00
Allan Bazinet
0998f831f9 Extract filter overlay drawing function 2024-09-09 07:10:00 -07:00
Allan Bazinet
14c2c2378d Make DrawOverlay() private
Drawing the overlay is an implementation detail of the plotter; remove access and move manipulator logic from wide graph. Remove write-only instance variables in wide graph class.
2024-09-09 06:12:37 -07:00
Allan Bazinet
c94b3c2118 Add TODO 2024-09-09 05:43:55 -07:00
Allan Bazinet
39e8d1ccbf Convert translators to switch tables 2024-09-09 05:34:41 -07:00
Allan Bazinet
7aa33ae066 Revert premature commit of waterfall high-dpi fix 2024-09-08 22:53:41 -07:00
Allan Bazinet
1b53b41ff3 Eliminate unused pens 2024-09-08 21:45:55 -07:00
Allan Bazinet
a21b8919a7 Use string view for WSPR check 2024-09-08 21:37:27 -07:00
Allan Bazinet
95fd843cb4 Extract bw function 2024-09-08 21:28:23 -07:00
Allan Bazinet
224276697b Lint 2024-09-08 20:13:33 -07:00
Allan Bazinet
b11dc17042 Address variable shadowing issues 2024-09-08 20:09:29 -07:00
Allan Bazinet
89a7c294dc Move y usage to local scope 2024-09-08 20:01:56 -07:00
Allan Bazinet
c9c5ee1a37 Ongoing lint fixes 2024-09-08 19:54:14 -07:00
Allan Bazinet
7c6d89e048 Simplify pen usage, const values 2024-09-08 17:53:35 -07:00
Allan Bazinet
29befcb6ee Move rect to point of use 2024-09-08 17:05:02 -07:00
Allan Bazinet
e5c4743850 Extract conversion functions to namespace 2024-09-08 17:00:48 -07:00
Allan Bazinet
703a1743db Normalize breadth / plotwidth 2024-09-08 15:27:12 -07:00
Allan Bazinet
d181934bd9 Use m_w, not waterfall width 2024-09-08 14:37:43 -07:00
Allan Bazinet
11caf5c170 Move constant variables to point of use 2024-09-08 14:32:15 -07:00
Allan Bazinet
02fa5ea8cd Simplfy geometry calculations 2024-09-08 14:17:32 -07:00
Allan Bazinet
5846b5290e Lint 2024-09-08 12:47:20 -07:00
Allan Bazinet
b129fb0f47 Lint 2024-09-08 12:43:19 -07:00
Allan Bazinet
ecf1a40136 Use default destructor 2024-09-08 12:43:10 -07:00
Allan Bazinet
b5e621b2f5 Simplify geometric calculations 2024-09-08 12:40:08 -07:00
Allan Bazinet
3db1b9c16e Lint 2024-09-08 12:08:52 -07:00
Allan Bazinet
1b30ab85db Lint 2024-09-08 11:50:59 -07:00
Allan Bazinet
f8caea0c4e Lint 2024-09-08 10:22:03 -07:00
Allan Bazinet
6b3641aaea Lint 2024-09-08 10:19:55 -07:00
Allan Bazinet
241edb63dd Lint 2024-09-08 10:00:57 -07:00
Allan Bazinet
2a47243219 Plotter cleanup pass
Extract inline functions to header-only; remove dead code and dead data members
2024-09-08 09:45:56 -07:00
Allan Bazinet
643093f3ee Lint 2024-09-08 09:00:09 -07:00
Allan Bazinet
fe77f775f4 Use simpler forms of scroll() and copy() 2024-09-08 08:13:34 -07:00
Allan Bazinet
2ca654b139 Simplify plot line label creation 2024-09-08 06:18:53 -07:00
Allan Bazinet
e9c3492c08 Fix up CPlotter includes 2024-09-01 20:03:35 -07:00
Allan Bazinet
6a1d68fae6 Add frequency hover tooltip 2024-09-01 08:01:23 -07:00
Allan Bazinet
98a0dd1429 Clean and document scale pixelation fix 2024-09-01 07:13:14 -07:00
Allan Bazinet
7653ecd902 Fix poor quality scale rendering 2024-08-31 22:19:32 -07:00
Allan Bazinet
b6d7043869 Eliminate duplicate fill 2024-08-31 22:17:59 -07:00
Allan Bazinet
45778cdb79 Initial port to Qt6
Mostly straightforward, but Qt6 changed the audio classes quite substantially. Fortunately the wsjtx-improved team had been down this road already in terms of what needed to be changed in the audio support.
2024-08-31 13:13:39 -07:00
Allan Bazinet
3a3f5291c5 Alignment tweaks 2024-08-31 10:54:43 -07:00
Allan Bazinet
dc50d21254 Deprecation fixes and unused variables elimination 2024-08-31 09:49:29 -07:00