Wykres commitów

512 Commity (9fb74ed6e13ff70bac4482859db45174edf8eee8)

Autor SHA1 Wiadomość Data
Elliott Liggett 908ec96567 Data Mode now sends the currently selected filter. 2021-05-08 23:46:44 -07:00
Elliott Liggett b1a5d279ba Added serial port iterators for the IC-7610 and IC-R8600. Untested. 2021-05-07 23:43:04 -07:00
Elliott Liggett 4b11a424e2 Adding /dev/ to discovered serial devices, also ignoring case on "auto"
for serial port device.
2021-05-07 23:15:24 -07:00
Elliott Liggett 6d3334e6e8 wfview's own memory system now tracks mode correctly. *however*, it
needs work:
It should track the selected filter, since this information is generally
available and useful, and it should also be storing the frequencies in
Hz. I am also not sure how well the stored memory mode specification
will work across multiple rigs.
2021-05-07 22:37:28 -07:00
Elliott Liggett 3a9967cb8c Fixed BSR mode and filter selection. 2021-05-07 15:46:47 -07:00
Elliott Liggett 14b0ba2151 The band stacking register now uses the newer integer frequency parsing.
We also communicate a little slower to the serial rigs, which seems more
reliable.
2021-05-07 14:52:19 -07:00
Phil Taylor 5435032dbf Updater serialDeviceListCombo with current COM/tty port setting 2021-05-07 09:28:01 +01:00
Phil Taylor cf49551db0 Convert project to 32bit default on Windows and remove beginnings of VSPE code. 2021-05-06 11:25:23 +01:00
Phil Taylor e041e6d1c5 Add code to select virtual serial port 2021-05-05 14:11:00 +01:00
Phil Taylor 5bd21ce6fa Merge branch 'ui-enhance' into lan-alpha 2021-05-05 12:43:10 +01:00
Roeland Jansen 092a7152c0 fixed the display instead of rigcaps so that ant sel starts with 1 instead of 0 2021-05-04 19:00:28 +02:00
Roeland Jansen 46421f72d2 Merge branch 'lan-alpha' 2021-05-03 11:09:52 +02:00
Elliott Liggett d19eaadfcd Fixed bug 007, which allowed negative frequencies to be dialed. 2021-05-01 23:02:27 -07:00
Elliott Liggett fd87b3487f Double-clicking the waterfall now obeys the tuning step and rounding
option in the settings.
2021-05-01 22:30:45 -07:00
Phil Taylor f67f31bffd Add WFM mode for IC705 and remove duplicate WFM mode for IC-R8600 2021-05-01 19:54:43 +01:00
Elliott Liggett 6251cc4342 Added more modes for the IC-R8600. 2021-05-01 00:54:42 -07:00
Elliott Liggett fa869dd270 Different timing on command polling for serial rigs. 2021-04-30 22:15:30 -07:00
Elliott Liggett 61291f2b8c Fixed minor extra character. 2021-04-29 17:13:14 -07:00
Elliott Liggett e6c5980287 Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-04-29 17:02:14 -07:00
Elliott Liggett 8e157018c0 Minor changes to hide sat button until we have time to work on that
feature.
2021-04-27 20:48:05 -07:00
Elliott Liggett e67f3efa42 Merge branch 'ui-enhance' of gitlab.com:eliggett/wfview into ui-enhance 2021-04-27 20:36:41 -07:00
Elliott Liggett 96a32f9069 Additional bands added, Airband, WFM 2021-04-27 20:18:17 -07:00
Roeland Jansen 42acb81450 added 630/2200m for 705; probably like the 7300 hardly useable for TX though. Also added auomatic switching to the view pane after non-BSR bands are selected 2021-04-27 21:49:31 +02:00
Phil Taylor 53821c8792 Merge branch 'ui-enhance' into lan-alpha 2021-04-27 20:05:00 +01:00
Roeland Jansen 5d5497b8a8 derp: fixed main dial freq display for non-BSR 4m band; see also previous commit 2021-04-27 20:16:50 +02:00
Roeland Jansen 3731ada7ac fixed main dial freq display for non-BSR bands 60, 630, 2200m if such a band was selected in the band select menu 2021-04-27 20:15:24 +02:00
Elliott Liggett 839fa7f3dc Merge branch 'ui-enhance' of gitlab.com:eliggett/wfview into ui-enhance 2021-04-27 08:06:32 -07:00
Elliott Liggett 1b38c2c9d6 Minor change to set frequency, which was lacking "emit" at the start. 2021-04-27 08:04:33 -07:00
Roeland Jansen 06ffae913a changed the modeSelectCombo-addItem sequence a bit to have modes grouped; CW and CW-R are now grouped, as well as RTTY/RTTY-R; AM and FM are grouped now 2021-04-27 10:08:28 +02:00
Phil Taylor e5746dcc82 Merge branch 'ui-enhance' into lan-alpha 2021-04-27 09:01:12 +01:00
Elliott Liggett 1923d5a01c Well, that was fun. Color preferences now work, and colors can be
modified from the preference file for custom plot colors.

