Commit graph

57 commits

Author SHA1 Message Date
ON4QZ
99c4f59b5d
Merge pull request #14 from Ruxton/feature/disable_to_tx_action_in_gallery_when_tx
Enable/Disable of the 'To Tx' action across the gallery
2023-07-15 12:36:37 +02:00
ruxton
ffe4bb2e61 Enable/Disable of the 'To Tx' action across the gallery 2022-11-08 21:57:53 +08:00
hspil
5691d95291 Fix #1 Reconcile COPYING and LICENSE 2022-10-24 18:21:18 -05:00
Johan Maes ON4QZ
1d4697634a Development version 10 - qt6 compat_b 2022-10-24 13:33:39 +02:00
Johan Maes ON4QZ
bc396c05c2 Development version 10 - qt6 compat 2022-10-24 13:30:41 +02:00
Johan Maes ON4QZ
5940660ce6 documentation - structure 2022-10-19 17:30:39 +02:00
Johan Maes ON4QZ
ae98ab06d8 bes structure, using subdirs 2022-10-19 17:28:24 +02:00
ON4QZ
c5be1e3d7c
Merge pull request #3 from dl8dtl/macos_port
MacOS port
2022-10-12 12:05:52 +02:00
ON4QZ
33087aa367
Merge pull request #6 from dl8dtl/editor_macrohelp
Editor macrohelp
2022-10-12 12:02:43 +02:00
ON4QZ
0dc4844f66
Merge pull request #9 from Ruxton/readme-libv4l-fix
Correct libv4l package name in README
2022-10-12 12:02:22 +02:00
ON4QZ
88f8605710
Merge pull request #10 from Ruxton/feature/option_recursively_load_images
Add option to recursively scan directories
2022-10-12 12:01:46 +02:00
ruxton
b6fc2f9974 Filewatcher watches recursive dirs 2022-10-04 23:25:49 +08:00
ruxton
5eef6532c5 Add option to recursively scan directories 2022-10-04 19:34:06 +08:00
Greg Tangey
9d8bfc150c
Correct libv4l package name in README 2022-10-04 16:54:32 +08:00
ON4QZ
78d334bb91
Merge pull request #4 from dl8dtl/fix_ptt
Fix PTT
2022-10-03 13:51:30 +02:00
Jörg Wunsch
8c67b528b9
Merge pull request #8 from Ruxton/patch-1
Template is re-applied before sending.
Helps in particular to update %t and %d information.
2022-08-24 00:06:01 +02:00
Greg Tangey
46b7f6981c
Template is re-applied before sending
Template is re-applied before sending to regenerate time-based text
2022-08-23 14:54:40 +08:00
Joerg Wunsch
8088b579b5 Document the macro name list in the editor's text entry popup 2022-06-05 22:33:15 +02:00
Joerg Wunsch
a8669a180f Move connection from currentTextChanged() to slotMacro() up
This connection must be setup before committing the dialog
itself (with .exec()) in order to take effect.
2022-06-05 22:15:16 +02:00
Joerg Wunsch
5e456a1fd8 Add a help for %X macro texts in editor window
When editing a text entry in the editor, provide the existing
macros as a clickable list to pick from. This saves going back
and forth through the documentation when editing text entries.
2022-06-04 22:45:21 +02:00
Joerg Wunsch
ffb622a51f Implement the option "no PTT" in CAT configuration
If the respective CAT configuration does not support a PTT
(e.g. since the rig's CAT protocol does not implement it,
and there is no DTR- or RTS-controlled hardware either),
it is possible to turn of PTT entirely yet still enable
CAT for frequency and mode control. (PTT could then be
performced e.g. via VOX.)
2022-06-04 21:40:38 +02:00
Joerg Wunsch
a8b2aac2b2 Enable PTT if there is an RTS or DTR PTT configured
Using hamlib's capability reporting only reports capabilities
that are available straight through the CAT protocol of the
target rig. PTTs controlled by RTS or DTR are out-of-band
with respect to the CAT protocol, so they do not appear there.
Nevertheless, if the operator configured such a PTT type, we
assume the rig PTT can be activated which can then still be
done using rig_set_ptt().
2022-06-04 21:39:38 +02:00
Joerg Wunsch
de8bc751c3 Rewrite QFtp to use QRegularExpression
The QFtp module came from Qt 4.x, and by now, still used the
now deprecated QRegExp. Rewrite the regular expression handling
for QRegularExpression.
2022-06-04 19:01:54 +02:00
Joerg Wunsch
c1b71c6910 Rename DrmTransmitter.* to CDrmTransmitter.* 2022-06-03 23:51:59 +02:00
Joerg Wunsch
14139236b8 Rename common/DrmTransmitter to CDrmTransmitter
The default MacOS filesystem is case sensitive, so this caused a
filename conflict with drmtransmitter.o when compiling.
2022-06-03 23:34:44 +02:00
Joerg Wunsch
9af4812dc6 Handle qwt as a regular qmake feature
This is supposed to automatically find the respective include
and library definitions to the build.

