Commit Graph

807 Commits

Author SHA1 Message Date
Bill Somerville
45623b60b9 Only delete last .wav file on exit if it is not to be saved
Also enhanced  delete .wav  files menu  entry to  delete .c2  files as
well.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5672 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:33:05 +00:00
Joe Taylor
5250e0765a Only one text window in WSPR and Echo modes, even if "Show DXCC" is enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5651 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 17:38:18 +00:00
Bill Somerville
3dd824ad6b Make the main window more portable and font change capable
The Rx meter  is now a better  Qt citizen and can be  resized. Added a
more obvious peak signal indicator. It  is now a custom widget derived
from QFrame and is now directly added via promotion in Designer.

Added a custom  widget to act as  a letter spin box, this  is used for
sub mode control.  Switched the frequency tolerance widget  to a combo
box with preset  values so that it is more  uniform across systems and
font sizes.

Added container widgets  for group control of various  UI widgets such
as  QSO controls,  DX call  controls and  WSPR controls.  Introduced a
stacked widget to allow the WSPR controls to be swapped in in place of
the "QSO" controls. The "QSO" controls  are are the Rx, Tx and related
controls along with  the main tab widget with the  message buttons and
fields. This means  that the WSPR version of the  main window (and EME
Echo mode) are now much cleaner.

Increased the  size of the  rig control  widget and styled  its colour
using a dynamic property so that it  can be defined in the Designer UI
definition. Reinstated it  as a push button to do  a rig control reset
and retry after an error.

Reset most UI widgets to default properties, particularly removing any
fixed sizes so that they can resize freely when fonts are changed. The
overall layout is now controlled almost exclusively by stretch factors
on some of the rows and columns of the various grid layout managers.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5630 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-25 22:41:13 +00:00
Steven Franke
7210d1d41d Added logic so that saving of c2 files will turn on/off with None/Save All. This did not fix Save Decoded, which has no effect in WSPR mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-21 23:08:47 +00:00
Bill Somerville
46032112ca Clear generated messages when clearing DX after logging
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5623 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-18 22:18:05 +00:00
Bill Somerville
4840e9e21d Ensure that he .WAV file read flag gets cleared when returning to monitoring
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5618 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-15 22:49:31 +00:00
Bill Somerville
8dbcf403aa Improved WSPR band hopping band selection
When  band hopping,  coordinated  slots that  are  unavailable may  be
substituted  by  non-coordinated  bands or  non-scheduled  coordinated
bands.

Rather than  randomly choosing a substitute  band, random permutations
of available receive-only and transmit allowed bands are generated and
consumed  one at  a time  when a  substitute band  is required.   This
ensures that  all available  bands get  an airing  on a  regular basis
while selections remain randomized as much as possible within the user
defined constraints of  coordinated bands, transmit ratio  and Rx only
bands.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5616 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-15 12:04:09 +00:00
Joe Taylor
df873479d0 Add UTC to WSPR Tx dividing line; add WSPR Rx dividing line when no decodes;
increase ranges of Gaiz/Zero sliders on Echo Graph.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5605 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-13 14:24:54 +00:00
Joe Taylor
7dda2c22ef Fix erroneous use of a potentially NULL pointer.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5604 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-13 12:08:32 +00:00
Joe Taylor
55cdeea079 Oops! Bad Rx frequencies were being recorded in WSPR_history.txt. Fixed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5603 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 21:46:54 +00:00
Bill Somerville
3df86ef17e Initialize m_tuneup to ensure halt Tx button behaves
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5601 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 19:03:37 +00:00
Joe Taylor
0044f9a8c7 Remove a diagnostic write.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5600 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 17:30:08 +00:00
Joe Taylor
f3a0cee87c WSPR mode appends Date Time Freq T/R N to file WSPR_history.txt.
For possible statistical analysis.  N is the number of decoded signals.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5599 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 17:29:12 +00:00
Joe Taylor
38b79810d8 Remove a diagnostic write.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5598 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 14:10:54 +00:00
Joe Taylor
fee9f658c7 Echo mode is *not* a Simplex mode.
Code that sets Echo mode calls "WSPR_config(true)" to make a bunch
of irrelevant GUI controls invisible, thus simplifying the user
interface.  However, Echo mode should NOT be set as a simplex mode.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5597 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 14:09:40 +00:00
Bill Somerville
588c037ae9 Do not make unneeded rig adjustments when Doppler tracking disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5595 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 00:26:44 +00:00
Bill Somerville
98f84a5902 Move >=50MHz check for Doppler tracking back to the main window
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5594 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-12 00:26:36 +00:00
Bill Somerville
724d5703c4 Add a flag for a mode to enforce simplex i.e. WSPR
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5593 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 22:42:41 +00:00
Joe Taylor
e38c71af1e Clear Message Averaging window when ClrAvg is clicked. Remove some
obsolete code.  Tweak a label.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5588 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 17:18:07 +00:00
Bill Somerville
640c0c00fe Finally getting the hang of UIs that work on Mac and elsewhere
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5587 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 17:01:12 +00:00
Joe Taylor
25d4388081 Fix logical flaw in Echo mode sequencing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5585 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 15:48:00 +00:00
Joe Taylor
289b4c70f8 Correct the bounds error test in avecho. Ensure proper GUI controls
visible in Echo mode. Reset nsum=0 when Tx Enable is toggled ON in Echo mode.
Don't restart Monitor after finishing a sequence of Echo transmissions.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5584 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 15:32:55 +00:00
Joe Taylor
5968277cd7 Correct a logic flaw that occurred after *Tune* was used.
Remove some disused diagnostics.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5581 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 13:52:55 +00:00
Bill Somerville
aa561deed2 Refactor astro functionality into Astro class
Improved astronomical data and Doppler tracking control window widgets
and layout  management to make  it more platform independent  and font
change tolerant.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5580 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 13:36:13 +00:00
Joe Taylor
c3d227b410 Always display AstroData in Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5575 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 17:55:08 +00:00
Joe Taylor
325449fe27 One click of Erase clears the text area in Echo mode. Fix calibration of
the "pwr" slider, relative to what actually happens.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5574 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 16:09:08 +00:00
Joe Taylor
f04a81dca0 Senc correct Tx tone after switching from JT4 to Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5573 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 14:58:55 +00:00
Bill Somerville
ab718e2d7f Escape '<' and '>' in WSPR decodes window callsign field
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 14:48:35 +00:00
Joe Taylor
7137098869 Results of Echo mode to text window. (Not yet calibrated!)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5567 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 19:04:21 +00:00
Joe Taylor
d69d3b4ca0 User-configurable directory for file azel.dat.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5566 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 17:39:59 +00:00
Bill Somerville
fd5c76e9b3 Exclude Rx only bands from WSPR band hopping random selections
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5564 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 16:56:49 +00:00
Joe Taylor
cb18d6c32e Further progress for Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 14:42:53 +00:00
Bill Somerville
28b4c31dee Various WSPR fixes
Make WSPRnet.org spot uploads tolerant  of network issues, spots still
get  discarded for  any period  that  has problems  but now  uploading
resumes on the next period.