The preference file now stores colors as unsigned int. To convert the
colors in the file to standard AARRGGBB format (AA = Alpha channel), use
python's hex() function. Maybe one day we will fix the qt bug and make
this save in a better format.
2021-04-26 23:40:08 -07:00
Elliott Liggett 7109c2b396 Added dynamic band buttons. Fixed multiple bugs related to various
differences in band stacking register addresses (for example, the GEN
band on the 705 has a different address from the 7100 and the 7300).
This code was only tested with the 9700.
2021-04-26 18:24:28 -07:00
Phil Taylor 00e3a043a0 Fix typo in receiveRITValue 2021-04-25 11:02:46 +01:00
Phil Taylor 119d328b17 Merge branch 'ui-enhance' into lan-alpha 2021-04-25 10:58:40 +01:00
Phil Taylor 40ba0385ca More work on rigctld 2021-04-25 10:58:25 +01:00
Elliott Liggett a35609c629 Faster polling. Clarified in comments around line 309 in wfmain.cpp. 2021-04-25 00:32:37 -07:00
Elliott Liggett 80cc3e6dc0 Added ability to read RIT status. Added RIT to initial rig query. Added
variables to handle delayed command timing values. Fixed bug in
frequency parsing code that had existed for some time. Changed tic marks
on RIT knob because I wanted more of them. Bumped startup initial rig
state queries to 100ms. May consider faster queries on startup since we
are going to need more things queried on startup.
2021-04-25 00:23:52 -07:00
Elliott Liggett f619e9eca1 Receiver Incremental Tuning is in. The UI does not check the rig's
initial state yet, but the functions are partially in rigCommander for
that purpose.
2021-04-24 00:31:51 -07:00
Elliott Liggett 90853807eb whitespace. 2021-04-23 23:13:42 -07:00
Elliott Liggett d4765f3287 Modified rig power management to stop command ques (s-meter and others).
Upon rig power up, the command queue is repurposed as a 3 second delay
for bootup, and then, commands are issued to restore the spectrum
display (if the wf checkbox was checked). I've made new functions,
powerRigOff and powerRigOn, for these purposes.
2021-04-23 23:11:54 -07:00
Elliott Liggett fdbf1af30c work in progress on spectrum enable after power off/on. 2021-04-23 11:23:27 -07:00
Elliott Liggett 89a185a174 powerOff should work now. 2021-04-23 10:12:14 -07:00
Phil Taylor 93fc8a9f67 Merge branch 'ui-enhance' into lan-alpha 2021-04-21 09:17:31 +01:00
Elliott Liggett 3fa0dfaecd Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-04-20 08:54:23 -07:00
Phil Taylor 6623c2ced0 rigctl working (sort of) with WSJT-X 2021-04-20 12:29:10 +01:00
Elliott Liggett 2e5a4f05a4 Preliminary commit for power-on and power-off functionality. Is not
correct for most rigs.
2021-04-19 22:55:39 -07:00
Elliott Liggett 303f3ad341 Missing parenthesis 2021-04-19 22:18:45 -07:00
Phil Taylor b3758d210f Merge branch 'ui-enhance' into lan-alpha 2021-04-19 17:28:33 +01:00
Phil Taylor c78ad19210 Initial commit of rigctld (doesn't currently do anything useful!) 2021-04-19 17:26:26 +01:00
Elliott Liggett ddc7fab879 Adding a default position for the frequency indicator line. 2021-04-17 19:44:22 -07:00
Elliott Liggett 63ef522e89 Goodbye tracer 2021-04-17 19:41:15 -07:00
Roeland Jansen e4f18dfce9 added airband, dPMR, lw/mw European and fast HF/70/23cm 1 MHz tuning steps 2021-04-12 18:54:09 +02:00
Elliott Liggett ce3c4dfe54 Now grabs scope state on startup. Found bug, did not fix, in the
frequency parsing code. Worked aroud it by using doubles for now.
2021-04-11 00:42:25 -07:00
Elliott Liggett aac777eb07 Preamp and attenuator are now queried on startup. Additionally, the
preamp is checked when the attenuator is changed, and the attenuator is
checked with the preamp is changed. This helps the user understand if
the rig allows only one or the other to be active (such as the IC-9700).
2021-04-10 22:48:32 -07:00
Elliott Liggett 4f3de02482 Added frequency line. Let's see how we like it. 2021-04-10 15:34:35 -07:00
Elliott Liggett 5cc2aa0efe Add some preliminary parts of getting the attenuator, preamp, and
antenna selection on startup. UI not updated yet but getting there.
2021-04-10 00:21:58 -07:00
Elliott Liggett ec1e43ddc1 More stale comments removed. 2021-04-10 00:03:21 -07:00
Elliott Liggett 4f696bee59 Removed more stale comments 2021-04-10 00:01:34 -07:00
Elliott Liggett 651edb2c30 Removed old comments 2021-04-10 00:00:51 -07:00
Elliott Liggett e7e1431fe3 Added waterfall theme combo box 2021-04-09 23:38:36 -07:00
Elliott Liggett 6b967a52b9 Antenna selection might work, untested. 2021-04-09 15:57:16 -07:00
Elliott Liggett aff2e281e8 Preamp code is in. Can't read the current preamp state yet but we can
set it. Nicer names for preamp and attenuator menu items.
2021-04-09 10:04:20 -07:00
Elliott Liggett 5c84d31dc8 Minor disconnect in the getDTCS call 2021-04-07 23:43:18 -07:00
Elliott Liggett 92f019b787 Attenuators are in! Please try them out! 2021-04-07 23:35:24 -07:00
Elliott Liggett d18bb2b649 The repeater setup now disables elements for things your rig doesn't do. 2021-04-06 22:26:08 -07:00
Elliott Liggett e45557e04d We now query the repeater-related things on startup, such that the
repeater UI is populated correctly.
2021-04-06 22:06:08 -07:00
Elliott Liggett b22ab6bdc2 We now have KHz as the assumed input format if there isn't a dot in the
entry box. Enjoy that!
2021-04-06 21:00:47 -07:00
Elliott Liggett e7f2d1eba8 Working read/write of Tone, TSQL, and DTCS tones/code. Some code is also
present now to change the mode being used (tone, tsql, DTCS, or some
combo of the two).
2021-04-04 23:33:56 -07:00
Elliott Liggett 8cc78e37bb Tone, TSQL, and DTCS code added, but not complete. 2021-04-04 00:36:21 -07:00
Elliott Liggett c6ecde8aa7 Added CTCSS and DCS codes to the repeater setup window. Have not
connected to rigCommander yet.
2021-04-03 00:46:05 -07:00
Elliott Liggett 8bf45ac5b2 Adjusting signals and slots for repeater duplex. 2021-03-31 00:29:22 -07:00
Elliott Liggett 69e302feba Basic duplex code copied from wfmain to the new repeatersetup window. 2021-03-31 00:14:20 -07:00
Elliott Liggett 864b2f491a Adding code to support a separate repeater setup window. 2021-03-30 23:37:35 -07:00
Phil Taylor a8e895e654 Allow user to configure client name 2021-03-27 16:07:17 +00:00
Phil Taylor c2091e9c4e Add local volume control for UDP connections. 2021-03-22 18:53:34 +00:00
Phil Taylor 446ed4ef26 Merge branch 'ui-enhance' into lan-alpha 2021-03-22 09:11:52 +00:00
Phil Taylor 8583973ca8 Add USB audio handling to UDP server 2021-03-22 09:10:03 +00:00
Elliott Liggett a26a352389 Changed frequency parameters to (mostly) unsigned 64-bit ints. This
makes all the rounding code very simple and removes many annoying lines
of code designed to handle errors induced by using doubles for the
frequency.
2021-03-22 00:11:43 -07:00
Phil Taylor d9b1fb2a5f Make stylesheet work on Mac OS 2021-03-13 10:20:48 +00:00
Elliott Liggett 01a2bf3ec2 Quick cleanup of tuning dial code, mainly spacing. 2021-03-12 23:15:31 -08:00
Elliott Liggett 3b22ed2e11 Fixed tuning step rounding code for the tuning knob. It is not elegant,
but it works at all tuning steps quite well. Feel free to improve upon
it, but take care that improvements work at each tuning step, tuning
direction, and at the zero-crossings.
2021-03-12 23:13:37 -08:00
Phil Taylor a0f4a4deeb Add audio resampler 2021-03-09 17:22:16 +00:00
Phil Taylor 38fbc35535 Better detection of transceive command 2021-03-07 09:55:28 +00:00
Elliott Liggett 3e2862e4aa Better scrolling speed on UI sliders. 2021-03-07 00:05:13 -08:00
Elliott Liggett ce6cc451b9 Added serial port drop-down population code. Untested. 2021-03-06 23:35:46 -08:00
Elliott Liggett 5a611f5c94 Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-03-06 22:29:27 -08:00
Elliott Liggett c490502f01 bit of planning 2021-03-06 22:28:13 -08:00
Phil Taylor c0c339d5c2 Fix silly error in audioinput/output comboboxes 2021-03-06 09:14:28 +00:00
Phil Taylor 7f7e4b9d52 Stop input combos growing every time rig is reconnected. 2021-03-06 09:07:23 +00:00
Phil Taylor adaabec575 Move pseudoterm into dedicated class 2021-03-04 20:19:05 +00:00
Elliott Liggett 1e16059a9e removed annoying message. 2021-03-04 08:32:58 +00:00
Elliott Liggett 145b8d45a5 Tuning steps! Still need to zero out those lower digits while scrolling
if box is checked.
2021-03-04 00:02:53 -08:00
Phil Taylor 2af85f31b1 Fix spectrum peaks as well. 2021-03-03 10:36:43 +00:00
Phil Taylor 32d66d0689 Fix spectrum 'flattening' with strong signal
Issue was that internally QByteArray is stored as char but the actual value is unsigned char.
2021-03-03 10:34:56 +00:00
Elliott Liggett 60756480ce Changed serial and LAN enable controls to "radio buttons" so that they
are exclusive selections.
2021-03-02 21:55:33 -08:00
Phil Taylor a254a937ff Allow selection of audio input and output devices for UDP Audio 2021-03-01 20:31:05 +00:00
Phil Taylor 91a60bf918 Create udpPreferences struct and remove civPort and audioPort from UI 2021-03-01 19:53:12 +00:00
Phil Taylor 7491c10c4d Fix rigname width on Linux 2021-03-01 16:30:16 +00:00
Phil Taylor 6b795e1d6d Add PTT Led and rigname to Permanent Widgets on Status Bar 2021-03-01 16:26:59 +00:00
Phil Taylor 18b287a047 Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha 2021-03-01 08:30:04 +00:00
Elliott Liggett 5577aebf8b Removed the last annoying legs of the center/fixed two-mode system. 2021-02-28 21:47:45 -08:00
Elliott Liggett 5a673e256c Added support for Scroll modes in latest firmware. Removed setCenter...
signals and replaced with setScopeMode signals. Fixed a bug where we
could not query the scope mode.
2021-02-28 21:41:27 -08:00
Phil Taylor b4ea60e5d2 Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha 2021-02-28 20:23:31 +00:00
Phil Taylor aef03a6b7e Add audio handling to UDP server 2021-02-28 20:10:07 +00:00
Elliott Liggett c74d5d448d Removed some older methods of command que. 2021-02-28 00:54:37 -08:00
Elliott Liggett c49c4d687b Fixed go to frequency button that didn't properly check results. 2021-02-27 23:47:09 -08:00
Phil Taylor 1fae53f140 More TX audio fixes and fix latency slider error 2021-02-27 10:04:36 +00:00
Phil Taylor e593e5e90a Change TX audio to use timed buffer. 2021-02-27 09:34:56 +00:00
Elliott Liggett 0b22ef27ab Added support for 4 fixed scope edges. Untested. 2021-02-26 20:12:17 -08:00
Elliott Liggett c1dc6d3eb7 Fixed issue with tuning steps and scrolling. Note: there are two
modifiers for the scrolling steps.

By default, scrolling on the WF or plot produces 100 Hz steps. Hold down
shift for 10 Hz steps, or hold down control for 1 khz steps. This works
well for me tuning in stations I have clicked on but perhaps not clicked
accurately.
2021-02-26 17:32:06 -08:00
Elliott Liggett f2f37db7bf Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-02-26 17:12:51 -08:00
Elliott Liggett d23ff352ca Increased average and peak integration windows to sort of match DIN IEC
60268-10 Type I.
2021-02-26 17:11:41 -08:00
Phil Taylor 27eb855adb Create rx audio packets with timestamp
Lots of other changes but if this works OK, I will update tx audio to use the same system.
2021-02-27 00:37:00 +00:00
Elliott Liggett 5286b5f412 Fixed minor bug where flock did not stop double-clicking on the
spectrum.
2021-02-26 00:24:02 -08:00
Elliott Liggett 6b67c0ab2b 2-day old code merge: remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-02-26 00:13:52 -08:00
Elliott Liggett 1a3a18cf34 Turned up the speed. Once you see fast meters, there's no going back.
Tested at 5ms without any issues, comitting at 10ms for now. Note that
50ms in the first 'fixed' meter code is the same as 25ms now due to how
the command queue is structured. So 10ms is only a bit faster than
before.
2021-02-26 00:01:23 -08:00
Elliott Liggett af2191da16 Cleaned up meter code, we can now query any meter we wish very easily,
either queued or directly.
2021-02-25 23:57:37 -08:00
Elliott Liggett b14c8392c7 Fixed meter polling issue. 2021-02-25 22:51:43 -08:00
Phil Taylor 44678a6f34 Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha 2021-02-24 22:58:38 +00:00
Phil Taylor 0e745b1ee5 Fix stylesheet in Windows 2021-02-24 22:55:29 +00:00
Elliott Liggett 4c136dca3a meter fix 2021-02-24 09:38:34 -08:00
Elliott Liggett 7d1e202663 signed vs unsigned and meter math 2021-02-24 07:56:12 -08:00
Phil Taylor 098d3b8915 Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha 2021-02-24 08:41:04 +00:00
Elliott Liggett 29d3893bb0 Added a nice s-meter. It isn't right yet, but it's a start.
TODO: Change scale for power meter, make sure full-scale fits
TODO: create static image from scale to overlay each time rather than
drawing each time.
2021-02-24 00:18:19 -08:00
Phil Taylor ef79801081 Add logging categories 2021-02-23 21:21:22 +00:00
Phil Taylor edf85885f1 Change precision of some number literals 2021-02-22 10:24:29 +00:00
Elliott Liggett 5da631ab0a Frequency lock works now. 2021-02-21 23:58:23 -08:00
Elliott Liggett 24d802597a Removed more unneeded debug and three unused functions. Just cleaning
house.
2021-02-21 22:13:21 -08:00
Elliott Liggett c4113aea6f Cleaned out some qDebug() that wasn't needed anymore. Output is now very
quiet on "release" type builds.
2021-02-21 21:54:25 -08:00
Phil Taylor 3796b00334 Add usertype selection for Server 2021-02-22 00:24:48 +00:00
Elliott Liggett c3e0fa7dbd S-Meter working! Power meter working!
Needs more testing, but it's here! 100ms polling time.
2021-02-20 20:41:19 -08:00
Roeland Jansen 7f71759780 until a more elegant idea comes up, changed the found rig message timeout from 1500 --> 0 so that the rigtype stays in view (testing multiple rigs, same time) 2021-02-20 13:42:57 +01:00
Elliott Liggett a9d430b271 Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-02-20 00:23:58 -08:00
Elliott Liggett d7c01f9560 Data checkbox now changes input source label and updates level of slider
to last-known value for given MOD source.
2021-02-20 00:15:47 -08:00
Elliott Liggett 9793b9e1cb Audio input gain slider now adjusts whatever the active MOD source is.
Text follows drop-down menu selection.
2021-02-20 00:05:23 -08:00
Phil Taylor 69db5e0efc Another fix for the server crash. 2021-02-19 09:32:30 +00:00
Phil Taylor b9c4921802 Hopefully fix crash on startup. 2021-02-19 09:28:03 +00:00
Elliott Liggett 3538e545d9 We can now set the modulation input and read the modulation input for
both data on and data off.

Next step is to change the "Mic" slider to adjust whatever input is
selected.
2021-02-19 00:14:40 -08:00
Elliott Liggett 224e73ae3d Added "Use System Theme" check box code. You can now toggle between the
built-in dark stylesheet and the system theme, and can do so
independently of the waterfall theme. Thus, one can enjoy using other
tools to set the widget theme.
2021-02-18 22:38:50 -08:00
Elliott Liggett 98d9c470c5 Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-02-18 21:48:09 -08:00
Elliott Liggett 5c50b82dba Duplex controls now function. NB: "Auto" mode works as follows: User
selects "auto", rig does nothing, user changes frequency or band, and
then, the rig will automatically select the correct duplex mode. This is
the same way the rig works from the front panel.
2021-02-18 21:47:19 -08:00
Phil Taylor ba60181c69 Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha 2021-02-18 09:15:01 +00:00
Phil Taylor 7966568f17 Connect Civ to/from server 2021-02-18 09:14:41 +00:00
Elliott Liggett 74c6d65e1d Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance 2021-02-17 23:49:49 -08:00
Elliott Liggett 6a3260bb8a Added void slot code to receive USB/LAN/ACC gain, Mod input selection,
and duplex mode. Will connect up to UI elements later.
2021-02-17 23:47:34 -08:00
Elliott Liggett d03d781713 Fixed busted keystroke assignments (mode and transmit). 2021-02-16 22:32:05 -08:00
Phil Taylor 4b6b73894b Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha 2021-02-16 20:26:26 +00:00
Phil Taylor b52629f72b Fix server user saving error. 2021-02-16 16:42:56 +00:00
Phil Taylor 95028374b4 First commit of server code
Doesn't actually do anything at the moment other than allow clients to connect and login.
2021-02-16 16:16:46 +00:00
Elliott Liggett 11fd572d21 Fixed switch case unintended drop-through 2021-02-15 23:34:19 -08:00
Elliott Liggett a421dda264 Locking out satellite and reference adjust windows for rigs other than
IC-9700.
2021-02-15 22:46:26 -08:00
Elliott Liggett a95a957b59 wfview now checks the current spectrum reference level on startup. 2021-02-15 22:37:35 -08:00
Elliott Liggett ca2a8e1235 Added code to check the scope reference level. Will add a on-startup
check next.
2021-02-15 22:33:21 -08:00
Elliott Liggett a0e9392617 Added scope reference setting. Write-only for now. UI slider works. 2021-02-15 21:40:31 -08:00
Elliott Liggett 6938ed8a60 Full support for set and read mic gain and tx power. Code also exists to
set and read microphone compressor level, vox gain, anti vox, and self
audio monitor.
2021-02-15 20:32:14 -08:00
Elliott Liggett 91ce7f16d0 Added more support for levels (TX power and Mic Gain). Does not change
levels, just displays on debug button.
2021-02-15 17:15:28 -08:00
Elliott Liggett 1f133344ba Fixed reference issue where the slider and spinbox didn't track
correctly. Re-arranged buttons for this dialog.
2021-02-14 22:40:04 -08:00
Elliott Liggett fdaadc0d2a Added issueDelayedCommand and issueDelayedCommandPriority functions.
These are the methods by which we should issue queued commands to the
radio. It is no longer necessary to re-start the timer when using these
methods. These methods might get more advanced later, and this structure
will allow for more growth.
2021-02-14 20:51:18 -08:00
Elliott Liggett 32f407020b Changed front panel UI to contain more of the core features. PTT button
was interesting, now has function of Transmit on click, but if already
transmitting, sets to receive.
2021-02-14 20:45:48 -08:00
Elliott Liggett 73218c8a33 Merging contents from lan-alpha into ui-enhance
Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance
2021-02-14 17:50:40 -08:00
Phil Taylor dce5d93a6c Starting to create udp server 2021-02-14 18:32:58 +00:00
Elliott Liggett e1dd3e9ca0 Added numerical input validator to network port UI text fields. 2021-02-14 10:19:13 -08:00
Elliott Liggett 66e02a045a Filters are now read correctly from mode messages. Filter setup menu is
still a placeholder.
2021-02-13 23:42:51 -08:00
Elliott Liggett 5d3c386c87 Added filter selection support.
TODO: Read current filter from rig.
2021-02-13 10:02:45 -08:00
Elliott Liggett 47276bfaa3 Fixed issue with DV and LSB modes. 2021-02-12 23:35:17 -08:00
Elliott Liggett be52cb49bb Fixed DD and DV mode selection. 2021-02-12 23:18:01 -08:00
Elliott Liggett a6e1d36fea Comment cleanup 2021-02-12 22:50:54 -08:00
Elliott Liggett 951c2718ac Added data mode checkbox. 2021-02-12 22:49:42 -08:00
Elliott Liggett 9f2d64d943 Added per-rig customization to UI: Modes and ATU status. 2021-02-12 22:42:34 -08:00
Elliott Liggett 0f8c4b816e Changed spectrum to scale line plot to maximum amplitude of the rig.
Prepared new window for satellite ops (not added to program yet).
2021-02-12 17:21:32 -08:00
Phil Taylor 20e681dc91 Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha 2021-02-11 19:47:29 +00:00
Phil Taylor b7f8ad1dee Add initial TX audio support 2021-02-11 19:18:35 +00:00
Elliott Liggett 8dfc83a3c9 Added filter select combo box. Does not actually do anythig yet. 2021-02-11 09:21:17 -08:00
Elliott Liggett 37f242ea39 Added DD and DV modes for IC-705 and IC-9700. Untested. 2021-02-11 09:09:45 -08:00
Roeland Jansen 69114e2619 added items to the mode menu TODO-section 2021-02-11 10:09:44 +01:00
Elliott Liggett 7b32bc97e6 Calibration UI has basic functions. Reference set/get methods are good.
Still need to connect sliders to spinboxes so that the user can sense
the value change.
2021-02-11 00:33:25 -08:00
Elliott Liggett fa50414138 Added UI elements with some supporting code: squelch and calibration
window.
2021-02-10 21:22:38 -08:00
roeland jansen 53fd008f3a Added support for various spectrum sizes and rig capability support.
wfview has been tested with the following Icom radios over USB port:
IC-7300, IC-7610, IC-7851 (and IC-7850), and IC-9700. It likely works
fine with the IC-705 as well. At this time, the rig's CIV address must
be changed in the preference file to indicate the rig you are using, and
this must be in integer, not hex.
2021-02-10 17:32:56 +00:00
Phil Taylor 5ec57cbc1b Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha 2021-02-09 12:43:49 +00:00
Phil Taylor e6dee05ab1 Add support for codec/bitrate selection 2021-02-09 12:43:28 +00:00
Elliott Liggett 0b5559ac62 Minor UI update: replaced two buttons with single checkbox. 2021-02-08 23:31:44 -08:00
Phil Taylor 228fb07eed Add audio buffersize slider and ability to select samplerate and number of channels. 2021-02-08 16:53:26 +00:00
Phil Taylor 136c176cbb Don't connect if radio is in use 2021-02-07 17:40:38 +00:00
Phil Taylor fdda23c21f Allow connect/disconnect
Not tested on serial connection!
2021-02-07 12:59:41 +00:00
Phil Taylor cdb3d42d7e Quick test, using Debug button as connect/disconnect 2021-02-07 09:56:11 +00:00
Phil Taylor ab6192428f Fix crash on exit and cleanly quit thread 2021-02-07 09:50:44 +00:00
Elliott Liggett 46b53f0f68 rigcommander now emits a signal once serial or network is instantiated. 2021-02-07 01:03:02 -08:00
Elliott Liggett 8c20e1d944 Added a feature that converts the current center-mode spectrum display
to fixed-mode. Squashed a bug related to determining the fixed/center
mode (we were looking out of sequence).
2021-02-05 23:58:17 -08:00
Elliott Liggett dca22a3e37 Fixed a bug where if wfview started and the rig was in "center" spectrum
mode, the center checkbox would be checked, triggering setting the
center width per the pop-down menu. The code now disables the checkbox
signal method during the modification of the checkbox.
2021-02-05 21:53:05 -08:00
Elliott Liggett 465c4506e2 Cleanup in openRig(): No longer searches for serial ports if using LAN,
and has fallback for windows serial device.
2021-02-05 21:44:50 -08:00
Phil Taylor 8dd8b3a088 Add widget to rhs of statusBar 2021-02-05 20:26:18 +00:00
Elliott Liggett 88edba70be Added fixed/center data from spectrum waterfall data. 2021-02-04 22:44:15 -08:00
Elliott Liggett 1a1b7d0673 Adopted closing scheme for linux by default (may remove #ifdef soon).
Changed default buffer size on receive audio to 6ksamples, which is
0.125 seconds. Added debug info for audio.
2021-02-04 22:06:48 -08:00
Elliott Liggett 437489647a Fixed bug with fullscreen checkbox not following F11. Also changed
default to not-full-screen.
2021-02-04 21:03:16 -08:00
Elliott Liggett cece02069a Added default values for network prefs. Connected checkbox to network
text boxes.
2021-02-04 20:54:34 -08:00
Phil Taylor 73d99023d7 Fix for ic7610 wf length and partial sound device selection 2021-02-04 10:27:30 +00:00
Phil Taylor 65f5486c5b Attempt to call rig destructor on exit, and remove windows specfic _sleep() 2021-02-03 23:58:11 +00:00
Phil Taylor 4bf23cea43 First support for LAN connection
Auto detection still not working so need to hard-code C-IV address, hope to fix this very soon!
2021-02-03 19:36:35 +00:00
Elliott Liggett 65f9a70ee9 Enhanced code that finds radio serial ports. Added error reporting to
the user if serial port isn't opening. Added command-line arguments for
serial port (example: "-p /dev/ttyUSB0" or "--port /dev/ttyUSB0").
Cleaned up some of the debug messages. wfview also will now tell the
user what radio was found in the status bar of the main window.

Added the begininning of code to determine the waveform type (center or
fixed). rigcommander now knows which is which. The next step is to emit
a signal when this changes, which then causes the main window to check
or uncheck the box (without triggering any other code).

Added some TODO remarks on mode (DV, DD).

Added some command line arguments that are not used at this time for --
host and --civ.
2021-02-02 01:05:59 -08:00
Elliott Liggett add5c0d3b2 On startup, creates a constant queue searching for rig id until one is
found.
2021-01-30 00:44:36 -08:00
Elliott Liggett d32ecde001 Added automatic rigID and automatic CIV finding. Also fixed frequency
data to include more digits. Cleaned up some startup code, made some
worse too probably. Tested with IC-9700 USB connection.
2021-01-29 22:09:09 -08:00
Elliott Liggett 655ea0ac0e Added support for various spectrum sizes and rig capability support.
wfview has been tested with the following Icom radios over USB port:
IC-7300, IC-7610, IC-7851 (and IC-7850), and IC-9700. It likely works
fine with the IC-705 as well. At this time, the rig's CIV address must
be changed in the preference file to indicate the rig you are using, and
this must be in integer, not hex.
2021-01-24 16:16:38 -08:00
Elliott Liggett dc2f085535 Changed scroll speed for AF and RF gain sliders. 2020-04-23 15:22:23 -07:00
Elliott Liggett 39dd6a0441 reversed scroll direction on the waterfall and plot scrolling. 2020-04-21 12:35:44 -07:00
Elliott Liggett e13c9bdf96 Added control modifier to scroll on plot, causes faster changes. 2020-04-20 21:23:34 -07:00
Elliott Liggett 03a3ca423d Added preliminary mouse scrolling support for the waterfall and plot
area. As it stands, scrolling basically rotates the tuning knob. No
modifier keys are supported yet, but we'll get there!
2020-04-20 21:10:20 -07:00
Elliott Liggett dd481afbbc Added window position restore as a setting, worked around qt bug to
retain window focus during resize.
2020-04-04 16:51:46 -07:00
Elliott Liggett 77428bd26c Added splitter percent to saved settings, removed unitless X-axis from
waterfall.
2020-04-04 15:39:59 -07:00
Elliott Liggett 86e4bf01a3 Added suport for for different rig baud rates via the [Radio] preference
SerialPortBaud. Left unset, it defaults to 115200. Added support for
status bar text with memory presets.
2020-03-30 14:09:52 -07:00
Elliott Liggett 90f2350da3 Added support for QCustomPlot >= 2.0. Yet to be tested. 2020-03-27 16:34:32 -07:00
Elliott Liggett acfb1556bf Automatic symlink of /tmp/rig to the pseudo-terminal device. Also, we
now supply preference files for flrig to simplify setting up integration
to fldigi.
2020-03-23 14:58:31 -07:00
Elliott Liggett 6a1f53887b Added pageup and pagedown keystrokes. 2020-03-17 15:15:01 -07:00
Elliott Liggett ba558b8e6f about box change 2020-03-15 18:03:35 -07:00
Elliott Liggett 5df1f6e5b0 minor typo correction 2020-03-13 19:43:12 -07:00
Elliott Liggett 797798d3b6 Added install script and various enhancements to wfview.pro to make
installing easier, including an icon and a desktop launcher.
2020-03-12 20:06:33 -07:00
Elliott Liggett 32c930788b Minor updates, copyright, comments. 2020-03-11 20:58:31 -07:00
Elliott Liggett 125c0aff62 modified about box 2020-03-11 17:44:47 -07:00
Elliott Liggett e79c5de550 Added control+q for quit. 2020-03-10 11:08:36 -07:00
Elliott Liggett 0bdba4494c Minor change to wording. 2020-03-10 10:17:39 -07:00
Elliott Liggett 828de59080 Changed program name and various file locations. 2020-01-04 17:12:35 -08:00
Elliott Liggett 3414ef46ae Removed extra debug calls and status text updates. 2019-12-26 00:27:14 -08:00
Elliott Liggett d6e5fdb362 Fixed PTT and pttEnable preference. 2019-02-09 23:13:18 -08:00
Elliott Liggett 056d6444de Added proper application and window name. 2019-02-08 16:19:36 -08:00
Elliott Liggett e0bc2912b0 Added custom stylesheet path to preferences. 2019-02-08 16:05:45 -08:00
Elliott Liggett 8d131208e2 Added "F" and "M" shortcuts to speak frequency and mode. 2019-02-07 10:15:10 -08:00
Elliott Liggett 7370064500 Control and shift modifiers now accepted for tuning step-size modifier 2019-02-05 16:11:25 -08:00
Elliott Liggett 8a530588d4 Added control key modifier to +/- for course tuning. 2019-02-04 10:32:16 -08:00
Elliott Liggett dce977db76 Added +/- key support for tuning. Added additional compiler flags to
lower executable size.
2019-02-03 21:51:30 -08:00
Elliott Liggett 5dfeebdbae Changed F-key to mode functions to call activated slot. Clarified
comments in activated slot.
2019-02-03 14:09:06 -08:00
Elliott Liggett 47b7a99490 Added control key shortcuts and function key F12 to cause the 7300 to
speak current status.
2019-02-01 12:21:54 -08:00
Elliott Liggett a361b330d3 Added catch for slash key, does nothing so far, plan to cycle modes. 2019-01-28 15:46:14 -08:00
Elliott Liggett f2fc2fbcad Added F5-F10 buttons for mode switching, seems to work. Added debug
detect to disable UI elements for release builds.
2019-01-28 15:36:17 -08:00
Elliott Liggett 3a37032a9a Minor changes 2019-01-28 10:06:17 -08:00
Elliott Liggett 2f16c6c2bb UI cleanup and PTT, F5 functions. 2019-01-23 17:19:35 -08:00
Elliott Liggett f30d300fe6 Added pseudo-terminal capability. TODO: Make sure wfview will parse 0xE0
data.
2019-01-09 22:44:48 -08:00
Elliott Liggett 815f8965f0 Additional ATU status fix, now queries on start. 2018-12-20 11:22:52 -08:00
Elliott Liggett 9e50b2e037 Fixed ATU status return. 2018-12-20 10:56:54 -08:00
Elliott Liggett c6f73fee7a More ATU modifications 2018-12-19 12:31:44 -08:00
Elliott Liggett 55b0e15afd Squashed CIV bug. Added preliminary scope mode functions (not working
yet).
2018-12-18 14:34:04 -08:00
Elliott Liggett 24a51074d6 Added additional mode command return support because we seem to
sometimes get the other formats.
2018-12-02 23:16:08 -08:00
Elliott Liggett 62ae4abe5b Fixed bug with default preference initialization. Removed mode label. 2018-11-29 22:31:20 -08:00
Elliott Liggett 5610f44dcd More line edit focus cleanup 2018-11-29 22:20:27 -08:00
Elliott Liggett c946410fe1 Fixed line edit focus for frequency input with star command 2018-11-29 22:19:23 -08:00
Elliott Liggett 0918727058 Cleanup 2018-11-29 14:32:59 -08:00
Elliott Liggett b5715d6024 Cleaned up some debug output 2018-11-29 13:57:15 -08:00
Elliott Liggett 0cee949dcf Added automatic IC-7300 serial port search 2018-11-29 13:41:42 -08:00
Elliott Liggett 5f35610207 Added shortcuts F1-F4, F11, Asterisk. 2018-11-27 22:02:37 -08:00
Elliott Liggett b432482e0c Fixed annoying data mode bug. 2018-11-26 23:10:23 -08:00
Elliott Liggett 973dec0b25 Now using preferences, read and write. Current settings are not written
at this time.
2018-11-24 22:21:36 -08:00
Elliott Liggett 59c5113f43 Added preference file capability, additional radio identity functions. 2018-11-24 00:10:05 -08:00
Elliott Liggett da4b526f81 Added exit button and rig ID (was not useful) 2018-11-19 23:42:34 -08:00
Elliott Liggett 908e928838 Fixed AF/RF/SQL level bug 2018-11-18 00:01:20 -08:00
Elliott Liggett ab477db944 Added some ATU structure 2018-11-16 23:13:59 -08:00
Elliott Liggett 36b10d4100 Added AF and RF (RX) gain and ATU basics 2018-11-16 22:19:44 -08:00
Elliott Liggett 54881ddd51 Squashed a number of bugs and added the band stacking register
functions.
2018-11-16 14:08:21 -08:00
Elliott Liggett 208e2017eb Numerious modifications 2018-11-07 15:54:03 -08:00
Elliott Liggett 3f7edad074 Implimented tuning knob, enhanced communication handling. 2018-07-03 17:20:03 -07:00
Elliott Liggett 0b8de1a08b Freq knob and beginnings of com port setup. 2018-06-25 00:34:33 -07:00
Elliott Liggett 989588f9e1 Added command que to main window. Good for commands that need to happen
in order and not immediately. Consider setting quicker timer.
2018-06-23 00:31:41 -07:00
Elliott Liggett 1fd6ce5310 Finally a good command parsing technique yeilds loads more usable data.
Dark mode is in too!
2018-06-22 16:31:52 -07:00
Elliott Liggett 24c8ec5a09 Fixed mode select bug. Added some preliminary hooks for changing the
theme to dark.
2018-06-19 23:45:56 -07:00
Elliott Liggett 4d86ab11cc Initial commit. 2018-06-19 12:58:52 -07:00