Just keep the previous manually defined qwt definitions for
non-MacOS builds by now.
2022-06-03 23:32:46 +02:00
Joerg Wunsch
d84570b1a8 Qt6: more QVariant / QMetaType changes
Get rid of QVariant:: types in favor of QMetaType:: types.
2022-06-03 23:31:55 +02:00
Joerg Wunsch
3eb9c3e0ce Fix out-of-bounds access to myCallsign string
The string was evaluated one character beyond its length. With Qt6,
this finally caused a crash.
2022-06-03 23:30:55 +02:00
Joerg Wunsch
09a2b96f76 Replace deprecated QMessageBox::information()/warning()
With Qt6, those formats of QMessageBox::information() that take
non-standard label texts have been deprecated. The intention is
to always use standard texts for labels.

QMessageBox::warning():

The numeric arguments were triggering an obsolete form of the
warning dialog. Instead, omit the last "0" so it is now taken
as a supported version with overloaded button names consisting
of just one button.
2022-06-03 23:28:48 +02:00
Joerg Wunsch
303e9d219a Make the XML-RPC server compile under Qt6
The interaction between QMetaType and QVariant has changed quite
a bit between these version, thus the handling of both versions
requires some #ifdef tweaking.
2022-06-03 23:27:03 +02:00
Joerg Wunsch
37f7c2bf75 Workaround for QSlider performance issue on MacOS 12.x
By default, QSlider eats up a lot of CPU. The workaround is to
apply a stylesheet, idea taken from a stackoverflow posting.
Presumably fixed in Qt 6.3.
2022-06-03 23:25:57 +02:00
Joerg Wunsch
3cdfd0fdf4 In QFtpPI::readyRead(), make assembly of endOfMultiLine cleaner
Instead of going back and forth through calculating numeric
values from (digit) characters and vice versa, use the original
characters directly, and just append a space afterwards.
2022-06-03 23:25:03 +02:00
Joerg Wunsch
45bdba1cfa Include <QObject> as it is being used later on 2022-06-03 23:24:25 +02:00
Joerg Wunsch
f5570daef1 Cast integer expression to char before appending to QString
Passing an integer expression is ambiguous in Qt6.
2022-06-03 23:23:33 +02:00
Joerg Wunsch
88c94a0ed9 Use QRegularExpression[Validator] rather than QRegExp*
The old classes have been deprecated in Qt5, and are no longer
present in Qt6.
2022-06-03 23:22:44 +02:00
Joerg Wunsch
287e81690f Qt6 compat: QFileInfo needs a rerence paramater of QString
Thus, move variable fn before, and use it as reference parameter
in constructing QFileInfo.
2022-06-03 23:22:05 +02:00
Joerg Wunsch
6660d8db3d Replace private "byte" by "_BYTE"
Both referred to unsigned char in qsstv anyway.

While _BYTE still collides with the namespace rules (it's in the
implementation namespace), it appears to be accepted. "byte"
however is implemented quite differently in recent C++ standards.
2022-06-03 23:20:51 +02:00
Joerg Wunsch
af6ff02416 Remove QT_BEGIN_HEADER / QT_END_HEADER
Theese macros have been no-ops, and are gone with Qt6.
2022-06-03 23:16:15 +02:00
Joerg Wunsch
e84c4a1fcc Remove unused variables 2022-06-03 23:15:21 +02:00
Joerg Wunsch
7b072e454b Remove ALSA and v4l for MacOS builds
Both systems are not available. Thus, Pulseaudio remains the only
usable audio system to chose (unless someone starts a real MacOS
sound support). Since there is no v4l, taking a snapshot for
transmission just does not work at all.
2022-06-03 23:13:02 +02:00
Joerg Wunsch
d493b12704 Remove <malloc.h>
It is not needed anyway; malloc() is sufficiently defined in
<stdlib.h> according to the C standard.
2022-06-03 23:09:40 +02:00
Joerg Wunsch
a332486082 Include <linux/types.h> only on Linux systems
Other systems implementing v4l (like FreeBSD) do not have it.
2022-06-03 23:08:15 +02:00
Joerg Wunsch
6393dc1216 In cameraDialog::getCameraInfo(), ensure list length > 0
When getFormatList() returned nothing, there is no point in
adding anything to the cameraList.
2022-06-03 23:07:01 +02:00
Joerg Wunsch
e6ca4478cc Open the rig control port with O_NONBLOCK
Required by FreeBSD, should not harm for other systems.
2022-06-03 23:06:04 +02:00
Joerg Wunsch
e7bb28dd81 Implement FreeBSD-specific ALSA handling
FreeBSD's ALSA implementation requires a few tweaks, compared to
the original Linux sound handling.
2022-06-03 23:05:08 +02:00
Joerg Wunsch
a5616d151d demodulator::channelEstimation(): use atan2f()
Instead of using atan2() and casting it to float(), use atan2f().
2022-06-03 23:02:16 +02:00
Joerg Wunsch
a761c90873 Mark graphItemBase::enum egraphType::type() as const
It inherits from QGraphicsItem where type() is also const, thus
causing a bunch of compilation warnings.
2022-06-03 23:00:36 +02:00
ON4QZ
260f5b21c2
Merge pull request #2 from ON4QZ/organize
Organize
2022-06-03 14:55:01 +02:00
hspil
a881998370
Add more README.md content I accidentally left out 2022-06-03 00:42:15 -08:00
hspil
07a0e1bc72 Further update README.md based on online manual 2022-06-03 00:34:08 -08:00