Ensure that  decoded text starts  with correct  font by not  using the
base class append method directly.

Fixed a major  memory leak in the WSPRNet class  which was not freeing
processed request reply objects.

Added some helpful debug prints in WSPRnet.org spot processing.

Also  tidied  up a  number  of  class  implementations that  were  not
including he MOC generated code.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5560 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 14:30:23 +00:00
Joe Taylor
4b1c3c319f Echo spectrum appears OK; must test Doppler corrections in both modes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5559 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 00:43:07 +00:00
Joe Taylor
fa96482008 Basic functionality of Echo spectrum is in place.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5557 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 19:42:20 +00:00
Bill Somerville
300365bad3 Allow rich text in help text files
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5556 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 17:45:19 +00:00
Bill Somerville
982b4edcd0 Refactored help windows into a helpful class
Also  used it  to implement  the  prefixes, shortcuts  and mouse  help
windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5554 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 16:05:01 +00:00
Bill Somerville
05a060c740 Make addon prefixes & suffixes help window platform independent
Also use a style  sheet to set the font as  widget level font settings
are overriden when the global default font is changed in settings.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5553 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 14:30:31 +00:00
Joe Taylor
a524b90f88 Don't switch Tx modes after a JT4 decode! Continued work on Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5552 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 14:20:30 +00:00
Joe Taylor
83c5cf132a Format list of "Type 1" prefixes in columns -- thanks to Sandro, IW3RAB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5551 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 13:08:21 +00:00
Joe Taylor
01dfb567f5 Don't allow a partial transmission in Echo mode. Fix RA, Dec, and Tsky
returned by astro().  



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5548 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 18:02:39 +00:00
Bill Somerville
db731fefb9 Improved function name
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5547 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 13:40:10 +00:00
Bill Somerville
a0f9aa367e User the hopping WSPR Tx schedule even when not hopping
The  Tx  schedule  used  in  band  hopping  is  tailored  to  minimize
consecutive transmit  periods while maintaining roughly  the requested
Tx/Rx ratio rather than being truly random.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5546 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 13:28:20 +00:00
Bill Somerville
8250901942 Revert unintended change in r5542
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5544 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 10:11:29 +00:00
Bill Somerville
92bd1700e6 WSPR band hopping improvements
Any  band can  be  added to  the  schedule  for a  day  phase, when  a
coordinated band  slot is not available  a random band will  be chosen
from all the bands enabled for the current phase (Day, Night, etc.).

Fine tuned the size of the hopping schedule table widget.

Coloured the coordinated band columns in the schedule table widget.

Due to the  full range of bands now being  supported, the settings key
for the band hopping schedule has been changed forcing current testers
to redefine their schedultes.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5543 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 00:06:46 +00:00
Joe Taylor
1b0ba09639 More changes related to EME Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5542 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 00:02:02 +00:00
Steven Franke
7cb711779e Move call to tx scheduler per Bill's instructions.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5539 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-05 15:36:29 +00:00
Joe Taylor
fa720014c9 Make the WSPR-mode Tx Freq spinner track the red Tx Freq marker on Waterfall.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5537 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-05 13:42:45 +00:00
Steven Franke
4bf2788cc8 Force tx schedule update when pctx changes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5534 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-05 00:41:12 +00:00
Steven Franke
7e3c93553f Enable new TX scheduler for WSPR mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5533 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 22:25:27 +00:00