Commit Graph

116 Commits

Author SHA1 Message Date
Joe Taylor
593e05337d Cleaning up the "Log QSO" function. (Not finished, yet...)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3342 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 15:09:49 +00:00
Joe Taylor
0b6205d455 1. Oops, inadvertently I clobbered a Win32-only line while editing unix
code.  
2. Add a Setup option "Tx freq locked to Rx freq."  Needs testing!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3318 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-28 19:34:18 +00:00
Joe Taylor
8ab7c01e16 1. Added Tool Tips for most on-screen controls.
2. Removed all vestiges of NB code and controls.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3314 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-24 15:41:33 +00:00
Joe Taylor
c4e6f89b0b This code now compiles OK in either Qt4 or Qt5. To run in Qt5 we'll need
a Qt5-compatible "thermo" widget.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3310 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 20:21:47 +00:00
Joe Taylor
70d9a21584 Forgot to update calling sequence of symspec() in its declaration.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3302 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 13:35:47 +00:00
Joe Taylor
5307e65ae7 Revert to ComboBox for selecting PTT Port. (Straightened out the bizarre
ordering of items on the drop-down list.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3285 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-20 18:33:06 +00:00
Joe Taylor
921ec1e158 Change PTT Port from a QComboBox to a QlineEdit.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3284 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-20 15:43:56 +00:00
Joe Taylor
1ada32a81e 1. De-activate submodes JT9-5, JT9-10, and JT9-30. (This makes the shared
memory region smaller by some 150 MB.)
2. Some code cleanup (removing unused lstrong, etc.)...


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3283 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-20 14:09:02 +00:00
Joe Taylor
f2543ad008 1. Remove the "color highlight left window" option.
2. Re-establish the pxdb measurement for Thermo.
3. Double-click on decoded line copies it to QSO window (unless it's 
   already there).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3276 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-16 23:52:04 +00:00
Joe Taylor
623c560e12 Red/Orange indicator between "Band" spinner and Dial Frequency readout
is now a button.  It is enabled only when Orange, which means CAT
control is essentially Program to Radio only.  Clicking the button
causes a one-time read of the radio's dial frequency.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3256 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-04 00:12:27 +00:00
Joe Taylor
c9e20f6f9d This is test code!!
I have changed the declarations of the Rig class functions we use:

open()
setConf()
getFreq()
setFreq()
setPTT()
close()

... so that each one returns the (negative) error code returned by 
hamlib.  These functions no longer throw exceptions.

Initial tests seem to show things working well.  I have found one
condition that causes a crash.  The rig is initially opened and is
running OK (in this case, with the Polling interval set to 1 s).  Then
the radio is turned off.  The next call to getFreq() never returns.

Probably we need to set a timeout limit?

The code is kinda on the quick-and-dirty side.  Improvements will be 
welcom!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3246 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 18:54:11 +00:00
Joe Taylor
d62a045e27 Starting to implement a "polling interval" option. More to come!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3245 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 14:34:45 +00:00
Joe Taylor
bcb74260af Execute the "band changed" routine when the Band combobox is activated,
even if selected band has not changed.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3244 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-29 23:53:23 +00:00
Joe Taylor
833376db3d Save/restore geometry of LogQSO window over program invocations.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3240 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 20:23:14 +00:00
Joe Taylor
c1995c44ff Save and restore geometry of the "LogQSO" dialog.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3238 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 18:58:03 +00:00
Joe Taylor
342dd64cd5 Make the LogQSO dialog non-modal.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3236 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 13:35:01 +00:00
Joe Taylor
a75f2e0f10 1. Diasble any irrelevant widgets on Configuration screen.
2. Rationalize tab-order on main window.
3. Tweak the GUI appearance around DxCall, DxGrid.  (Hope it's still OK 
   in Linux!
4. Add helpful displays of Keyboard Shortcuts (F3) and Special Mouse
   Commands (F4).
5. Bump version number to 0.95.
6. Update the Windows packaging script.
7. Update ChangeLog in preparation for possible release of v0.95 r3226.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3226 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 16:23:18 +00:00
Joe Taylor
b954f1d85d "Data" and "Mic" options for PTT via CAT control.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3223 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 22:57:08 +00:00
Joe Taylor
a83d4e48a4 Corrected a startup problem: m_band was used before being defined.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3213 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 14:41:06 +00:00
Joe Taylor
1ceba579ff Add a setup checkbox "RTS/DTR Off", to enable proper CAT control of
Elecraft K2 (and possibly other rigs?).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3209 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 19:41:58 +00:00
Joe Taylor
513927e041 1. New buttons to set Txfreq=RxFreq and RxFreq=TxFreq.
2. Don't change Tx5 message when rpt spinner is activated.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3207 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 16:05:04 +00:00
Joe Taylor
dab1519ad8 Option to allow multiple instances of WSJT-X to run simultaneously.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3206 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 15:00:30 +00:00
Joe Taylor
4ba1f7d932 Clicking the "Report" spinner up/down should not change the Tx message number.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3205 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 00:45:01 +00:00
Joe Taylor
d95e900636 1. Removed all vestiges of rigctl use. Now using calls to hamlib
functions.  

2. Restored "Test CAT Control" and "Test PTT" buttons on the 
Setup | Configuration screen.

These features need thorough testing!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3204 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 20:46:04 +00:00
Joe Taylor
24f7952819 Once again, working to implement direct calls to basic hamlib functiions.
*** This code is not finished, and may not work correctly! ***


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3200 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 00:52:51 +00:00
Joe Taylor
0efd7824f0 Don't post a spot to PSKreporter if band was changed in the past 50 s.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3196 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-18 10:35:58 +00:00
Joe Taylor
51265e1adf Temporary updates... must still improve the Tune-button logic.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3194 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-17 15:53:43 +00:00
Joe Taylor
8feedd22a2 Removed the bi-directional CAT control: an unsuccessful experiment.
Removed an unhelpful change to decoder().


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3193 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-17 14:53:58 +00:00
Joe Taylor
7d416a1fe5 Highlight freq readout if radio is on wrong band.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3187 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-16 20:18:50 +00:00
Edson W. R. Pereira
0f3f82b770 Initial tests with new PSK Reporter interface. Only on UNIX for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3186 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-16 20:15:25 +00:00
Joe Taylor
3ed5f2ec35 Backed out the changes from r3171 to r3172 -- too buggy at present.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3173 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 21:13:31 +00:00
Joe Taylor
b02d298518 1. CAT control now working with calls to hamlib functions.
Needs testing!!!
2. Added "Test CAT Control" and "Test PTT" buttons on 
   Setup | Configuration screen.  (Must fix flaky behavior of calls to ptt().)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3172 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 20:20:06 +00:00
Joe Taylor
7bc09300eb Add instructional labels to Tab 2.
Reset m_repeatMsg=0 on Tx Halt, etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3171 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 16:06:22 +00:00
Joe Taylor
57d8bb4fd9 Starting to implement direct calls to hamlib functions, rather than
using rigctl in a separate process.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3170 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 00:28:27 +00:00
Joe Taylor
c94eb2ff4b Added "Tune" button.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3168 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-14 14:11:20 +00:00
Joe Taylor
46a780e7f1 CAT control now reads and follows changes in radio Dial Frequency.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3167 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-13 18:51:25 +00:00
Edson W. R. Pereira
ee55040005 Moved initialization of shared memory segment to the main funcion in order to exit gracefully in case of errors.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3163 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-13 12:28:03 +00:00
Joe Taylor
5483e378b0 1. Option to send Tx message (highlighted in yellow) to QSO window.
2. Setup | Options changed to Setup | Configuration
3. Alt-V causes save-to-file of the most recently completed Rx sequence.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3161 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-12 17:57:20 +00:00
Joe Taylor
6cd932fada Correct the logic for Runaway Tx Watchdog.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3157 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-11 20:59:17 +00:00
Joe Taylor
f9747c91b3 1. Erase button: click once to erase QSO window, twice to erase both.
2. New Setup options: "Tx disabled after sending 73" and "Runaway Tx watchdog".
3. Keyboard shortcuts:
   Alt-D: decode again at QSO frequency (same as Decode() button)
   Shift-D: full decode again, both windows
   Alt-E: Erase()
   Ctrl-F: Edit free text message
   Alt-H: Halt Tx()
   Alt M: Monitor()
   Alt-N: Enable Tx()
   Alt-Q: Log QSO
   Alt-S: Stop()


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3155 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-11 16:51:57 +00:00
Joe Taylor
7b73e76b04 Color highlighting in left window is now optional.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3138 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-09 00:34:39 +00:00
Joe Taylor
574c2511f5 1. New controls for selecting Tx messages now functioning correctly?
2. Double-click on decoded message sets Tx Enable.
3. Implemented a runaway Tx watchdog.
4. Added a spinbox for S/N report.
5. Implemented correct message formats for compound callsigns.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3135 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-08 18:31:21 +00:00
Joe Taylor
56d49f985f Offer two sets of controls for entering and selecting Tx messages:
1. The "WSJT Traditional" setof six line-edit fields, radio buttons,
and Tx# buttons;

2. New configuration with buttons that generate each message for the
standard minimum QSO, one at a time.

NB: the logic for these buttons is not yet complete.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3134 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-08 01:50:49 +00:00
Edson W. R. Pereira
7d5bbf47c3 1. Moved fMin and fMax spin boxes to spectrum widget.
2. Adjusted mainwindow layout.
3. Added label at top level of decoded text widgets.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3133 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-05 16:48:10 +00:00
Joe Taylor
757fd241df Now have two decoded text boxes: left for decodes at QSO frequency, right
for everything else.
NB: I have screwed up the vertical expansion of mainwindow: growth occurs
at the bottom, rather than in the text boxes.  Help!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3129 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-04 00:09:25 +00:00
Joe Taylor
7f8f9ed528 "Clear call and grid after logging" is now optional.
Option to display distance in miles.
Remove (or reduce?) negative red spikes at start of Rx period.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3128 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-03 21:32:21 +00:00
Joe Taylor
7f72925679 First try at changing Tol to fMin and fMax. More work still to be done!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3125 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-03 16:44:31 +00:00
Joe Taylor
461fdd79aa 1. Blank lines between decoding periods now optional.
2. "CQ DX" is now treated properly when the decoded line is double.clicked.
3. Displayed sync values reduced by 1/2.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3124 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-03 15:35:11 +00:00
Joe Taylor
87f17ecb04 1. Blank line (gray background) to decoded text window at start of new
decoding minute.
2. LogQSO confirmation screen no longer blocks GUIupdate().
3. Remove an unused item from Help menu.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3117 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-29 00:21:26 +00:00
Joe Taylor
37be6919aa Add required string length for C-to-Fortran calling sequence for stdmsg_().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3114 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-27 20:49:12 +00:00