Commit graph

98 commits

Author SHA1 Message Date
Allan Bazinet
365f045979 Eliminate color table global 2024-10-26 07:02:01 -07:00
Allan Bazinet
496c6dd7d3 WideGraph no longer references fSpan() 2024-10-25 13:31:07 -07:00
Allan Bazinet
e802e27f02 Use float precision for dial frequency 2024-10-24 21:25:49 -07:00
Allan Bazinet
8505486e49 Use default for destructor 2024-10-20 21:29:18 -07:00
Allan Bazinet
c0f80261c4 Clean up signal and slot usage, setXIT, f11f12 2024-10-20 14:36:48 -07:00
Allan Bazinet
0961695fae Eliminate changeFreq SIGNAL and SLOT macro usage 2024-10-20 14:23:10 -07:00
Allan Bazinet
41eddc6e2e Collapse TX and RX frequencies
Separate TX and RX frequencies is a vestige of WSJTX; in JS8Call, there’s really only a single frequency, which is our offset in hertz into the dial frequency. To date the two separate frequencies have had to have been kept in sync at all times; this change removes the distinction and instead uses a single frequency.
2024-10-20 13:54:14 -07:00
Allan Bazinet
4ff4a3055c Formatting 2024-10-20 10:05:18 -07:00
Allan Bazinet
aa310ed2ce Remove hidden cbControls widget, first pass 2024-10-20 10:02:38 -07:00
Allan Bazinet
e9be35c5f7 Eliminate write-only m_jz instance variable 2024-10-20 08:47:59 -07:00
Allan Bazinet
bec2eddaac Use class initialization 2024-10-20 08:28:40 -07:00
Allan Bazinet
4a441fdea5 Eliminate unused flatten() and read-only m_rxBand 2024-10-20 08:20:45 -07:00
Allan Bazinet
289ab17149 Correct opacity spin box change 2024-10-20 08:11:14 -07:00
Allan Bazinet
5c7eb22b18 Normalize instance variable name 2024-10-20 08:07:06 -07:00
Allan Bazinet
e0f659bdf6 Normalize instance variable name 2024-10-20 08:04:59 -07:00
Allan Bazinet
328d8c31bc Clean up drift functions 2024-10-20 08:01:47 -07:00
Allan Bazinet
f3c7e6fabd Eliminate unused setQSYEnabled() function 2024-10-20 07:55:17 -07:00
Allan Bazinet
1a21194029 Eliminate unused ihsym parameter from signature 2024-10-20 07:54:09 -07:00
Allan Bazinet
325945ac89 Initial const-correctness pass, widegraph 2024-10-20 07:52:04 -07:00
Allan Bazinet
dd14e66691 Add and use setValueBlocked() functions 2024-10-20 07:29:54 -07:00
Allan Bazinet
954b78e81f Wide graph base class should be widget, not dialog 2024-10-20 07:22:03 -07:00
Allan Bazinet
4238380242 Graph mode is always FT8
Our widegraph and plotter are always going to be displaying FT8 mode; remove logic to handle multiple modes until such time as they become relevant again, if ever.
2024-10-19 15:16:30 -07:00
Allan Bazinet
466c6415c0 NSPS and FFT_BIN_WIDTH constants
The number of samples per second is fixed and unchanging at 6912, and is therefore a constant. Similarly, since FFT bin width is derived from NSPS, it’s also a constant.
2024-10-19 15:10:31 -07:00
Allan Bazinet
044d01447a Dead code removal, setPlotWidth()
Old WSJTX stuff; now determined by other means, as the plot is integral to the window.
2024-10-19 13:56:14 -07:00
Allan Bazinet
00ac32ffe2 Dead code removal, FMax()
Completely write-only, never referenced.
2024-10-19 11:39:21 -07:00
Allan Bazinet
e23591db86 Dead code removal, FMinPerBand
This hash is always empty; it’s a vestige of WSJTX, but is never modified and, since the change it’d make to the plot is irrelevant there, it’s not required at all.
2024-10-19 11:36:47 -07:00
Allan Bazinet
af7cff422c Dead code removal, graph cbRef
Widget that would drive this is always hidden and always false; can never happen.
2024-10-19 11:30:52 -07:00
Allan Bazinet
f06ec09ffc Graph / plot class cleanup
Standardize nomenclature and function names
2024-10-19 09:14:10 -07:00
Allan Bazinet
0f9b47d598 Dead code removal, Plotter::qsy signal
This signal is never emitted; pointless to listen for it.
2024-10-19 08:22:01 -07:00
Allan Bazinet
ca1f8ca724 Dead code removal, m_fMax, m_gen, m_dist 2024-10-19 08:16:53 -07:00
Allan Bazinet
cb1e7829e5 Dead code removal, setFsample & setWSPRtransmitted 2024-10-19 08:13:14 -07:00
Allan Bazinet
cb586606c0 Dead code removal, m_redFile, m_Str 2024-10-19 08:09:39 -07:00
Allan Bazinet
bf18c6a974 Dead code removal, freezeDecode
Old function pertaining only to WSJTX FST4 decoding; no longer relevant.
2024-10-18 19:10:44 -07:00
Allan Bazinet
f6c4c8197f Dead code removal, graph turbo 2024-10-11 08:15:35 -07:00
Allan Bazinet
907e359390 Kill of unused reference spectrum support 2024-09-26 06:32:08 -07:00
Allan Bazinet
5887cbc3a0 Dead code removal, sbFtol 2024-09-23 22:44:20 -07:00
Allan Bazinet
4cc31a6061 Eliminate dead VHF features in waterfall 2024-09-22 09:18:54 -07:00
Allan Bazinet
3fcbc0e660 Eliminate magic static and convert to std::array 2024-09-15 18:24:47 -07:00
Allan Bazinet
6c842c7053 Auto sync connected magic static to ivar 2024-09-15 17:41:43 -07:00
Allan Bazinet
1c61473ca4 Move magic static to instance variable 2024-09-15 17:32:13 -07:00
Allan Bazinet
932fb49a4e Move magic static to instance variable 2024-09-15 14:47:33 -07:00
Allan Bazinet
5cfaa9af6a Eliminate dead 3rd parameter on CPlotter::draw() 2024-09-15 13:53:16 -07:00
Allan Bazinet
d7f25251b5 Move widegraph swide to class
Eliminate the global swide array used by the widegraph class, replacing it with a std::array instance variable.
2024-09-15 13:18:58 -07:00
Allan Bazinet
237d44ff51 Strip dead modeTx code
Removes old code related to setting modeTx in the waterfall; no longer does anything, and has been removed in the upstream WSJTX code as well.
2024-09-15 05:12:15 -07:00
Allan Bazinet
cc1c465975 Removes old file menu item support
Removes support for the 3 old, hidden file menu items, i.e., Open, Open next in directory, Decode remaining files in directory. Fortran routines wav12 and degrade_snr are no longer required; removed from CMake, but retained in file repository, in case we should need them again in the future.
2024-09-14 18:34:38 -07:00
Allan Bazinet
00de4bcd73 WF namespace
Move WFPallete into WF::Pallete and add WF:Spectrum; greatly simplifies plotter preference handling, and contributes to go-fast in the plotter drawing function.
2024-09-14 06:53:12 -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
703a1743db Normalize breadth / plotwidth 2024-09-08 15:27:12 -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
5a727cabb7 Intialization order matches declaration order 2024-08-31 10:09:13 -07:00