libdrmconf 0.14.1
A library to program DMR radios.
Loading...
Searching...
No Matches
anytone_settingsextension.hh
1#ifndef ANYTONE_SETTINGSEXTENSION_H
2#define ANYTONE_SETTINGSEXTENSION_H
3
4#include <QTimeZone>
5
6#include "configobject.hh"
7#include "configreference.hh"
8#include "interval.hh"
9#include "melody.hh"
10#include "frequency.hh"
11#include "channel.hh"
12
13
14
20{
21 Q_OBJECT
22
28 Q_PROPERTY(QString bootPassword READ bootPassword WRITE setBootPassword)
29
30 Q_CLASSINFO("defaultChannelDescription", "If enabled, the default channels are selected at boot.")
33 Q_CLASSINFO("zoneADescription", "The default zone for VFO A.")
35 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
36 Q_CLASSINFO("channelADescription", "The default channel for VFO A. Must be within zone A.")
39 Q_CLASSINFO("zoneBDescription", "The default zone for VFO B.")
41 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
42 Q_CLASSINFO("channelBDescription", "The default channel for VFO B. Must be within zone B.")
49
51 Q_PROPERTY(bool gpsCheck READ gpsCheckEnabled WRITE enableGPSCheck)
53 Q_PROPERTY(bool reset READ resetEnabled WRITE enableReset)
54
55public:
57 enum class BootDisplay {
58 Default = 0, CustomText = 1, CustomImage = 2
59 };
60 Q_ENUM(BootDisplay)
61
62public:
64 explicit AnytoneBootSettingsExtension(QObject *parent=nullptr);
65
66 ConfigItem *clone() const;
67
71 void setBootDisplay(BootDisplay mode);
73 bool bootPasswordEnabled() const;
75 void enableBootPassword(bool enable);
77 const QString &bootPassword() const;
79 void setBootPassword(const QString &pass);
80
82 bool defaultChannelEnabled() const;
84 void enableDefaultChannel(bool enable);
86 ZoneReference *zoneA() const;
90 ZoneReference *zoneB() const;
97
99 bool gpsCheckEnabled() const;
101 void enableGPSCheck(bool enable);
102
104 bool resetEnabled() const;
106 void enableReset(bool enable);
107
108protected:
120 bool _reset;
121};
122
123
129{
130 Q_OBJECT
131
132 Q_CLASSINFO("autoShutDownDelayDescription", "The auto shut-down delay in minutes.")
135
138
139 Q_CLASSINFO("powerSaveDescription", "Specifies the power save mode. "
140 "D686UV, D878UV(2) and DMR-6X2UV only.")
142 Q_PROPERTY(PowerSave powerSave READ powerSave WRITE setPowerSave)
143
145 Q_PROPERTY(bool atpc READ atpc WRITE enableATPC)
146
147public:
149 enum class PowerSave {
150 Off = 0, Save50 = 1, Save66 = 2
151 };
152 Q_ENUM(PowerSave)
153
154public:
156 explicit AnytonePowerSaveSettingsExtension(QObject *parent=nullptr);
157
158 ConfigItem *clone() const;
159
161 Interval autoShutdown() const;
163 void setAutoShutdown(Interval min);
164
166 bool resetAutoShutdownOnCall() const;
168 void enableResetAutoShutdownOnCall(bool enable);
169
171 PowerSave powerSave() const;
173 void setPowerSave(PowerSave mode);
174
176 bool atpc() const;
178 void enableATPC(bool enable);
179
180protected:
183 PowerSave _powerSave;
184 bool _atpc;
185};
186
187
193{
194 Q_OBJECT
195
242
245
248
249 Q_CLASSINFO("knobLockDescription", "If enabled, the knob gets locked too.")
251 Q_PROPERTY(bool knobLock READ knobLockEnabled WRITE enableKnobLock)
252
253 Q_CLASSINFO("keypadLockDescription", "If enabled, the key-pad gets locked.")
256
257 Q_CLASSINFO("sideKeysLockDescription", "If enabled, the side-keys get locked.")
260
261 Q_CLASSINFO("forcedKeyLockDescription", "If enabled, the key-lock is forced.")
264
265public:
267 enum class KeyFunction {
268 Off, Voltage, Power, Repeater, Reverse, Encryption, Call, VOX, ToggleVFO, SubPTT,
269 Scan, WFM, Alarm, RecordSwitch, Record, SMS, Dial, GPSInformation, Monitor, ToggleMainChannel,
270 HotKey1, HotKey2, HotKey3, HotKey4, HotKey5, HotKey6, WorkAlone, SkipChannel, DMRMonitor,
271 SubChannel, PriorityZone, VFOScan, MICSoundQuality, LastCallReply, ChannelType, Ranging,
272 Roaming, ChannelRanging, MaxVolume, Slot, APRSTypeSwitch, Zone, ZoneUp, ZoneDown, Exit, Menu,
273 RoamingSet, APRSSet, Mute, MuteA, MuteB, CtcssDcsSet, TBSTSend, Bluetooth, GPS, ChannelName,
274 CDTScan, APRSSend, APRSInfo, Speaker, XBandRepeater, SimplexRepeater, GPSRoaming, Squelch,
275 NoiseReductionTX, DIMShut, SatPredict
276 };
277 Q_ENUM(KeyFunction)
278
279
280 enum class UpDownKeyFunction {
281 Channel, Volume
282 };
283 Q_ENUM(UpDownKeyFunction)
284
285public:
287 explicit AnytoneKeySettingsExtension(QObject *parent=nullptr);
288
289 ConfigItem *clone() const;
290
294 void setFuncKey1Short(KeyFunction func);
298 void setFuncKey1Long(KeyFunction func);
299
303 void setFuncKey2Short(KeyFunction func);
307 void setFuncKey2Long(KeyFunction func);
308
312 void setFuncKey3Short(KeyFunction func);
316 void setFuncKey3Long(KeyFunction func);
317
321 void setFuncKey4Short(KeyFunction func);
325 void setFuncKey4Long(KeyFunction func);
326
330 void setFuncKey5Short(KeyFunction func);
334 void setFuncKey5Long(KeyFunction func);
335
339 void setFuncKey6Short(KeyFunction func);
343 void setFuncKey6Long(KeyFunction func);
344
348 void setFuncKeyAShort(KeyFunction func);
352 void setFuncKeyALong(KeyFunction func);
353
357 void setFuncKeyBShort(KeyFunction func);
361 void setFuncKeyBLong(KeyFunction func);
362
366 void setFuncKeyCShort(KeyFunction func);
370 void setFuncKeyCLong(KeyFunction func);
371
375 void setFuncKeyDShort(KeyFunction func);
379 void setFuncKeyDLong(KeyFunction func);
380
384 void setFuncKnobShort(KeyFunction func);
388 void setFuncKnobLong(KeyFunction func);
389
394
399
401 bool autoKeyLockEnabled() const;
403 void enableAutoKeyLock(bool enabled);
404
406 bool knobLockEnabled() const;
408 void enableKnobLock(bool enable);
410 bool keypadLockEnabled() const;
412 void enableKeypadLock(bool enable);
414 bool sideKeysLockEnabled() const;
416 void enableSideKeysLock(bool enable);
418 bool forcedKeyLockEnabled() const;
420 void enableForcedKeyLock(bool enable);
421
422protected:
452};
453
454
460{
461 Q_OBJECT
462 Q_CLASSINFO("description", "Tone settings for AnyTone devices.")
463
464 Q_CLASSINFO("keyToneDescription", "If true, enables the key tones.")
466 Q_PROPERTY(bool keyTone READ keyToneEnabled WRITE enableKeyTone)
467
468 Q_CLASSINFO("keyToneLevelDescription", "Specifies the key-tone level, 0=user adjustable.")
470 Q_PROPERTY(unsigned int keyToneLevel READ keyToneLevel WRITE setKeyToneLevel)
471
472 Q_CLASSINFO("smsAlertDescription", "Enables/disables the SMS alert tone.")
474 Q_PROPERTY(bool smsAlert READ smsAlertEnabled WRITE enableSMSAlert)
475
476 Q_CLASSINFO("callAlertDescription", "Enables/disables the call alert tone.")
478 Q_PROPERTY(bool callAlert READ callAlertEnabled WRITE enableCallAlert)
479
480 Q_CLASSINFO("dmrTalkPermitDescription", "Enables/disables the talk-permit tone for DMR channels.")
483
484 Q_CLASSINFO("dmrResetDescription", "Enables/disables the reset tone for DMR channels.")
487
488 Q_CLASSINFO("fmTalkPermitDescription", "Enables/disables the talk-permit tone for FM channels.")
491
497 Q_PROPERTY(bool startup READ startupToneEnabled WRITE enableStartupTone)
499 Q_PROPERTY(bool tot READ totNotification WRITE enableTOTNotification)
501 Q_PROPERTY(bool wxAlarm READ wxAlarm WRITE enableWXAlarm)
502
504 Q_PROPERTY(Melody * callMelody READ callMelody)
506 Q_PROPERTY(Melody * idleMelody READ idleMelody)
508 Q_PROPERTY(Melody * resetMelody READ resetMelody)
511
512public:
514 explicit AnytoneToneSettingsExtension(QObject *parent=nullptr);
515
516 ConfigItem *clone() const;
517
519 bool keyToneEnabled() const;
521 void enableKeyTone(bool enable);
522
524 bool smsAlertEnabled() const;
526 void enableSMSAlert(bool enable);
527
529 bool callAlertEnabled() const;
531 void enableCallAlert(bool enable);
532
534 bool talkPermitDigitalEnabled() const;
536 void enableTalkPermitDigital(bool enable);
537
539 bool talkPermitAnalogEnabled() const;
541 void enableTalkPermitAnalog(bool enable);
542
544 bool digitalResetToneEnabled() const;
546 void enableDigitalResetTone(bool enable);
547
549 bool dmrIdleChannelToneEnabled() const;
551 void enableDMRIdleChannelTone(bool enable);
552
554 bool fmIdleChannelToneEnabled() const;
556 void enableFMIdleChannelTone(bool enable);
557
559 bool startupToneEnabled() const;
561 void enableStartupTone(bool enable);
562
564 bool totNotification() const;
566 void enableTOTNotification(bool enable);
567
569 bool wxAlarm() const;
571 void enableWXAlarm(bool enable);
572
574 Melody *callMelody() const;
576 Melody *idleMelody() const;
578 Melody *resetMelody() const;
580 Melody *callEndMelody() const;
581
583 unsigned int keyToneLevel() const;
585 void setKeyToneLevel(unsigned int level);
586
587protected:
588 bool _keyTone;
598 bool _wxAlarm;
603 unsigned int _keyToneLevel;
604
605};
606
607
613{
614 Q_OBJECT
615
619 Q_PROPERTY(unsigned int brightness READ brightness WRITE setBrightness)
620
621 Q_CLASSINFO("backlightDuration", "The duration in seconds, the backlight keeps lit after any action. ")
624
625 Q_CLASSINFO("backlightDurationTX", "The duration in seconds, the backlight is lit during TX. "
626 "A value of 0 means off.")
629
630 Q_CLASSINFO("backlightDurationRX", "The duration in seconds, the backlight is lit during RX.")
633
636
638 Q_PROPERTY(bool volumeChangePrompt READ volumeChangePromptEnabled WRITE enableVolumeChangePrompt)
640 Q_PROPERTY(bool callEndPrompt READ callEndPromptEnabled WRITE enableCallEndPrompt)
641
643 Q_PROPERTY(bool showClock READ showClockEnabled WRITE enableShowClock)
645 Q_PROPERTY(bool showCall READ showCallEnabled WRITE enableShowCall)
647 Q_PROPERTY(bool showContact READ showContact WRITE enableShowContact)
649 Q_PROPERTY(bool showChannelNumber READ showChannelNumberEnabled WRITE enableShowChannelNumber)
651 Q_PROPERTY(bool showGLobalChannelNumber READ showGlobalChannelNumber WRITE enableShowGlobalChannelNumber)
653 Q_PROPERTY(bool showColorCode READ showColorCode WRITE enableShowColorCode)
655 Q_PROPERTY(bool showTimeSlot READ showTimeSlot WRITE enableShowTimeSlot)
657 Q_PROPERTY(bool showChannelType READ showChannelType WRITE enableShowChannelType)
659 Q_PROPERTY(bool showLastHeard READ showLastHeardEnabled WRITE enableShowLastHeard)
661 Q_PROPERTY(LastCallerDisplayMode lastCallerDisplay READ lastCallerDisplay WRITE setLastCallerDisplay)
662
664 Q_PROPERTY(Color callColor READ callColor WRITE setCallColor)
666 Q_PROPERTY(Color standbyTextColor READ standbyTextColor WRITE setStandbyTextColor)
669
670 Q_CLASSINFO("channelNameColorDescription", "Specifies the color of the channel name.")
672 Q_PROPERTY(Color channelNameColor READ channelNameColor WRITE setChannelNameColor)
673 Q_CLASSINFO("channelBNameColorDescription", "Specifies the color of the channel name for VFO B.")
675 Q_PROPERTY(Color channelBNameColor READ channelBNameColor WRITE setChannelBNameColor)
676
677 Q_CLASSINFO("zoneNameColorDescription", "Specifies the color of the zone name.")
679 Q_PROPERTY(Color zoneNameColor READ zoneNameColor WRITE setZoneNameColor)
680 Q_CLASSINFO("zoneBNameColorDescription", "Specifies the color of the zone name for VFO B.")
682 Q_PROPERTY(Color zoneBNameColor READ zoneBNameColor WRITE setZoneBNameColor)
683
685 Q_PROPERTY(Language language READ language WRITE setLanguage)
687 Q_PROPERTY(DateFormat dateFormat READ dateFormat WRITE setDateFormat)
688
689public:
691 enum class LastCallerDisplayMode {
692 Off = 0, ID = 1, Call = 2, Both = 3
693 };
694 Q_ENUM(LastCallerDisplayMode)
695
696
697 enum class Color {
698 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
699 };
700 Q_ENUM(Color)
701
702
703 enum class Language {
704 English = 0,
705 German = 1
706 };
707 Q_ENUM(Language)
708
709
710 enum class DateFormat {
711 YearFirst = 0,
712 DayFirst = 1
713 };
714 Q_ENUM(DateFormat)
715
716public:
718 explicit AnytoneDisplaySettingsExtension(QObject *parent=nullptr);
719
720 ConfigItem *clone() const;
721
723 bool displayFrequencyEnabled() const;
725 void enableDisplayFrequency(bool enable);
726
728 unsigned int brightness() const;
730 void setBrightness(unsigned int level);
731
733 bool volumeChangePromptEnabled() const;
735 void enableVolumeChangePrompt(bool enable);
736
738 bool callEndPromptEnabled() const;
740 void enableCallEndPrompt(bool enable);
741
743 LastCallerDisplayMode lastCallerDisplay() const;
745 void setLastCallerDisplay(LastCallerDisplayMode mode);
746
748 bool showClockEnabled() const;
750 void enableShowClock(bool enable);
751
753 bool showCallEnabled() const;
755 void enableShowCall(bool enable);
756
758 Color callColor() const;
760 void setCallColor(Color color);
761
763 Language language() const;
765 void setLanguage(Language lang);
767 DateFormat dateFormat() const;
769 void setDateFormat(DateFormat format);
770
772 bool showChannelNumberEnabled() const;
774 void enableShowChannelNumber(bool enable);
777 bool showGlobalChannelNumber() const;
779 void enableShowGlobalChannelNumber(bool enable);
781 bool showColorCode() const;
783 void enableShowColorCode(bool enable);
785 bool showTimeSlot() const;
787 void enableShowTimeSlot(bool enable);
789 bool showChannelType() const;
791 void enableShowChannelType(bool enable);
792
794 bool showContact() const;
796 void enableShowContact(bool enable);
797
799 Color standbyTextColor() const;
801 void setStandbyTextColor(Color color);
803 Color standbyBackgroundColor() const;
805 void setStandbyBackgroundColor(Color color);
806
808 bool showLastHeardEnabled() const;
810 void enableShowLastHeard(bool enable);
811
813 Interval backlightDuration() const;
815 void setBacklightDuration(Interval sec);
816
818 Interval backlightDurationTX() const;
820 void setBacklightDurationTX(Interval sec);
821
823 Color channelNameColor() const;
825 void setChannelNameColor(Color color);
827 Color channelBNameColor() const;
829 void setChannelBNameColor(Color color);
830
832 Color zoneNameColor() const;
834 void setZoneNameColor(Color color);
836 Color zoneBNameColor() const;
838 void setZoneBNameColor(Color color);
839
841 Interval backlightDurationRX() const;
843 void setBacklightDurationRX(Interval sec);
845 bool customChannelBackground() const;
847 void enableCustomChannelBackground(bool enable);
848
849protected:
851 unsigned int _brightness;
854 LastCallerDisplayMode _lastCallerDisplay;
858 Language _language;
859 DateFormat _dateFormat;
877};
878
879
885{
886 Q_OBJECT
887
889 Q_PROPERTY(Interval voxDelay READ voxDelay WRITE setVOXDelay)
892
894 Q_PROPERTY(bool recording READ recordingEnabled WRITE enableRecording)
895
898
901
903 Q_PROPERTY(unsigned int maxVolume READ maxVolume WRITE setMaxVolume)
906
908 Q_PROPERTY(Level fmMicGain READ fmMicGain WRITE setFMMicGain)
909
911 Q_PROPERTY(Speaker speaker READ speaker WRITE setSpeaker)
916
917public:
919 enum class VoxSource {
920 Internal = 0, External = 1, Both = 2
921 };
922 Q_ENUM(VoxSource)
923
924
925 enum class Speaker {
926 Handset, Radio, Both
927 };
928 Q_ENUM(Speaker);
929
932 MainChannel, SubChannel
933 };
934 Q_ENUM(HandsetSpeakerSource)
935
936
937 enum class HandsetType {
938 Anytone, Generic
939 };
940 Q_ENUM(HandsetType)
941
942public:
944 explicit AnytoneAudioSettingsExtension(QObject *parent=nullptr);
945
946 ConfigItem *clone() const;
947
949 Interval voxDelay() const;
951 void setVOXDelay(Interval ms);
952
954 VoxSource voxSource() const;
956 void setVOXSource(VoxSource source);
957
959 bool recordingEnabled() const;
961 void enableRecording(bool enable);
962
964 unsigned int maxVolume() const;
966 void setMaxVolume(unsigned int vol);
968 unsigned int maxHeadPhoneVolume() const;
970 void setMaxHeadPhoneVolume(unsigned int vol);
971
973 bool enhanceAudioEnabled() const;
975 void enableEnhanceAudio(bool enable);
976
978 Interval muteDelay() const;
980 void setMuteDelay(Interval intv);
981
983 bool fmMicGainEnabled() const;
985 Level fmMicGain() const;
987 void setFMMicGain(Level gain);
989 void disableFMMicGain();
990
992 Speaker speaker() const;
994 void setSpeaker(Speaker speaker);
995
997 HandsetSpeakerSource handsetSpeaker() const;
999 void setHandsetSpeaker(HandsetSpeakerSource src);
1000
1001 /* Returns the handset type. */
1002 HandsetType handsetType() const;
1004 void setHandsetType(HandsetType type);
1005
1006protected:
1010 unsigned int _maxVolume;
1011 unsigned int _maxHeadPhoneVolume;
1018};
1019
1020
1026{
1027 Q_OBJECT
1028
1029 Q_CLASSINFO("durationDescription", "The time in seconds, the menu is shown.")
1031 Q_PROPERTY(Interval duration READ duration WRITE setDuration)
1032
1033 Q_CLASSINFO("separatorDescription", "If enabled, the menu items are separated by a line.")
1035 Q_PROPERTY(bool separator READ separatorEnabled WRITE enableSeparator)
1036
1037public:
1039 explicit AnytoneMenuSettingsExtension(QObject *parent=nullptr);
1040
1041 ConfigItem *clone() const;
1042
1044 Interval duration() const;
1046 void setDuration(Interval sec);
1048 bool separatorEnabled() const;
1050 void enableSeparator(bool enable);
1051
1052protected:
1055};
1056
1057
1062{
1063 Q_OBJECT
1064 Q_CLASSINFO("IdPrefix", "off")
1065
1066 Q_CLASSINFO("offsetDecription",
1067 "Transmit-frequency offset in Hz.")
1068 Q_CLASSINFO("offsetLongDecription",
1069 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
1070 "direction is specified for each VFO separately.")
1072 Q_PROPERTY(Frequency offset READ offset WRITE setOffset)
1073
1074public:
1076 explicit Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr);
1077
1078 ConfigItem *clone() const;
1079
1081 Frequency offset() const;
1084
1085protected:
1088};
1089
1090
1094{
1095 Q_OBJECT
1096
1097public:
1099 explicit AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr);
1100};
1101
1102
1106{
1107 Q_OBJECT
1108
1109public:
1111 explicit AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr);
1112
1113 ConfigItem *allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err);
1114};
1115
1116
1122{
1123 Q_OBJECT
1124 Q_CLASSINFO("description", "Auto-repeater settings for AnyTone devices.")
1125
1126 Q_CLASSINFO("directionADescription", "Auto-repeater transmit-frequency offset direction for VFO A.")
1129
1130 Q_CLASSINFO("directionBDescription", "Auto-repeater transmit-frequency offset direction for VFO B.")
1133
1134 Q_CLASSINFO("vhfMin", "The minimum frequency in Hz of the VHF auto-repeater frequency range.")
1136 Q_PROPERTY(Frequency vhfMin READ vhfMin WRITE setVHFMin)
1137
1138 Q_CLASSINFO("vhfMax", "The maximum frequency in Hz of the VHF auto-repeater frequency range.")
1140 Q_PROPERTY(Frequency vhfMax READ vhfMax WRITE setVHFMax)
1141
1142 Q_CLASSINFO("uhfMin", "The minimum frequency in Hz of the UHF auto-repeater frequency range.")
1144 Q_PROPERTY(Frequency uhfMin READ uhfMin WRITE setUHFMin)
1145
1146 Q_CLASSINFO("uhfMax", "The maximum frequency in Hz of the UHF auto-repeater frequency range.")
1148 Q_PROPERTY(Frequency uhfMax READ uhfMax WRITE setUHFMax)
1149
1150 Q_CLASSINFO("vhfDescription", "A reference to an offset frequency for the VHF band.")
1153
1154 Q_CLASSINFO("uhfDescription", "A reference to an offset frequency for the UHF band.")
1157
1158 Q_CLASSINFO("vhf2Min", "The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
1160 Q_PROPERTY(Frequency vhf2Min READ vhf2Min WRITE setVHF2Min)
1161
1162 Q_CLASSINFO("vhf2Max", "The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
1164 Q_PROPERTY(Frequency vhf2Max READ vhf2Max WRITE setVHF2Max)
1165
1166 Q_CLASSINFO("uhf2Min", "The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
1168 Q_PROPERTY(Frequency uhf2Min READ uhf2Min WRITE setUHF2Min)
1169
1170 Q_CLASSINFO("uhf2Max", "The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
1172 Q_PROPERTY(Frequency uhf2Max READ uhf2Max WRITE setUHF2Max)
1173
1174 Q_CLASSINFO("vhf2Description", "A reference to an offset frequency for the second VHF band.")
1177
1178 Q_CLASSINFO("uhf2Description", "A reference to an offset frequency for the second UHF band.")
1181
1182 Q_CLASSINFO("offsetDescription", "The lists of offset frequencies.")
1185
1186public:
1188 enum class Direction {
1189 Off = 0,
1190 Positive = 1,
1191 Negative = 2
1192 };
1193 Q_ENUM(Direction)
1194
1195public:
1197 explicit AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr);
1198
1199 ConfigItem *clone() const;
1200
1202 Direction directionA() const;
1204 void setDirectionA(Direction dir);
1206 Direction directionB() const;
1208 void setDirectionB(Direction dir);
1209
1211 Frequency vhfMin() const;
1213 void setVHFMin(Frequency Hz);
1215 Frequency vhfMax() const;
1217 void setVHFMax(Frequency Hz);
1219 Frequency uhfMin() const;
1221 void setUHFMin(Frequency Hz);
1223 Frequency uhfMax() const;
1225 void setUHFMax(Frequency Hz);
1226
1228 AnytoneAutoRepeaterOffsetRef *uhfRef() const;
1230 AnytoneAutoRepeaterOffsetRef *vhfRef() const;
1231
1233 Frequency vhf2Min() const;
1235 void setVHF2Min(Frequency Hz);
1237 Frequency vhf2Max() const;
1239 void setVHF2Max(Frequency Hz);
1241 Frequency uhf2Min() const;
1243 void setUHF2Min(Frequency Hz);
1245 Frequency uhf2Max() const;
1247 void setUHF2Max(Frequency Hz);
1248
1250 AnytoneAutoRepeaterOffsetRef *uhf2Ref() const;
1252 AnytoneAutoRepeaterOffsetRef *vhf2Ref() const;
1253
1255 AnytoneAutoRepeaterOffsetList *offsets() const;
1256
1257protected:
1288};
1289
1290
1296{
1297 Q_OBJECT
1298
1303
1304 Q_CLASSINFO("wakeHeadPeriod", "Sets the wake head-period in ms. Should be set to 100ms.")
1307
1308 Q_CLASSINFO("filterOwnIDDescription", "If enabled, own ID is not shown in call lists.")
1311
1312 Q_CLASSINFO("monitorSlotMatchDescription", "Time-slot match-mode for DMR monitor.")
1315
1316 Q_CLASSINFO("monitorColorCodeMatchDescription", "If enabled, the DMR monitor will only open for "
1317 "matching color-codes.")
1319 Q_PROPERTY(bool monitorColorCodeMatch READ monitorColorCodeMatchEnabled WRITE enableMonitorColorCodeMatch)
1320
1321 Q_CLASSINFO("monitorIDMatchDescription", "If enabled, the DMR monitor will only open for matching IDs.")
1323 Q_PROPERTY(bool monitorIDMatch READ monitorIDMatchEnabled WRITE enableMonitorIDMatch)
1324
1325 Q_CLASSINFO("monitorTimeSlotHold", "Whether the DMR monitor holds the time-slot.")
1327 Q_PROPERTY(bool monitorTimeSlotHold READ monitorTimeSlotHoldEnabled WRITE enableMonitorTimeSlotHold)
1328
1330 Q_PROPERTY(TalkerAliasSource talkerAliasSource READ talkerAliasSource WRITE setTalkerAliasSource)
1331
1333 Q_PROPERTY(EncryptionType encryption READ encryption WRITE setEncryption)
1334
1335
1336public:
1338 enum class SlotMatch {
1339 Off = 0, Single = 1, Both = 2
1340 };
1341 Q_ENUM(SlotMatch)
1342
1343
1344 enum class TalkerAliasSource {
1345 Off = 0, UserDB = 1, Air = 2
1346 };
1347 Q_ENUM(TalkerAliasSource)
1348
1349
1350 enum class EncryptionType {
1351 AES=0, DMR=1
1352 };
1353 Q_ENUM(EncryptionType)
1354
1355public:
1357 explicit AnytoneDMRSettingsExtension(QObject *parent = nullptr);
1358
1359 ConfigItem *clone() const;
1360
1362 Interval manualGroupCallHangTime() const;
1364 void setManualGroupCallHangTime(Interval sec);
1366 Interval manualPrivateCallHangTime() const;
1368 void setManualPrivateCallHangTime(Interval sec);
1369
1371 Interval wakeHeadPeriod() const;
1373 void setWakeHeadPeriod(Interval ms);
1374
1376 bool filterOwnIDEnabled() const;
1378 void enableFilterOwnID(bool enable);
1379
1381 SlotMatch monitorSlotMatch() const;
1383 void setMonitorSlotMatch(SlotMatch match);
1385 bool monitorColorCodeMatchEnabled() const;
1387 void enableMonitorColorCodeMatch(bool enable);
1389 bool monitorIDMatchEnabled() const;
1391 void enableMonitorIDMatch(bool enable);
1393 bool monitorTimeSlotHoldEnabled() const;
1395 void enableMonitorTimeSlotHold(bool enable);
1396
1398 TalkerAliasSource talkerAliasSource() const;
1400 void setTalkerAliasSource(TalkerAliasSource mode);
1401
1403 EncryptionType encryption() const;
1405 void setEncryption(EncryptionType type);
1406
1407protected:
1416 TalkerAliasSource _talkerAliasSource;
1417 EncryptionType _encryption;
1418};
1419
1420
1426{
1427 Q_OBJECT
1428
1429 Q_CLASSINFO("timeZoneDescription", "Specifies the GPS time-zone (IANA name).")
1431 Q_PROPERTY(QString timeZone READ ianaTimeZone WRITE setIANATimeZone)
1432
1433 Q_CLASSINFO("positionReportingDescription", "Enables GPS range reporting.")
1436
1437 Q_CLASSINFO("updatePeriodDescription", "Specifies the GPS reporting interval in seconds.")
1440
1441public:
1443 explicit AnytoneGPSSettingsExtension(QObject *parent=nullptr);
1444
1445 ConfigItem *clone() const;
1446
1448 QString ianaTimeZone() const;
1450 QTimeZone timeZone() const;
1452 void setIANATimeZone(const QString &id);
1454 void setTimeZone(const QTimeZone &zone);
1455
1457 bool positionReportingEnabled() const;
1459 void enablePositionReporting(bool enable);
1460
1462 Interval updatePeriod() const;
1464 void setUpdatePeriod(Interval sec);
1465
1466protected:
1467 QTimeZone _timeZone;
1470};
1471
1472
1478{
1479 Q_OBJECT
1480
1481 Q_CLASSINFO("Description", "Collects all ranging/roaming settings for AnyTone devices.")
1482
1483
1484 Q_PROPERTY(bool autoRoam READ autoRoam WRITE enableAutoRoam)
1485
1486 Q_CLASSINFO("autoRoamPeriodDescription", "Specifies the auto-roaming period in minutes.")
1489
1490 Q_CLASSINFO("autoRoamDelayDescription", "A delay in seconds before starting the auto-roaming.")
1493
1494 Q_CLASSINFO("roamStart", "Start condition for auto-roaming.")
1497
1498 Q_CLASSINFO("roamReturn", "Condition to return to the original repeater.")
1501
1502 Q_CLASSINFO("rangeCheckDescription", "Repeater range check.")
1505
1506 Q_CLASSINFO("checkIntervalDescription", "Repeater range check interval in seconds.")
1509
1510 Q_CLASSINFO("retryCount", "Number of retries to connect to a repeater before giving up.")
1513
1516
1517 Q_CLASSINFO("notificationDescription", "Enables the repeater-check notification.")
1520
1521 Q_CLASSINFO("notificationCountDescription", "The number of repeater-check notifications.")
1524
1527
1529 Q_PROPERTY(bool gpsRoaming READ gpsRoaming WRITE enableGPSRoaming)
1530
1531public:
1533 enum class RoamStart {
1534 Periodic=0, OutOfRange=1
1535 };
1536 Q_ENUM(RoamStart)
1537
1538
1539 enum class OutOfRangeAlert {
1540 None = 0x00, Bell = 0x01, Voice = 0x02
1541 };
1542 Q_ENUM(OutOfRangeAlert)
1543
1544public:
1546 explicit AnytoneRoamingSettingsExtension(QObject *parent=nullptr);
1547
1548 ConfigItem *clone() const;
1549
1551 bool autoRoam() const;
1553 void enableAutoRoam(bool enable);
1554
1556 Interval autoRoamPeriod() const;
1558 void setAutoRoamPeriod(Interval min);
1560 Interval autoRoamDelay() const;
1562 void setAutoRoamDelay(Interval sec);
1563
1565 bool repeaterRangeCheckEnabled() const;
1567 void enableRepeaterRangeCheck(bool enable);
1569 Interval repeaterCheckInterval() const;
1571 void setRepeaterCheckInterval(Interval sec);
1573 unsigned int repeaterRangeCheckCount() const;
1575 void setRepeaterRangeCheckCount(unsigned int count);
1577 OutOfRangeAlert outOfRangeAlert() const;
1579 void setOutOfRangeAlert(OutOfRangeAlert type);
1580
1582 RoamStart roamingStartCondition() const;
1584 void setRoamingStartCondition(RoamStart start);
1586 RoamStart roamingReturnCondition() const;
1588 void setRoamingReturnCondition(RoamStart start);
1589
1591 bool notificationEnabled() const;
1593 void enableNotification(bool enable);
1595 unsigned int notificationCount() const;
1597 void setNotificationCount(unsigned int n);
1598
1600 bool gpsRoaming() const;
1602 void enableGPSRoaming(bool enable);
1603
1605 RoamingZoneReference *defaultZone() const;
1606
1607protected:
1618 unsigned int _notificationCount;
1621};
1622
1623
1624
1630{
1631 Q_OBJECT
1632
1633 Q_CLASSINFO("Description", "Collects all bluetooth handset settings for AnyTone devices.")
1634
1635 Q_CLASSINFO("shutdownDescription", "Shuts the handset off too, when the radio is turned off.")
1636 Q_PROPERTY(bool shutdown READ shutdownEnabled WRITE enableShutdown)
1637
1638 Q_CLASSINFO("volumeLevelADescription", "Sets the volume level for VFO A.")
1639 Q_PROPERTY(unsigned int volumeLevelA READ volumeLevelA WRITE setVolumeLevelA)
1640 Q_CLASSINFO("volumeLevelBDescription", "Sets the volume level for VFO B.")
1641 Q_PROPERTY(unsigned int volumeLevelB READ volumeLevelB WRITE setVolumeLevelB)
1642
1643 Q_CLASSINFO("micGainDescription", "Specifies the microphone gain.")
1644 Q_PROPERTY(unsigned int micGain READ micGain WRITE setMicGain)
1645
1646 Q_PROPERTY(unsigned int squelch READ squelch WRITE setSquelch)
1647
1648 Q_PROPERTY(unsigned int txNoiseReduction READ txNoiseReduction WRITE setTxNoiseReduction)
1649
1650 Q_PROPERTY(unsigned int voxLevel READ voxLevel WRITE setVoxLevel)
1651 Q_PROPERTY(Interval voxDelay READ voxDelay WRITE setVoxDelay)
1652
1653 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyAShort READ funcKeyAShort WRITE setFuncKeyAShort)
1654 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBShort READ funcKeyBShort WRITE setFuncKeyBShort)
1655 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCShort READ funcKeyCShort WRITE setFuncKeyCShort)
1656 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyALong READ funcKeyALong WRITE setFuncKeyALong)
1657 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBLong READ funcKeyBLong WRITE setFuncKeyBLong)
1658 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCLong READ funcKeyCLong WRITE setFuncKeyCLong)
1659 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyAVeryLong READ funcKeyAVeryLong WRITE setFuncKeyAVeryLong)
1660 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBVeryLong READ funcKeyBVeryLong WRITE setFuncKeyBVeryLong)
1661 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCVeryLong READ funcKeyCVeryLong WRITE setFuncKeyCVeryLong)
1662
1663 Q_PROPERTY(Interval backlight READ backlight WRITE setBacklight)
1664
1665public:
1667 explicit AnytoneBluetoothHandsetSettingsExtension(QObject *parent=nullptr);
1668
1669 ConfigItem *clone() const override;
1670
1672 bool shutdownEnabled() const;
1674 void enableShutdown(bool enable);
1675
1677 unsigned int volumeLevelA() const;
1679 void setVolumeLevelA(unsigned int level);
1681 unsigned int volumeLevelB() const;
1683 void setVolumeLevelB(unsigned int level);
1684
1686 unsigned int micGain() const;
1688 void setMicGain(unsigned int gain);
1689
1691 unsigned int squelch() const;
1693 void setSquelch(unsigned int level);
1694
1696 unsigned int txNoiseReduction() const;
1698 void setTxNoiseReduction(unsigned int level);
1699
1701 unsigned int voxLevel() const;
1703 void setVoxLevel(unsigned int level);
1704
1706 Interval voxDelay() const;
1708 void setVoxDelay(Interval delay);
1709
1711 AnytoneKeySettingsExtension::KeyFunction funcKeyAShort() const;
1715 AnytoneKeySettingsExtension::KeyFunction funcKeyBShort() const;
1719 AnytoneKeySettingsExtension::KeyFunction funcKeyCShort() const;
1723 AnytoneKeySettingsExtension::KeyFunction funcKeyALong() const;
1727 AnytoneKeySettingsExtension::KeyFunction funcKeyBLong() const;
1731 AnytoneKeySettingsExtension::KeyFunction funcKeyCLong() const;
1735 AnytoneKeySettingsExtension::KeyFunction funcKeyAVeryLong() const;
1739 AnytoneKeySettingsExtension::KeyFunction funcKeyBVeryLong() const;
1743 AnytoneKeySettingsExtension::KeyFunction funcKeyCVeryLong() const;
1746
1748 Interval backlight() const;
1750 void setBacklight(Interval dur);
1751
1752protected:
1754 unsigned int _volumeLevelA;
1755 unsigned int _volumeLevelB;
1756 unsigned int _micGain;
1757 unsigned int _squelch;
1758 unsigned int _txNoiseReduction;
1759 unsigned int _voxLevel;
1780};
1781
1782
1783
1789{
1790 Q_OBJECT
1791
1792 Q_CLASSINFO("Description", "Collects all bluetooth settings for AnyTone devices.")
1793
1794
1795 Q_PROPERTY(bool enabled READ bluetoothEnabled WRITE enableBluetooth)
1797 Q_PROPERTY(bool pttLatch READ pttLatch WRITE enablePTTLatch)
1805 Q_PROPERTY(unsigned int micGain READ micGain WRITE setMicGain);
1807 Q_PROPERTY(unsigned int speakerGain READ speakerGain WRITE setSpeakerGain);
1814
1815public:
1817 explicit AnytoneBluetoothSettingsExtension(QObject *parent=nullptr);
1818
1819 ConfigItem *clone() const;
1820
1823
1825 bool bluetoothEnabled() const;
1827 void enableBluetooth(bool enable);
1828
1830 bool pttLatch() const;
1832 void enablePTTLatch(bool enable);
1833
1835 Interval pttSleepTimer() const;
1837 void setPTTSleepTimer(Interval intv);
1838
1840 bool internalMicEnabled() const;
1842 void enableInternalMic(bool enable);
1843
1845 bool internalSpeakerEnabled() const;
1847 void enableInternalSpeaker(bool enable);
1848
1850 unsigned int micGain() const;
1852 void setMicGain(unsigned int gain);
1853
1855 unsigned int speakerGain() const;
1857 void setSpeakerGain(unsigned int gain);
1858
1860 const Interval &holdDuration() const;
1862 void setHoldDuration(const Interval &dur);
1863
1865 const Interval &holdDelay() const;
1867 void setHoldDelay(const Interval &dur);
1868
1869protected:
1877 unsigned int _micGain;
1878 unsigned int _speakerGain;
1881};
1882
1883
1884
1890{
1891 Q_OBJECT
1892
1893 Q_CLASSINFO("enabledDescription", "If true, the repeater feature is enabled.")
1895 Q_PROPERTY(bool enabled READ enabled WRITE enable)
1896
1897 Q_CLASSINFO("monitorDescription", "If true, the repeater-monitoring is enabled.")
1899 Q_PROPERTY(bool monitor READ monitorEnabled WRITE enableMonitor)
1900
1901 Q_CLASSINFO("timeSlotDescription", "Specifies the time-slot of the primary repeater channel.")
1903 Q_PROPERTY(TimeSlot timeSlot READ timeSlot WRITE setTimeSlot)
1904
1905 Q_CLASSINFO("secTimeSlotDescription", "Specifies the time-slot of the secondary repeater channel.")
1908
1909 Q_CLASSINFO("colorCodeDescription", "Specifies the repeater color code.")
1910 Q_PROPERTY(ColorCode colorCode READ colorCode WRITE setColorCode)
1911
1912public:
1914 enum class TimeSlot {
1915 Any, TS1, TS2, Channel
1916 };
1917 Q_ENUM(TimeSlot)
1918
1919
1920 enum class ColorCode {
1921 Ignored, VFOA, VFOB
1922 };
1923 Q_ENUM(ColorCode)
1924
1925public:
1927 explicit AnytoneRepeaterSettingsExtension(QObject *parent=nullptr);
1928
1929 ConfigItem *clone() const;
1930
1932 bool enabled() const;
1934 void enable(bool enable);
1935
1937 bool monitorEnabled() const;
1939 void enableMonitor(bool enable);
1940
1942 TimeSlot timeSlot() const;
1944 void setTimeSlot(TimeSlot ts);
1945
1947 TimeSlot secTimeSlot() const;
1949 void setSecTimeSlot(TimeSlot ts);
1950
1952 ColorCode colorCode() const;
1954 void setColorCode(ColorCode code);
1955
1956protected:
1962};
1963
1964
1965
1971{
1972 Q_OBJECT
1973
1974 Q_CLASSINFO("powerDescription", "Specifies the transmit power in satellite mode.")
1976 Q_PROPERTY(Channel::Power power READ power WRITE setPower)
1977
1978 Q_CLASSINFO("squelchDescription", "Specifies FM squelch level in satellite mode.")
1980 Q_PROPERTY(unsigned int squelch READ squelch WRITE setSquelch)
1981
1982public:
1984 explicit AnytoneSatelliteSettingsExtension(QObject *parent=nullptr);
1985
1986 ConfigItem *clone() const;
1987
1989 Channel::Power power() const;
1991 void setPower(Channel::Power power);
1992
1994 unsigned int squelch() const;
1996 void setSquelch(unsigned int squelch);
1997
1998protected:
2002 unsigned int _squelch;
2003};
2004
2005
2006
2014{
2015 Q_OBJECT
2016
2017 Q_CLASSINFO("description", "Device specific settings for AnyTone devices.")
2018
2019 Q_CLASSINFO("subChannelDescription", "Enables/disables the sub-channel.")
2022
2023 Q_CLASSINFO("selectedVFODecription", "Specifies the currently selected VFO (A or B).")
2026
2027 Q_CLASSINFO("modeADescription", "Specifies the mode (memory or VFO) for VFO A.")
2028 Q_CLASSINFO("modeBDescription", "Specifies the mode (memory or VFO) for VFO B.")
2030 Q_PROPERTY(VFOMode modeA READ modeA WRITE setModeA)
2032 Q_PROPERTY(VFOMode modeB READ modeB WRITE setModeB)
2033
2034 Q_CLASSINFO("zoneADescription", "Specifies the current zone for VFO A.")
2035 Q_CLASSINFO("zoneBDescription", "Specifies the current zone for VFO B.")
2037 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
2039 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
2040
2051
2052 Q_CLASSINFO("keepLastCallerDescription", "Keeps the last caller on channel switch")
2055
2056 Q_CLASSINFO("vfoStepDescription", "Specifies the VFO tuning steps in kHz.")
2058 Q_PROPERTY(Frequency vfoStep READ vfoStep WRITE setVFOStep)
2059
2060 Q_CLASSINFO("steTypeDescription", "Specifies the STE (squelch tail elimination) type.")
2061 Q_CLASSINFO("steTypeLongDescription", "Can also be used to disable the STE entirely.")
2063 Q_PROPERTY(STEType steType READ steType WRITE setSTEType)
2064
2065 Q_CLASSINFO("steFrequencyDescription", "Specifies the STE (squelch tail elimination) frequency in Hz.")
2067 Q_PROPERTY(double steFrequency READ steFrequency WRITE setSTEFrequency)
2068
2069 Q_CLASSINFO("steDurationDescription", "Specifies the duration of the STE (squelch tail elimination) tone.")
2070 Q_CLASSINFO("steDurationLongDescription", "Valid values are usually in the range between 10 and 1000ms.")
2073
2074 Q_CLASSINFO("tbstFrequencyDescription", "Specifies the TBST frequency in Hz.")
2075 Q_CLASSINFO("tbstFrequencyDescription", "Should be one of 1000, 1450, 1750 and 2100 Hz. "
2076 "D878UV(2), D578UV and DMR-6X2UV only.")
2079
2080 Q_CLASSINFO("proModeDescription", "Enables 'professional' mode. This limits the option reachable via the menu.")
2082 Q_PROPERTY(bool proMode READ proModeEnabled WRITE enableProMode)
2083
2085 Q_PROPERTY(bool maintainCallChannel READ maintainCallChannelEnabled WRITE enableMaintainCallChannel)
2086
2088 Q_PROPERTY(FanControl fan READ fan WRITE setFan);
2089
2114
2115 Q_CLASSINFO("simplexRepeaterSettingsDescription",
2116 "Configuration for the DMR-6X2UV simplex-repeater feature.")
2119
2120 Q_CLASSINFO("satelliteSettingsDescription",
2121 "Some settings of for satellite mode.")
2122 Q_PROPERTY(AnytoneSatelliteSettingsExtension * satelliteSettings READ satelliteSettings)
2123
2124public:
2126 enum class VFOScanType {
2127 Time = 0, Carrier = 1, Stop = 2
2128 };
2129 Q_ENUM(VFOScanType)
2130
2131
2132 enum class VFOMode {
2133 Memory = 0, VFO = 1
2134 };
2135 Q_ENUM(VFOMode)
2136
2137
2138 enum class VFO {
2139 A = 0, B = 1
2140 };
2141 Q_ENUM(VFO)
2142
2143
2144 enum class STEType {
2145 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
2146 };
2147 Q_ENUM(STEType)
2148
2149 enum class FanControl {
2150 PTT, Temperature, Both
2151 };
2152 Q_ENUM(FanControl)
2153
2154
2155public:
2157 Q_INVOKABLE explicit AnytoneSettingsExtension(QObject *parent=nullptr);
2158
2159 ConfigItem *clone() const;
2160
2162 AnytoneBootSettingsExtension *bootSettings() const;
2164 AnytonePowerSaveSettingsExtension *powerSaveSettings() const;
2166 AnytoneKeySettingsExtension *keySettings() const;
2168 AnytoneToneSettingsExtension *toneSettings() const;
2170 AnytoneDisplaySettingsExtension *displaySettings() const;
2172 AnytoneAudioSettingsExtension *audioSettings() const;
2174 AnytoneMenuSettingsExtension *menuSettings() const;
2176 AnytoneAutoRepeaterSettingsExtension *autoRepeaterSettings() const;
2178 AnytoneDMRSettingsExtension *dmrSettings() const;
2180 AnytoneGPSSettingsExtension *gpsSettings() const;
2182 AnytoneRoamingSettingsExtension *roamingSettings() const;
2184 AnytoneBluetoothSettingsExtension *bluetoothSettings() const;
2186 AnytoneRepeaterSettingsExtension *repeaterSettings() const;
2188 AnytoneSatelliteSettingsExtension *satelliteSettings() const;
2189
2191 VFOScanType vfoScanType() const;
2193 void setVFOScanType(VFOScanType type);
2194
2196 VFOMode modeA() const;
2198 void setModeA(VFOMode mode);
2200 VFOMode modeB() const;
2202 void setModeB(VFOMode mode);
2203
2207 const ZoneReference *zoneA() const;
2211 const ZoneReference *zoneB() const;
2212
2214 VFO selectedVFO() const;
2216 void setSelectedVFO(VFO vfo);
2217
2219 bool subChannelEnabled() const;
2221 void enableSubChannel(bool enable);
2222
2231
2240
2242 bool keepLastCallerEnabled() const;
2244 void enableKeepLastCaller(bool enable);
2245
2247 Frequency vfoStep() const;
2249 void setVFOStep(Frequency step);
2250
2252 STEType steType() const;
2254 void setSTEType(STEType type);
2257 double steFrequency() const;
2260 void setSTEFrequency(double freq);
2262 Interval steDuration() const;
2264 void setSTEDuration(Interval intv);
2265
2267 Frequency tbstFrequency() const;
2269 void setTBSTFrequency(Frequency Hz);
2270
2272 bool proModeEnabled() const;
2274 void enableProMode(bool enable);
2275
2277 bool maintainCallChannelEnabled() const;
2279 void enableMaintainCallChannel(bool enable);
2280
2282 FanControl fan() const;
2284 void setFan(FanControl ctlr);
2285
2287 //Channel::Power satPower();
2288
2289protected:
2318
2338 FanControl _fan;
2339};
2340
2341
2342
2343#endif // ANYTONE_SETTINGSEXTENSION_H
Implements the audio settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:885
HandsetSpeakerSource handsetSpeaker
The source for the handset speaker.
Definition anytone_settingsextension.hh:913
bool _recording
Recording enabled.
Definition anytone_settingsextension.hh:1008
Level fmMicGain
The FM mic gain [1,10].
Definition anytone_settingsextension.hh:908
void setHandsetType(HandsetType type)
Sets the handset type.
Definition anytone_settingsextension.cc:2051
void enableRecording(bool enable)
Enables/disables recording.
Definition anytone_settingsextension.cc:1930
void enableEnhanceAudio(bool enable)
Enables/disables enhanced audio.
Definition anytone_settingsextension.cc:1977
Interval muteDelay
The mute delay in minutes.
Definition anytone_settingsextension.hh:900
bool enhance
If true, the audio is "enhanced".
Definition anytone_settingsextension.hh:897
AnytoneAudioSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1894
Interval voxDelay
The VOX delay in ms.
Definition anytone_settingsextension.hh:889
bool recording
If true, recording is enabled.
Definition anytone_settingsextension.hh:894
unsigned int maxHeadPhoneVolume
The maximum head-phone volume setting [0-10].
Definition anytone_settingsextension.hh:905
HandsetType handsetType
The handset type.
Definition anytone_settingsextension.hh:915
Interval _voxDelay
VOX delay in ms.
Definition anytone_settingsextension.hh:1007
Speaker speaker
The enables speakers.
Definition anytone_settingsextension.hh:911
VoxSource
Source for the VOX.
Definition anytone_settingsextension.hh:919
HandsetSpeakerSource
Possible handset speaker sources.
Definition anytone_settingsextension.hh:931
HandsetType _handsetType
Handset type.
Definition anytone_settingsextension.hh:1017
unsigned int maxVolume
The maximum volume setting [0-10].
Definition anytone_settingsextension.hh:903
void setHandsetSpeaker(HandsetSpeakerSource src)
Sets the handset speaker source.
Definition anytone_settingsextension.cc:2037
bool _enhanceAudio
Enhance audio.
Definition anytone_settingsextension.hh:1012
void setVOXDelay(Interval ms)
Sets the VOX delay in ms.
Definition anytone_settingsextension.cc:1918
void setVOXSource(VoxSource source)
Sets the VOX source.
Definition anytone_settingsextension.cc:1942
bool recordingEnabled() const
Returns true if recording is enabled.
Definition anytone_settingsextension.cc:1926
HandsetType
Specifies possible handset types.
Definition anytone_settingsextension.hh:937
VoxSource voxSource
The VOX source.
Definition anytone_settingsextension.hh:891
Level _analogMicGain
The FM mic gain.
Definition anytone_settingsextension.hh:1014
void setMaxHeadPhoneVolume(unsigned int vol)
Sets the maximum head-phone volume.
Definition anytone_settingsextension.cc:1965
unsigned int _maxVolume
The maximum volume.
Definition anytone_settingsextension.hh:1010
HandsetSpeakerSource _handsetSpeaker
Specifies the handset speaker source.
Definition anytone_settingsextension.hh:1016
bool enhanceAudioEnabled() const
Returns true if the audio is "enhanced".
Definition anytone_settingsextension.cc:1973
void setSpeaker(Speaker speaker)
Sets, which speacker are enabled.
Definition anytone_settingsextension.cc:2023
void setMuteDelay(Interval intv)
Sets the mute delay.
Definition anytone_settingsextension.cc:1989
Interval _muteDelay
Mute delay in minutes.
Definition anytone_settingsextension.hh:1013
unsigned int _maxHeadPhoneVolume
The maximum head-phone volume.
Definition anytone_settingsextension.hh:1011
void setFMMicGain(Level gain)
Sets the FM mic gain.
Definition anytone_settingsextension.cc:2005
VoxSource _voxSource
The VOX source.
Definition anytone_settingsextension.hh:1009
Speaker
Possible speaker settings.
Definition anytone_settingsextension.hh:925
void setMaxVolume(unsigned int vol)
Sets the maximum volume.
Definition anytone_settingsextension.cc:1954
Speaker _speaker
Specifies which speaker are enabled.
Definition anytone_settingsextension.hh:1015
Represents a list of auto-repeater offsets.
Definition anytone_settingsextension.hh:1106
ConfigItem * allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err)
Allocates a member objects for the given YAML node.
Definition anytone_settingsextension.cc:2303
AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:2320
Represents a reference to a repeater offset.
Definition anytone_settingsextension.hh:1094
AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2311
Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2274
separatelyFrequency offset
The offset frequency.
Definition anytone_settingsextension.hh:1072
Frequency _offset
The transmit frequency offset in Hz.
Definition anytone_settingsextension.hh:1087
void setOffset(Frequency offset)
Sets the transmit frequency offset in Hz.
Definition anytone_settingsextension.cc:2295
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2281
Implements the auto-repeater settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1122
Direction directionA
Specifies the auto-repeater transmit-frequency offset direction for VFO A.
Definition anytone_settingsextension.hh:1128
Frequency uhfMin
The minimum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1144
AnytoneAutoRepeaterOffsetRef * uhf
A reference to the auto-repeater frequency for UHF.
Definition anytone_settingsextension.hh:1156
AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2107
Frequency _minUHF2
Minimum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1279
AnytoneAutoRepeaterOffsetRef * vhf2
A reference to the auto-repeater frequency for the second VHF band.
Definition anytone_settingsextension.hh:1176
void setVHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:2171
AnytoneAutoRepeaterOffsetRef * uhfRef() const
Returns the reference for the UHF offset freuqency.
Definition anytone_settingsextension.cc:2206
void setUHF2Min(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the second UHF band.
Definition anytone_settingsextension.cc:2237
AnytoneAutoRepeaterOffsetRef * vhf
A reference to the auto-repeater frequency for VHF.
Definition anytone_settingsextension.hh:1152
AnytoneAutoRepeaterOffsetRef * uhf2
A reference to the auto-repeater frequency for the second UHF band.
Definition anytone_settingsextension.hh:1180
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1281
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1265
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_settingsextension.hh:1259
AnytoneAutoRepeaterOffsetList * offsets
The repeater transmit offset frequencies.
Definition anytone_settingsextension.hh:1184
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1263
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_settingsextension.hh:1285
Frequency vhf2Max
The maximum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1164
void setVHF2Min(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the second VHF band.
Definition anytone_settingsextension.cc:2215
Direction directionB
Specifies the auto-repeater transmit-frequency offset direction for VFO B.
Definition anytone_settingsextension.hh:1132
void setVHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:2160
AnytoneAutoRepeaterOffsetRef * vhfRef() const
Returns the reference for the VHF offset freuqency.
Definition anytone_settingsextension.cc:2201
Direction _directionB
The auto-repeater direction for VFO B.
Definition anytone_settingsextension.hh:1261
void setVHF2Max(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the second VHF band.
Definition anytone_settingsextension.cc:2226
void setUHF2Max(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the second UHF band.
Definition anytone_settingsextension.cc:2248
void setDirectionB(Direction dir)
Set the auto-repeater offset direction for VFO V.
Definition anytone_settingsextension.cc:2148
Frequency uhfMax
The maximum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1148
AnytoneAutoRepeaterOffsetRef * vhf2Ref() const
Returns the reference for the second VHF offset freuqency.
Definition anytone_settingsextension.cc:2256
Direction
Encodes the auto-repeater offset sign.
Definition anytone_settingsextension.hh:1188
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_settingsextension.hh:1271
void setDirectionA(Direction dir)
Set the auto-repeater offset direction for VFO A.
Definition anytone_settingsextension.cc:2137
Frequency _maxVHF2
Maximum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1277
void setUHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:2182
AnytoneAutoRepeaterOffsetRef * uhf2Ref() const
Returns the reference for the second UHF offset freuqency.
Definition anytone_settingsextension.cc:2261
AnytoneAutoRepeaterOffsetRef * _uhfOffset
A reference to the UHF offset frequency.
Definition anytone_settingsextension.hh:1273
Frequency vhf2Min
The minimum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1160
Frequency uhf2Min
The minimum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1168
void setUHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:2193
Frequency vhfMin
The minimum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1136
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1267
Frequency uhf2Max
The maximum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1172
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_settingsextension.hh:1287
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1269
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1275
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_settingsextension.hh:1283
Frequency vhfMax
The maximum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1140
Implements the bluetooth handset settings for AnyTone devices.
Definition anytone_settingsextension.hh:1630
void setVoxDelay(Interval delay)
Sets the VOX delay.
Definition anytone_settingsextension.cc:2470
void setFuncKeyALong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A long press function.
Definition anytone_settingsextension.cc:2523
AnytoneKeySettingsExtension::KeyFunction _funcKeyBLong
Function key B long press function.
Definition anytone_settingsextension.hh:1770
void setMicGain(unsigned int gain)
Sets the mic gain.
Definition anytone_settingsextension.cc:2410
ConfigItem * clone() const override
Clones this item.
Definition anytone_settingsextension.cc:2350
unsigned int _voxLevel
Specifies the VOX level.
Definition anytone_settingsextension.hh:1759
unsigned int _volumeLevelB
Specifies the volume level for VFO B.
Definition anytone_settingsextension.hh:1755
void setVolumeLevelB(unsigned int level)
Sets the volume level for VFO B.
Definition anytone_settingsextension.cc:2395
AnytoneKeySettingsExtension::KeyFunction _funcKeyCLong
Function key B long press function.
Definition anytone_settingsextension.hh:1772
unsigned int _volumeLevelA
Specifies the volume level for VFO A.
Definition anytone_settingsextension.hh:1754
void setFuncKeyCVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C very long press function.
Definition anytone_settingsextension.cc:2588
void setBacklight(Interval dur)
Sets the backlight duration.
Definition anytone_settingsextension.cc:2601
void setFuncKeyAVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A very long press function.
Definition anytone_settingsextension.cc:2562
unsigned int _txNoiseReduction
Specifies the transmit noise reduction level.
Definition anytone_settingsextension.hh:1758
unsigned int _squelch
Specifies the squelch level.
Definition anytone_settingsextension.hh:1757
void setTxNoiseReduction(unsigned int level)
Sets the transmit noise reduction level.
Definition anytone_settingsextension.cc:2440
void setFuncKeyCShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C short press function.
Definition anytone_settingsextension.cc:2510
AnytoneKeySettingsExtension::KeyFunction _funcKeyCShort
Function key B short press function.
Definition anytone_settingsextension.hh:1766
void setFuncKeyAShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A short press function.
Definition anytone_settingsextension.cc:2484
bool shutdownEnabled() const
Returns true, if the handset is shutdown along with the radio.
Definition anytone_settingsextension.cc:2361
void setFuncKeyBLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B long press function.
Definition anytone_settingsextension.cc:2536
bool _shutdown
Shut the handset down along with the radio.
Definition anytone_settingsextension.hh:1753
AnytoneKeySettingsExtension::KeyFunction _funcKeyALong
Function key A long press function.
Definition anytone_settingsextension.hh:1768
Interval _voxDelay
Specifies the VOX delay.
Definition anytone_settingsextension.hh:1760
void enableShutdown(bool enable)
Enables/disables shutting the handset down along with the radio.
Definition anytone_settingsextension.cc:2366
AnytoneKeySettingsExtension::KeyFunction _funcKeyAShort
Function key A short press function.
Definition anytone_settingsextension.hh:1762
void setVoxLevel(unsigned int level)
Set the VOX level.
Definition anytone_settingsextension.cc:2455
void setVolumeLevelA(unsigned int level)
Sets the volume level for VFO A.
Definition anytone_settingsextension.cc:2380
void setFuncKeyBVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B very long press function.
Definition anytone_settingsextension.cc:2575
AnytoneKeySettingsExtension::KeyFunction _funcKeyBShort
Function key B short press function.
Definition anytone_settingsextension.hh:1764
AnytoneKeySettingsExtension::KeyFunction _funcKeyBVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1776
void setFuncKeyCLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C long press function.
Definition anytone_settingsextension.cc:2549
AnytoneKeySettingsExtension::KeyFunction _funcKeyCVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1778
Interval _backlight
Backlight duration.
Definition anytone_settingsextension.hh:1779
void setFuncKeyBShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B short press function.
Definition anytone_settingsextension.cc:2497
AnytoneBluetoothHandsetSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2331
unsigned int _micGain
Specifies the mic gain.
Definition anytone_settingsextension.hh:1756
AnytoneKeySettingsExtension::KeyFunction _funcKeyAVeryLong
Function key A very long press function.
Definition anytone_settingsextension.hh:1774
void setSquelch(unsigned int level)
Sets the squelch level.
Definition anytone_settingsextension.cc:2425
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_settingsextension.hh:1789
Interval _pttSleep
PTT sleep timer, 0 is off.
Definition anytone_settingsextension.hh:1874
unsigned int micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1805
void setPTTSleepTimer(Interval intv)
Sets the PTT sleep timeout, 0 means off.
Definition anytone_settingsextension.cc:2669
Interval _holdDelay
What ever.
Definition anytone_settingsextension.hh:1880
bool enabled
If true, bluetooth is enabled.
Definition anytone_settingsextension.hh:1795
AnytoneBluetoothSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2613
bool internalSpeaker
If true, the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.hh:1803
bool _pttLatch
PTT latch flag.
Definition anytone_settingsextension.hh:1873
unsigned int speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1807
void setMicGain(unsigned int gain)
Sets the bluetooth mic gain.
Definition anytone_settingsextension.cc:2708
Interval holdDelay
The bluetooth hold delay.
Definition anytone_settingsextension.hh:1811
bool _internalMic
Additionally enables internal mic.
Definition anytone_settingsextension.hh:1875
bool internalMicEnabled() const
Returns true if the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2677
void enableInternalMic(bool enable)
Enables/disables internal mic additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2682
void setSpeakerGain(unsigned int gain)
Sets the bluetooth speaker gain.
Definition anytone_settingsextension.cc:2721
bool _bluetoothEnabled
Enables bluetooth.
Definition anytone_settingsextension.hh:1872
void enableInternalSpeaker(bool enable)
Enables/disables internal speaker additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2695
const Interval & holdDuration() const
Returns the bluetooth hold duration.
Definition anytone_settingsextension.cc:2729
void enablePTTLatch(bool enable)
Enables/disables the PTT latch.
Definition anytone_settingsextension.cc:2639
void enableBluetooth(bool enable)
Enables/disables bluetooth.
Definition anytone_settingsextension.cc:2657
AnytoneBluetoothHandsetSettingsExtension * _handset
Handset settings.
Definition anytone_settingsextension.hh:1871
unsigned int _speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1878
unsigned int _micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1877
Interval hold
The bluetooth hold duration.
Definition anytone_settingsextension.hh:1809
bool internalSpeakerEnabled() const
Returns true if the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2690
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2625
AnytoneBluetoothHandsetSettingsExtension * handset
The handset settings.
Definition anytone_settingsextension.hh:1813
Interval _holdDuration
What ever.
Definition anytone_settingsextension.hh:1879
bool pttLatch
If true, the PTT latch is enabled.
Definition anytone_settingsextension.hh:1797
void setHoldDelay(const Interval &dur)
Sets the bluetooth hold delay.
Definition anytone_settingsextension.cc:2747
bool _internalSpeaker
Additionally enables internal speaker.
Definition anytone_settingsextension.hh:1876
void setHoldDuration(const Interval &dur)
Sets the bluetooth hold duration.
Definition anytone_settingsextension.cc:2734
Interval pttSleepTimer
The sleep timeout of the PTT button.
Definition anytone_settingsextension.hh:1799
bool internalMic
If true, the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.hh:1801
bool bluetoothEnabled() const
Returns true if bluetooth is enabled.
Definition anytone_settingsextension.cc:2652
Implements the boot settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:20
void enableBootPassword(bool enable)
Enables the boot password.
Definition anytone_settingsextension.cc:814
bool resetEnabled() const
Returns true if the MCU is reset on boot.
Definition anytone_settingsextension.cc:884
bool _reset
Enables MCU reset on boot.
Definition anytone_settingsextension.hh:120
bool defaultChannel
If enabled, the default channels are selected at boot.
Definition anytone_settingsextension.hh:32
ChannelReference * channelA
The default channel for VFO A.
Definition anytone_settingsextension.hh:38
ChannelReference * _channelB
Default channel for VFO B, must be member of zone for VFO B.
Definition anytone_settingsextension.hh:116
ZoneReference * priorityZoneB
The priority zone for VFO B.
Definition anytone_settingsextension.hh:48
bool _bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_settingsextension.hh:110
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:41
BootDisplay _bootDisplay
The boot display property.
Definition anytone_settingsextension.hh:109
AnytoneBootSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:777
void enableReset(bool enable)
Enables/disables MCU reset on boot.
Definition anytone_settingsextension.cc:888
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:788
ZoneReference * _priorityZoneA
Priority zone for VFO A.
Definition anytone_settingsextension.hh:117
bool _defaultChannel
Change to the default channel on boot.
Definition anytone_settingsextension.hh:112
QString bootPassword
Holds the boot password.
Definition anytone_settingsextension.hh:28
void enableDefaultChannel(bool enable)
Enables/disables boot default channel.
Definition anytone_settingsextension.cc:838
bool bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_settingsextension.hh:26
bool gpsCheckEnabled() const
Returns true if the GPS check is enabled.
Definition anytone_settingsextension.cc:872
bool _gpsCheck
Enables GPS check.
Definition anytone_settingsextension.hh:119
ZoneReference * _zoneA
Default zone for VFO A.
Definition anytone_settingsextension.hh:113
ChannelReference * channelB
The default channel for VFO B.
Definition anytone_settingsextension.hh:44
ZoneReference * zoneA
The default zone for VFO A.
Definition anytone_settingsextension.hh:35
ZoneReference * _priorityZoneB
Priority zone for VFO B.
Definition anytone_settingsextension.hh:118
void enableGPSCheck(bool enable)
Enables/disables the GPS check.
Definition anytone_settingsextension.cc:876
bool defaultChannelEnabled() const
If true, the radio switches to the default channel at boot.
Definition anytone_settingsextension.cc:834
BootDisplay
What to display during boot.
Definition anytone_settingsextension.hh:57
void setBootDisplay(BootDisplay mode)
Sets the boot display.
Definition anytone_settingsextension.cc:802
bool reset
Enables the MCU reset on boot.
Definition anytone_settingsextension.hh:53
BootDisplay bootDisplay
The boot display setting.
Definition anytone_settingsextension.hh:24
void setBootPassword(const QString &pass)
Sets the boot password.
Definition anytone_settingsextension.cc:826
bool gpsCheck
Enables the GPS check.
Definition anytone_settingsextension.hh:51
ZoneReference * _zoneB
Default zone for VFO B.
Definition anytone_settingsextension.hh:115
ChannelReference * _channelA
Default channel for VFO A, must be member of zone for VFO A.
Definition anytone_settingsextension.hh:114
QString _bootPassword
The boot password.
Definition anytone_settingsextension.hh:111
ZoneReference * priorityZoneA
The priority zone for VFO A.
Definition anytone_settingsextension.hh:46
Implements the DMR settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1296
void enableMonitorColorCodeMatch(bool enable)
Enables/disables the CC match for the DMR monitor.
Definition anytone_settingsextension.cc:98
TalkerAliasSource talkerAliasSource() const
Returns the talker alias source.
Definition anytone_settingsextension.cc:131
bool monitorTimeSlotHoldEnabled() const
Returns true if the time-slot is held by the DMR monitor.
Definition anytone_settingsextension.cc:118
bool _monitorColorCodeMatch
Enables CC match for DMR monitor.
Definition anytone_settingsextension.hh:1413
void enableMonitorIDMatch(bool enable)
Enables/disables ID match for the DMR monitor.
Definition anytone_settingsextension.cc:110
Interval wakeHeadPeriod
Wake head-period in ms.
Definition anytone_settingsextension.hh:1306
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_settingsextension.hh:1414
void setManualGroupCallHangTime(Interval sec)
Sets the manual dialed group-call hang-time in seconds.
Definition anytone_settingsextension.cc:36
void setTalkerAliasSource(TalkerAliasSource mode)
Sets the talker alias source.
Definition anytone_settingsextension.cc:135
Interval manualPrivateCallHangTime
Manual dialed private-call hang-time in seconds.
Definition anytone_settingsextension.hh:1302
SlotMatch monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1314
EncryptionType _encryption
DMR encryption type.
Definition anytone_settingsextension.hh:1417
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.hh:1415
Interval _manualGroupCallHangTime
Hang-time for manual dialed group-calls in seconds.
Definition anytone_settingsextension.hh:1408
void enableMonitorTimeSlotHold(bool enable)
Enables/disables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.cc:122
bool filterOwnIDEnabled() const
If true, the own ID is not shown in call lists.
Definition anytone_settingsextension.cc:70
bool _filterOwnID
If enabled, the own ID is not shown in call lists.
Definition anytone_settingsextension.hh:1411
AnytoneDMRSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:9
void enableFilterOwnID(bool enable)
Enables/disables filtering of own ID.
Definition anytone_settingsextension.cc:74
void setManualPrivateCallHangTime(Interval sec)
Sets the manual dialed private-call hang-time in seconds.
Definition anytone_settingsextension.cc:49
bool monitorColorCodeMatchEnabled() const
Returns true if the CC match is enabled for the DMR monitor.
Definition anytone_settingsextension.cc:94
Interval manualGroupCallHangTime
Manual dialed group-call hang-time in seconds.
Definition anytone_settingsextension.hh:1300
bool filterOwnID
Filter own ID from call lists.
Definition anytone_settingsextension.hh:1310
void setEncryption(EncryptionType type)
Sets the encryption type.
Definition anytone_settingsextension.cc:148
void setMonitorSlotMatch(SlotMatch match)
Sets the slot-match mode for the DMR monitor.
Definition anytone_settingsextension.cc:86
EncryptionType encryption() const
Returns the encryption type.
Definition anytone_settingsextension.cc:144
SlotMatch _monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1412
void setWakeHeadPeriod(Interval ms)
Sets the wake head-period in ms.
Definition anytone_settingsextension.cc:62
bool monitorIDMatchEnabled() const
Returns true if the ID match is enabled for the DMR monitor.
Definition anytone_settingsextension.cc:106
Interval _wakeHeadPeriod
Wake head-period in ms, should be 100ms.
Definition anytone_settingsextension.hh:1410
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_settingsextension.hh:1416
Interval _manualPrivateCallHangTime
Hang-time for manual dialed private-calls in seconds.
Definition anytone_settingsextension.hh:1409
Implements the display settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:613
Language language() const
Returns the UI language.
Definition anytone_settingsextension.cc:1657
bool showCallEnabled() const
Returns true if the call is shown.
Definition anytone_settingsextension.cc:1633
void setZoneBNameColor(Color color)
Sets the zone name color for VFO B.
Definition anytone_settingsextension.cc:1858
void setDateFormat(DateFormat format)
Sets the date format.
Definition anytone_settingsextension.cc:1673
void setChannelNameColor(Color color)
Sets the color of the channel name.
Definition anytone_settingsextension.cc:1822
void enableShowGlobalChannelNumber(bool enable)
Enables/disables showing the global channel number.
Definition anytone_settingsextension.cc:1697
bool showChannelType() const
Returns true if the channel type is shown.
Definition anytone_settingsextension.cc:1729
Color _zoneNameColor
Color of zone name.
Definition anytone_settingsextension.hh:875
bool showLastHeardEnabled() const
Shows the last caller.
Definition anytone_settingsextension.cc:1753
bool _callEndPrompt
Call-end prompt enabled.
Definition anytone_settingsextension.hh:853
bool _showLastHeard
Shows the last caller.
Definition anytone_settingsextension.hh:868
bool _showTimeSlot
Show time slot.
Definition anytone_settingsextension.hh:863
LastCallerDisplayMode _lastCallerDisplay
Last-caller display mode.
Definition anytone_settingsextension.hh:854
bool _showColorCode
Show color code.
Definition anytone_settingsextension.hh:862
bool _showContact
Enables showing the contact.
Definition anytone_settingsextension.hh:865
void enableCallEndPrompt(bool enable)
Enables/disables the call-end prompt.
Definition anytone_settingsextension.cc:1601
bool displayFrequencyEnabled() const
Returns true, if the frequency is displayed instead of the channel name.
Definition anytone_settingsextension.cc:1573
Color _callColor
Color of call.
Definition anytone_settingsextension.hh:857
void enableDisplayFrequency(bool enable)
Enables/disables display of frequency.
Definition anytone_settingsextension.cc:1577
bool showGlobalChannelNumber() const
Returns true, if the global channel number is shown.
Definition anytone_settingsextension.cc:1693
bool showTimeSlot() const
Returns true if the time slot is shown.
Definition anytone_settingsextension.cc:1717
void setStandbyTextColor(Color color)
Sets the standby text color.
Definition anytone_settingsextension.cc:1769
bool _customChannelBackground
Custom channel background enabled.
Definition anytone_settingsextension.hh:872
AnytoneDisplaySettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:1534
bool showClockEnabled() const
Returns true if the clock is shown.
Definition anytone_settingsextension.cc:1621
void enableShowTimeSlot(bool enable)
Shows/hides time slot.
Definition anytone_settingsextension.cc:1721
void enableShowColorCode(bool enable)
Shows/hides color code.
Definition anytone_settingsextension.cc:1709
unsigned int brightness
The display brightness [1-10].
Definition anytone_settingsextension.hh:619
Color _channelNameColor
Color of channel name.
Definition anytone_settingsextension.hh:873
bool customChannelBackground() const
Returns true if the custom channel background is enabled.
Definition anytone_settingsextension.cc:1878
Color callColor() const
Returns the color of the call.
Definition anytone_settingsextension.cc:1645
void setLastCallerDisplay(LastCallerDisplayMode mode)
Sets the last caller display mode.
Definition anytone_settingsextension.cc:1613
void enableShowChannelNumber(bool enable)
Enables/disables the display of the channel number.
Definition anytone_settingsextension.cc:1685
unsigned int _brightness
The display brightness.
Definition anytone_settingsextension.hh:851
Color _zoneBNameColor
Color of zone name for VFO B.
Definition anytone_settingsextension.hh:876
Color zoneNameColor() const
Returns the color of the zone name.
Definition anytone_settingsextension.cc:1842
Color _standbyBackgroundColor
Standby background color.
Definition anytone_settingsextension.hh:867
void setStandbyBackgroundColor(Color color)
Sets the standby background color.
Definition anytone_settingsextension.cc:1781
bool callEndPromptEnabled() const
Returns true if the call-end prompt is shown.
Definition anytone_settingsextension.cc:1597
Interval _backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:869
void enableShowChannelType(bool enable)
Shows/hides channel type.
Definition anytone_settingsextension.cc:1733
bool displayFrequency
The display frequency setting.
Definition anytone_settingsextension.hh:617
bool showColorCode() const
Returns true if the color code is shown.
Definition anytone_settingsextension.cc:1705
Color _standbyTextColor
Standby text color.
Definition anytone_settingsextension.hh:866
bool _volumeChangePrompt
Volume-change prompt enabled.
Definition anytone_settingsextension.hh:852
bool _showChannelNumber
Show channel number.
Definition anytone_settingsextension.hh:860
Interval _backlightDurationTX
Backlight duration during TX (0=off).
Definition anytone_settingsextension.hh:870
bool _showGlobalChannelNumber
Show global channel number.
Definition anytone_settingsextension.hh:861
void setBacklightDuration(Interval sec)
Sets the backlight duration in seconds.
Definition anytone_settingsextension.cc:1795
Color channelNameColor() const
Returns the color of the channel name.
Definition anytone_settingsextension.cc:1818
void setBacklightDurationTX(Interval sec)
Sets the backlight duration during TX in seconds.
Definition anytone_settingsextension.cc:1809
bool showChannelNumberEnabled() const
Returns true if the channel number is shown.
Definition anytone_settingsextension.cc:1681
void enableShowLastHeard(bool enable)
Enables/disables display of last caller.
Definition anytone_settingsextension.cc:1757
DateFormat dateFormat() const
Returns the date format.
Definition anytone_settingsextension.cc:1669
bool _showClock
Display clock.
Definition anytone_settingsextension.hh:855
bool _showCall
Display call.
Definition anytone_settingsextension.hh:856
Interval backlightDurationTX() const
Returns backlight duration during TX.
Definition anytone_settingsextension.cc:1804
bool _displayFrequency
Display frequency property.
Definition anytone_settingsextension.hh:850
bool volumeChangePromptEnabled() const
Returns true if the volume-change prompt is shown.
Definition anytone_settingsextension.cc:1585
void setBacklightDurationRX(Interval sec)
Sets the backlight duration during RX in seconds.
Definition anytone_settingsextension.cc:1870
void enableCustomChannelBackground(bool enable)
Enables/disables the custom channel background.
Definition anytone_settingsextension.cc:1882
void setCallColor(Color color)
Sets the color of the call.
Definition anytone_settingsextension.cc:1649
bool showContact() const
Returns true if the contact is shown.
Definition anytone_settingsextension.cc:1741
void enableShowCall(bool enable)
Enables/disables display of call.
Definition anytone_settingsextension.cc:1637
void enableShowClock(bool enable)
Enables/disables clock.
Definition anytone_settingsextension.cc:1625
void setZoneNameColor(Color color)
Sets the color of the zone name.
Definition anytone_settingsextension.cc:1846
Color standbyTextColor() const
Returns the standby text color.
Definition anytone_settingsextension.cc:1765
Language _language
UI language.
Definition anytone_settingsextension.hh:858
void setLanguage(Language lang)
Sets the UI language.
Definition anytone_settingsextension.cc:1661
void setChannelBNameColor(Color color)
Sets the channel name color for VFO B.
Definition anytone_settingsextension.cc:1834
Color zoneBNameColor() const
Returns the color of the zone name for VFO B.
Definition anytone_settingsextension.cc:1854
Interval backlightDurationRX() const
Returns backlight duration during RX.
Definition anytone_settingsextension.cc:1866
void setBrightness(unsigned int level)
Sets the display brightness [1-10].
Definition anytone_settingsextension.cc:1565
LastCallerDisplayMode lastCallerDisplay() const
Returns the last caller display mode.
Definition anytone_settingsextension.cc:1609
DateFormat _dateFormat
The date format.
Definition anytone_settingsextension.hh:859
Color channelBNameColor() const
Returns the color of the channel name for VFO B.
Definition anytone_settingsextension.cc:1830
Interval backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:623
bool _showChannelType
Show channel type.
Definition anytone_settingsextension.hh:864
void enableVolumeChangePrompt(bool enable)
Enables/disables the volume-change prompt.
Definition anytone_settingsextension.cc:1589
Color standbyBackgroundColor() const
Returns the standby background color.
Definition anytone_settingsextension.cc:1777
Interval _backlightDurationRX
Backlight duration during RX.
Definition anytone_settingsextension.hh:871
void enableShowContact(bool enable)
Enables/disables the display of calling contact.
Definition anytone_settingsextension.cc:1745
Color _channelBNameColor
Color of channel name for VFO B.
Definition anytone_settingsextension.hh:874
Implements the GPS settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1426
Interval updatePeriod
GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1439
QString timeZone
The time-zone IANA Id.
Definition anytone_settingsextension.hh:1431
void enablePositionReporting(bool enable)
Enables/disables the GPS range reporting.
Definition anytone_settingsextension.cc:207
bool _gpsRangeReporting
Enables GPS range reporting.
Definition anytone_settingsextension.hh:1468
AnytoneGPSSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:159
QString ianaTimeZone() const
Returns the IANA ID of the time zone.
Definition anytone_settingsextension.cc:183
void setIANATimeZone(const QString &id)
Sets the time zone by IANA ID.
Definition anytone_settingsextension.cc:196
bool reportPosition
Enables GPS range reporting.
Definition anytone_settingsextension.hh:1435
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:167
QTimeZone _timeZone
The time zone.
Definition anytone_settingsextension.hh:1467
Interval _gpsRangingInterval
The GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1469
void setUpdatePeriod(Interval sec)
Sets the GPS ranging interval in seconds.
Definition anytone_settingsextension.cc:221
bool positionReportingEnabled() const
Returns true if the GPS range reporting is enabled.
Definition anytone_settingsextension.cc:202
void setTimeZone(const QTimeZone &zone)
Sets the time zone.
Definition anytone_settingsextension.cc:188
Implements the key settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:193
KeyFunction _funcKey6Short
Function of the function key 6, short press.
Definition anytone_settingsextension.hh:433
KeyFunction _funcKey3Short
Function of the function key 3, short press.
Definition anytone_settingsextension.hh:427
void setFuncKeyBLong(KeyFunction func)
Sets the key function for a long press on the function key B.
Definition anytone_settingsextension.cc:1175
KeyFunction funcKey6Short
Function key 6 (P6 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:217
KeyFunction funcKeyCLong
Function key C (PF3 on top or B on mic), long press function.
Definition anytone_settingsextension.hh:231
void setFuncKeyCLong(KeyFunction func)
Sets the key function for a long press on the function key C.
Definition anytone_settingsextension.cc:1198
void setFuncKey5Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 5.
Definition anytone_settingsextension.cc:1095
void enableKeypadLock(bool enable)
Enables/disables the key-pad lock.
Definition anytone_settingsextension.cc:1311
KeyFunction _funcKey1Long
Function of the function key 1, long press.
Definition anytone_settingsextension.hh:424
bool sideKeysLockEnabled() const
Returns true if the side-keys gets locked too.
Definition anytone_settingsextension.cc:1318
bool autoKeyLock
The auto key-lock property.
Definition anytone_settingsextension.hh:247
KeyFunction _funcKeyAShort
Function of the function key A, short press.
Definition anytone_settingsextension.hh:435
void setFuncKey2Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 2.
Definition anytone_settingsextension.cc:1026
KeyFunction funcKey1Short
Function key 1 (P1 below or next to screen), short press function.
Definition anytone_settingsextension.hh:197
KeyFunction _funcKeyBShort
Function of the function key B, short press.
Definition anytone_settingsextension.hh:437
KeyFunction funcKey3Long
Function key 3 (P3 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:207
KeyFunction funcKey2Short
Function key 2 (P2 below or next to screen), short press function.
Definition anytone_settingsextension.hh:201
KeyFunction funcKey6Long
Function key 6 (P6 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:219
void enableKnobLock(bool enable)
Enables/disables the knob lock.
Definition anytone_settingsextension.cc:1300
bool _sideKeysLock
Side-keys are locked.
Definition anytone_settingsextension.hh:450
KeyFunction funcKey2Long
Function key 2 (P2 below or next to screen), long press function.
Definition anytone_settingsextension.hh:203
KeyFunction _funcKey5Long
Function of the function key 5, long press.
Definition anytone_settingsextension.hh:432
void setFuncKeyDLong(KeyFunction func)
Sets the key function for a long press on the function key D.
Definition anytone_settingsextension.cc:1221
KeyFunction funcKey1Long
Function key 1 (P1 below or next to screen), long press function.
Definition anytone_settingsextension.hh:199
KeyFunction _funcKey2Long
Function of the function key 2, long press.
Definition anytone_settingsextension.hh:426
KeyFunction funcKeyCShort
Function key C (PF3 on top or C on mic), short press function.
Definition anytone_settingsextension.hh:229
KeyFunction _funcKeyALong
Function of the function key A, long press.
Definition anytone_settingsextension.hh:436
KeyFunction _funcKey2Short
Function of the function key 2, short press.
Definition anytone_settingsextension.hh:425
KeyFunction
All possible key functions.
Definition anytone_settingsextension.hh:267
void setLongPressDuration(Interval ms)
Sets the long-press duration in ms.
Definition anytone_settingsextension.cc:1261
AnytoneKeySettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:968
void setFuncKey4Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 4.
Definition anytone_settingsextension.cc:1072
KeyFunction _funcKnobLong
Function of the knob, long press.
Definition anytone_settingsextension.hh:444
void setUpDownKeyFunction(UpDownKeyFunction func)
Sets the up/down key function.
Definition anytone_settingsextension.cc:1275
void setFuncKeyDShort(KeyFunction func)
Sets the key function for a short press on the function key D.
Definition anytone_settingsextension.cc:1210
void setFuncKeyAShort(KeyFunction func)
Sets the key function for a short press on the function key A.
Definition anytone_settingsextension.cc:1141
KeyFunction funcKeyBShort
Function key B (PF2 second below PTT or B on mic), short press function.
Definition anytone_settingsextension.hh:225
KeyFunction funcKey5Long
Function key 5 (P5 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:215
KeyFunction funcKeyAShort
Function key A (PF1 below PTT or A on mic), short press function.
Definition anytone_settingsextension.hh:221
KeyFunction _funcKeyDShort
Function of the function key D, short press.
Definition anytone_settingsextension.hh:441
void setFuncKey3Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 3.
Definition anytone_settingsextension.cc:1049
bool knobLockEnabled() const
Returns true if the knob gets locked too.
Definition anytone_settingsextension.cc:1296
Interval _longPressDuration
The long-press duration in ms.
Definition anytone_settingsextension.hh:445
KeyFunction funcKeyDShort
Function key D (D on mic, D578UV only), short press function.
Definition anytone_settingsextension.hh:233
bool autoKeyLockEnabled() const
Returns true, if the automatic key-lock feature is enabled.
Definition anytone_settingsextension.cc:1284
UpDownKeyFunction upDownKeyFunction() const
Returns the up/down key function.
Definition anytone_settingsextension.cc:1270
void setFuncKnobLong(KeyFunction func)
Sets the key function for a long press on the knob.
Definition anytone_settingsextension.cc:1248
void setFuncKey1Short(KeyFunction func)
Sets the key function for a short press on the function key 1.
Definition anytone_settingsextension.cc:1003
KeyFunction _funcKey4Long
Function of the function key 4, long press.
Definition anytone_settingsextension.hh:430
void setFuncKey4Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 4.
Definition anytone_settingsextension.cc:1083
void setFuncKeyALong(KeyFunction func)
Sets the key function for a long press on the function key A.
Definition anytone_settingsextension.cc:1152
bool forcedKeyLock
If true, the key-lock is forced.
Definition anytone_settingsextension.hh:263
KeyFunction funcKey5Short
Function key 5 (P5 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:213
bool _forcedKeyLock
Forced key-lock.
Definition anytone_settingsextension.hh:451
KeyFunction funcKnobShort
Function knob (channel/frequency knob, D578UV only), short press function.
Definition anytone_settingsextension.hh:237
void setFuncKeyBShort(KeyFunction func)
Sets the key function for a short press on the function key B.
Definition anytone_settingsextension.cc:1164
void enableAutoKeyLock(bool enabled)
Enables/disables auto key-lock.
Definition anytone_settingsextension.cc:1288
KeyFunction _funcKey5Short
Function of the function key 5, short press.
Definition anytone_settingsextension.hh:431
void setFuncKey2Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 2.
Definition anytone_settingsextension.cc:1037
KeyFunction _funcKeyCLong
Function of the function key C, long press.
Definition anytone_settingsextension.hh:440
KeyFunction funcKey4Short
Function key 4 (P4 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:209
void setFuncKey3Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 3.
Definition anytone_settingsextension.cc:1060
KeyFunction _funcKey1Short
Function of the function key 1, short press.
Definition anytone_settingsextension.hh:423
KeyFunction funcKey3Short
Function key 3 (P3 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:205
bool keypadLockEnabled() const
Returns true if the key-pad gets locked too.
Definition anytone_settingsextension.cc:1307
KeyFunction _funcKnobShort
Function of the knob, short press.
Definition anytone_settingsextension.hh:443
void setFuncKnobShort(KeyFunction func)
Sets the key function for a short press on the knob.
Definition anytone_settingsextension.cc:1235
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:989
Interval longPressDuration
The long press duration in ms.
Definition anytone_settingsextension.hh:241
KeyFunction _funcKeyDLong
Function of the function key D, long press.
Definition anytone_settingsextension.hh:442
KeyFunction funcKeyBLong
Function key B (PF2 second below PTT or B on mic), long press function.
Definition anytone_settingsextension.hh:227
bool sideKeysLock
If true, the side-keys get locked too.
Definition anytone_settingsextension.hh:259
void setFuncKey5Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 5.
Definition anytone_settingsextension.cc:1106
UpDownKeyFunction upDownKeys
Up/down key functions (D578UV only).
Definition anytone_settingsextension.hh:244
KeyFunction _funcKeyBLong
Function of the function key B, long press.
Definition anytone_settingsextension.hh:438
KeyFunction funcKeyDLong
Function key D (D on mic, D578UV only), long press function.
Definition anytone_settingsextension.hh:235
bool _autoKeyLock
Auto key-lock property.
Definition anytone_settingsextension.hh:447
KeyFunction _funcKey4Short
Function of the function key 4, short press.
Definition anytone_settingsextension.hh:429
UpDownKeyFunction
Possible up/down key functions.
Definition anytone_settingsextension.hh:280
bool _knobLock
Knob locked too.
Definition anytone_settingsextension.hh:448
KeyFunction _funcKey3Long
Function of the function key 3, long press.
Definition anytone_settingsextension.hh:428
bool forcedKeyLockEnabled() const
Returns true if the key-lock is forced.
Definition anytone_settingsextension.cc:1329
KeyFunction _funcKeyCShort
Function of the function key C, short press.
Definition anytone_settingsextension.hh:439
UpDownKeyFunction _upDownFunction
The up/down key function.
Definition anytone_settingsextension.hh:446
KeyFunction funcKeyALong
Function key A (PF1 below PTT or A on mic), long press function.
Definition anytone_settingsextension.hh:223
void enableForcedKeyLock(bool enable)
Enables/disables the forced key-lock.
Definition anytone_settingsextension.cc:1333
bool knobLock
If true, the knob gets locked too.
Definition anytone_settingsextension.hh:251
KeyFunction funcKey4Long
Function key 4 (P4 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:211
void setFuncKey1Long(KeyFunction func)
Sets the key function for a long press on the function key 1.
Definition anytone_settingsextension.cc:1014
KeyFunction _funcKey6Long
Function of the function key 6, long press.
Definition anytone_settingsextension.hh:434
bool keypadLock
If true, the key-pad gets locked too.
Definition anytone_settingsextension.hh:255
void enableSideKeysLock(bool enable)
Enables/disables the side-keys lock.
Definition anytone_settingsextension.cc:1322
void setFuncKey6Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 6.
Definition anytone_settingsextension.cc:1118
KeyFunction funcKnobLong
Function knob (channel/frequency knob, D578UV only), long press function.
Definition anytone_settingsextension.hh:239
void setFuncKey6Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 6.
Definition anytone_settingsextension.cc:1129
void setFuncKeyCShort(KeyFunction func)
Sets the key function for a short press on the function key C.
Definition anytone_settingsextension.cc:1187
bool _keypadLock
Key-pad is locked.
Definition anytone_settingsextension.hh:449
Implements the menu settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1026
Interval duration
Menu exit time in seconds.
Definition anytone_settingsextension.hh:1031
void setDuration(Interval sec)
Sets the menu duration in seconds.
Definition anytone_settingsextension.cc:2084
bool _showSeparator
Show menu separator lines.
Definition anytone_settingsextension.hh:1054
void enableSeparator(bool enable)
Enables/disables the menu separator lines.
Definition anytone_settingsextension.cc:2096
AnytoneMenuSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2063
bool separator
Menu separator.
Definition anytone_settingsextension.hh:1035
Interval _menuDuration
Menu display duration in seconds.
Definition anytone_settingsextension.hh:1053
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2070
bool separatorEnabled() const
Returns true, if the menu separator lines are shown.
Definition anytone_settingsextension.cc:2092
Implements the power-save settings for AnyTone devices.
Definition anytone_settingsextension.hh:129
PowerSave powerSave() const
Returns the power-save mode.
Definition anytone_settingsextension.cc:941
void setAutoShutdown(Interval min)
Sets the auto shut-down delay.
Definition anytone_settingsextension.cc:921
bool resetAutoShutdownOnCall
Resets the auto shut-down timer on every call.
Definition anytone_settingsextension.hh:137
Interval _autoShutDownDelay
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:181
AnytonePowerSaveSettingsExtension(QObject *parent=nullptr)
The power-save mode.
Definition anytone_settingsextension.cc:899
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:907
void enableResetAutoShutdownOnCall(bool enable)
Enables/disables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.cc:933
Interval autoShutdown
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:134
bool atpc() const
Returns true if the adaptive transmission power control is enabled.
Definition anytone_settingsextension.cc:953
PowerSave _powerSave
Power save mode property.
Definition anytone_settingsextension.hh:183
bool _resetAutoShutdownOnCall
Enables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.hh:182
void enableATPC(bool enable)
Enables/disables the adaptive transmission power control.
Definition anytone_settingsextension.cc:957
bool _atpc
Adaptive Transmission Power Control.
Definition anytone_settingsextension.hh:184
void setPowerSave(PowerSave mode)
Sets the power-save mode.
Definition anytone_settingsextension.cc:945
Implements the repeater settings for the BTECH DMR-6X2UV and AT-D578UV.
Definition anytone_settingsextension.hh:1890
TimeSlot _timeSlot
The primary channel time-slot.
Definition anytone_settingsextension.hh:1959
void setColorCode(ColorCode code)
Sets the color code match mode.
Definition anytone_settingsextension.cc:2831
bool enabled
Enables/disables the repeater feature.
Definition anytone_settingsextension.hh:1895
TimeSlot _secTimeSlot
The secondary channel time-slot.
Definition anytone_settingsextension.hh:1960
TimeSlot
Possible repeater time-slots.
Definition anytone_settingsextension.hh:1914
TimeSlot timeSlot
Time-slot of the primary repeater channel.
Definition anytone_settingsextension.hh:1903
void enable(bool enable)
Enables/disables the simplex repeater.
Definition anytone_settingsextension.cc:2780
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_settingsextension.hh:1958
TimeSlot secTimeSlot
Time-slot of the secondary repeater channel.
Definition anytone_settingsextension.hh:1907
void setSecTimeSlot(TimeSlot ts)
Sets the secondary channel time-slot.
Definition anytone_settingsextension.cc:2817
bool monitor
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:1899
ColorCode
Possible color code settings.
Definition anytone_settingsextension.hh:1920
bool monitorEnabled() const
If true, repeater monitoring is enabled.
Definition anytone_settingsextension.cc:2788
void setTimeSlot(TimeSlot ts)
Sets the primary (simplex) channel time-slot.
Definition anytone_settingsextension.cc:2804
void enableMonitor(bool enable)
Enables/disables repeater monitoring.
Definition anytone_settingsextension.cc:2792
ColorCode _colorCode
The color code match mode.
Definition anytone_settingsextension.hh:1961
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_settingsextension.hh:1957
AnytoneRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2758
Implements the ranging/roaming settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1478
RoamStart roamStart
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1496
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_settingsextension.hh:1612
void setAutoRoamPeriod(Interval min)
Sets the auto-roam period in minutes.
Definition anytone_settingsextension.cc:272
RoamingZoneReference * _defaultRoamingZone
The default roaming zone.
Definition anytone_settingsextension.hh:1620
unsigned int notificationCount
Repeater-check notification count.
Definition anytone_settingsextension.hh:1523
bool autoRoam
Enables auto-roaming.
Definition anytone_settingsextension.hh:1484
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_settingsextension.hh:1616
bool repeaterRangeCheckEnabled() const
Returns true if the repeater range check is enabled.
Definition anytone_settingsextension.cc:292
RoamStart roamReturn
Auto-roaming end/return condition.
Definition anytone_settingsextension.hh:1500
void setRoamingReturnCondition(RoamStart start)
Sets the auto-roaming return condition.
Definition anytone_settingsextension.cc:355
bool rangeCheck
Repeater range check.
Definition anytone_settingsextension.hh:1504
unsigned int _notificationCount
Number of notifications.
Definition anytone_settingsextension.hh:1618
Interval checkInterval
Repeater range check interval in seconds.
Definition anytone_settingsextension.hh:1508
AnytoneRoamingSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:233
bool _notification
Repeater check notification.
Definition anytone_settingsextension.hh:1617
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1615
RoamStart
Possible roaming start conditions.
Definition anytone_settingsextension.hh:1533
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_settingsextension.hh:1610
void setRoamingStartCondition(RoamStart start)
Sets the auto-roaming start condition.
Definition anytone_settingsextension.cc:343
void setRepeaterRangeCheckCount(unsigned int count)
Sets the number of retries before giving up.
Definition anytone_settingsextension.cc:319
void setRepeaterCheckInterval(Interval sec)
Sets the repeater check interval in seconds.
Definition anytone_settingsextension.cc:307
Interval repeaterCheckInterval() const
Returns the repeater check interval in seconds.
Definition anytone_settingsextension.cc:303
Interval _autoRoamPeriod
The auto-roam period in minutes.
Definition anytone_settingsextension.hh:1609
void setOutOfRangeAlert(OutOfRangeAlert type)
Sets the repeater out-of-range alert type.
Definition anytone_settingsextension.cc:331
bool _autoRoam
Enables auto roaming.
Definition anytone_settingsextension.hh:1608
void setNotificationCount(unsigned int n)
Sets the number of repeater-check notifications.
Definition anytone_settingsextension.cc:378
unsigned int retryCount
Retry count.
Definition anytone_settingsextension.hh:1512
Interval autoRoamPeriod
The auto-roaming period in minutes.
Definition anytone_settingsextension.hh:1488
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_settingsextension.hh:1619
OutOfRangeAlert outOfRangeAlert
Repeater out-of-range alert type.
Definition anytone_settingsextension.hh:1515
bool notificationEnabled() const
Returns true, if the repeater check notification is enabled.
Definition anytone_settingsextension.cc:363
void enableAutoRoam(bool enable)
Enables/disables auto-roaming.
Definition anytone_settingsextension.cc:260
bool gpsRoaming
GPS roaming enabled.
Definition anytone_settingsextension.hh:1529
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_settingsextension.hh:1614
RoamingZoneReference * defaultZone
The default roaming zone.
Definition anytone_settingsextension.hh:1526
void enableRepeaterRangeCheck(bool enable)
Enables/disables repeater range check.
Definition anytone_settingsextension.cc:296
unsigned int repeaterRangeCheckCount() const
Number of retries before givnig up.
Definition anytone_settingsextension.cc:315
OutOfRangeAlert
Possible repeater out-of-range alerts.
Definition anytone_settingsextension.hh:1539
RoamStart roamingReturnCondition() const
Returns the auto-roaming return condition.
Definition anytone_settingsextension.cc:351
Interval autoRoamDelay
The auto-roam delay.
Definition anytone_settingsextension.hh:1492
RoamStart roamingStartCondition() const
Returns the auto-roaming start condition.
Definition anytone_settingsextension.cc:339
void enableGPSRoaming(bool enable)
Enables/disables GPS roaming.
Definition anytone_settingsextension.cc:390
void enableNotification(bool enable)
Enables/disables the repeater-check notification.
Definition anytone_settingsextension.cc:367
bool notification
Repeater-check notification.
Definition anytone_settingsextension.hh:1519
void setAutoRoamDelay(Interval sec)
Sets the auto-roam delay in seconds.
Definition anytone_settingsextension.cc:284
unsigned int _repeaterRangeCheckCount
Number of range checks before giving up.
Definition anytone_settingsextension.hh:1613
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_settingsextension.hh:1611
Implements the satellite mode settings for the BTECH DMR-6X2UV PRO.
Definition anytone_settingsextension.hh:1971
void setPower(Channel::Power power)
Sets transmit power in satellite mode.
Definition anytone_settingsextension.cc:2866
AnytoneSatelliteSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2843
unsigned int squelch
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:1980
void setSquelch(unsigned int squelch)
Sets squelch in satellite mode.
Definition anytone_settingsextension.cc:2880
Channel::Power power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:1976
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2850
Channel::Power _power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:2000
unsigned int _squelch
FM squelch in satellite mode.
Definition anytone_settingsextension.hh:2002
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2297
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2329
void setMaxVFOScanFrequencyVHF(Frequency hz)
Sets the maximum VFO scan frequency for the VHF band in Hz.
Definition anytone_settingsextension.cc:652
VFOMode
Possible VFO modes.
Definition anytone_settingsextension.hh:2132
void setVFOStep(Frequency step)
Sets the VFO tuning step in kHz.
Definition anytone_settingsextension.cc:676
FanControl fan() const
Returns the fan control setting.
Definition anytone_settingsextension.cc:760
Frequency maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2046
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_settingsextension.hh:2144
AnytonePowerSaveSettingsExtension * powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2093
Frequency minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2044
AnytoneAudioSettingsExtension * audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2101
Frequency vfoStep
The VFO tuning step-size in kHz.
Definition anytone_settingsextension.hh:2058
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2323
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_settingsextension.hh:2295
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_settingsextension.hh:2336
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_settingsextension.hh:2337
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2039
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2322
void setMinVFOScanFrequencyVHF(Frequency hz)
Sets the minimum VFO scan frequency for the VHF band in Hz.
Definition anytone_settingsextension.cc:641
VFOScanType
Encodes the possible VFO scan types.
Definition anytone_settingsextension.hh:2126
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2293
Q_INVOKABLE AnytoneSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:406
AnytoneBootSettingsExtension * _bootSettings
Returns power setting for satellite mode.
Definition anytone_settingsextension.hh:2291
void enableProMode(bool enable)
Enables/disables the "pro mode".
Definition anytone_settingsextension.cc:737
VFO
Possible VFOs.
Definition anytone_settingsextension.hh:2138
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2305
AnytoneGPSSettingsExtension * gpsSettings
The GPS settings.
Definition anytone_settingsextension.hh:2109
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2325
AnytoneDMRSettingsExtension * dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:2107
AnytoneMenuSettingsExtension * menuSettings
The menu settings.
Definition anytone_settingsextension.hh:2103
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_settingsextension.hh:2319
void enableSubChannel(bool enable)
Enables/disables the sub-channel.
Definition anytone_settingsextension.cc:606
VFOMode modeA
The mode of VFO A.
Definition anytone_settingsextension.hh:2030
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2301
void setVFOScanType(VFOScanType type)
Sets the VFO scan type.
Definition anytone_settingsextension.cc:541
void enableMaintainCallChannel(bool enable)
Enables/disables maintaining the call-channel.
Definition anytone_settingsextension.cc:751
AnytoneMenuSettingsExtension * _menuSettings
The menu settings.
Definition anytone_settingsextension.hh:2303
bool subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2021
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_settingsextension.hh:2330
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_settingsextension.hh:2309
AnytoneRepeaterSettingsExtension * repeaterSettings() const
A reference to the simplex repeater settings.
Definition anytone_settingsextension.cc:526
AnytoneAutoRepeaterSettingsExtension * autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2105
AnytoneRepeaterSettingsExtension * _repeaterSettings
The repeater settings.
Definition anytone_settingsextension.hh:2315
Interval _steDuration
STE duration.
Definition anytone_settingsextension.hh:2334
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_settingsextension.hh:2311
AnytoneKeySettingsExtension * keySettings
The key settings.
Definition anytone_settingsextension.hh:2095
bool keepLastCallerEnabled() const
Returns true if the last caller is kept on channel switch.
Definition anytone_settingsextension.cc:660
void setTBSTFrequency(Frequency Hz)
Sets the TBST frequency in Hz.
Definition anytone_settingsextension.cc:723
void setSTEType(STEType type)
Sets the STE (squelch tail elimination) type.
Definition anytone_settingsextension.cc:688
AnytoneBootSettingsExtension * bootSettings
The boot settings.
Definition anytone_settingsextension.hh:2091
AnytoneBluetoothSettingsExtension * _bluetoothSettings
The bluetooth settings.
Definition anytone_settingsextension.hh:2313
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_settingsextension.hh:2331
bool subChannelEnabled() const
Returns true if the sub-channel is enabled.
Definition anytone_settingsextension.cc:602
AnytoneBluetoothSettingsExtension * bluetoothSettings
The Bluetooth settings.
Definition anytone_settingsextension.hh:2113
VFOMode _modeB
Mode of VFO B.
Definition anytone_settingsextension.hh:2321
void enableKeepLastCaller(bool enable)
Enables/disables keeping the last caller on channel switch.
Definition anytone_settingsextension.cc:664
void setModeB(VFOMode mode)
Sets the mode for VFO B.
Definition anytone_settingsextension.cc:565
AnytoneToneSettingsExtension * toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2097
void setFan(FanControl ctlr)
Sets the fan control.
Definition anytone_settingsextension.cc:765
Frequency tbstFrequency() const
Returns the TBST frequency in Hz.
Definition anytone_settingsextension.cc:719
void setMinVFOScanFrequencyUHF(Frequency hz)
Sets the minimum VFO scan frequency for the UHF band in Hz.
Definition anytone_settingsextension.cc:618
AnytoneDMRSettingsExtension * _dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:2307
VFOMode modeB
The mode of VFO B.
Definition anytone_settingsextension.hh:2032
void setSelectedVFO(VFO vfo)
Sets the selected VFO.
Definition anytone_settingsextension.cc:594
Frequency _maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2327
STEType steType
The STE type.
Definition anytone_settingsextension.hh:2063
bool keepLastCaller
The keep-last-caller setting.
Definition anytone_settingsextension.hh:2054
AnytoneDisplaySettingsExtension * displaySettings
The display settings.
Definition anytone_settingsextension.hh:2099
VFOScanType vfoScanType
The VFO scan type.
Definition anytone_settingsextension.hh:2042
double steFrequency
The STE frequency in Hz.
Definition anytone_settingsextension.hh:2067
AnytoneRoamingSettingsExtension * roamingSettings
The Roaming settings.
Definition anytone_settingsextension.hh:2111
Interval steDuration
The STE duration in ms.
Definition anytone_settingsextension.hh:2072
Frequency minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2048
void setSTEDuration(Interval intv)
Sets the STE duration.
Definition anytone_settingsextension.cc:711
void setModeA(VFOMode mode)
Sets the mode for VFO A.
Definition anytone_settingsextension.cc:553
void setSTEFrequency(double freq)
Sets the STE (squelch tail elimination) frequency in Hz.
Definition anytone_settingsextension.cc:699
VFO _selectedVFO
The current VFO.
Definition anytone_settingsextension.hh:2324
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2326
void setMaxVFOScanFrequencyUHF(Frequency hz)
Sets the maximum VFO scan frequency for the UHF band in Hz.
Definition anytone_settingsextension.cc:629
Frequency _minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2328
Frequency maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2050
STEType _steType
The STE type.
Definition anytone_settingsextension.hh:2332
AnytoneSatelliteSettingsExtension * _satelliteSettings
The satellite settings.
Definition anytone_settingsextension.hh:2317
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_settingsextension.hh:2299
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_settingsextension.hh:2333
bool proModeEnabled() const
Returns true, if the "pro mode" is enabled.
Definition anytone_settingsextension.cc:732
VFO selectedVFO
The current active VFO.
Definition anytone_settingsextension.hh:2025
VFOMode _modeA
Mode of VFO A.
Definition anytone_settingsextension.hh:2320
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_settingsextension.hh:2335
ZoneReference * zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2037
bool maintainCallChannelEnabled() const
Returns true if the call-channel is maintained.
Definition anytone_settingsextension.cc:746
Implements the tone settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:460
bool startupToneEnabled() const
Returns true if the startup tone is enabled.
Definition anytone_settingsextension.cc:1466
bool startup
If true, the startup tone is enabled.
Definition anytone_settingsextension.hh:497
unsigned int keyToneLevel
The key tone level setting.
Definition anytone_settingsextension.hh:470
bool _talkPermitDigital
DMR talk permit tone.
Definition anytone_settingsextension.hh:591
bool _totNotification
TOT notification enabled.
Definition anytone_settingsextension.hh:597
void enableFMIdleChannelTone(bool enable)
Enables/disables the idle FM channel tone.
Definition anytone_settingsextension.cc:1458
bool callAlertEnabled() const
Returns true if call alert is enabled.
Definition anytone_settingsextension.cc:1394
AnytoneToneSettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:1345
Melody * _callMelody
Call melody.
Definition anytone_settingsextension.hh:599
bool _callAlert
Call alert tone enabled.
Definition anytone_settingsextension.hh:590
bool dmrIdle
If true, the idle tone is enabled for DMR channels.
Definition anytone_settingsextension.hh:493
bool wxAlarm
Enables weather alarm tone.
Definition anytone_settingsextension.hh:501
bool dmrIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for DMR channel.
Definition anytone_settingsextension.cc:1442
Melody * idleMelody
The idle melody.
Definition anytone_settingsextension.hh:506
bool _talkPermitAnalog
FM talk permit tone.
Definition anytone_settingsextension.hh:592
void enableDigitalResetTone(bool enable)
Enables/disables the reset tone for digital calls.
Definition anytone_settingsextension.cc:1434
Melody * callEndMelody
The call-end melody.
Definition anytone_settingsextension.hh:510
bool keyTone
The key tone setting.
Definition anytone_settingsextension.hh:466
bool fmIdle
If true, the idle tone is enabled for FM channels.
Definition anytone_settingsextension.hh:495
unsigned int _keyToneLevel
The level of key-tones, 0=user adjustable.
Definition anytone_settingsextension.hh:603
Melody * _callEndMelody
Call end melody.
Definition anytone_settingsextension.hh:602
bool talkPermitDigitalEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_settingsextension.cc:1406
bool tot
Enables transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.hh:499
bool smsAlert
If true, the SMS alert tone is enabled.
Definition anytone_settingsextension.hh:474
bool smsAlertEnabled() const
Returns true if SMS alert is enabled.
Definition anytone_settingsextension.cc:1382
void enableCallAlert(bool enable)
Enables/disables call alert.
Definition anytone_settingsextension.cc:1398
bool _wxAlarm
Weather alarm.
Definition anytone_settingsextension.hh:598
bool keyToneEnabled() const
Returns true if the key tone is enabled.
Definition anytone_settingsextension.cc:1370
void enableTOTNotification(bool enable)
Enables/disables the transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.cc:1482
bool talkPermitAnalogEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_settingsextension.cc:1418
void setKeyToneLevel(unsigned int level)
Sets the key-tone level.
Definition anytone_settingsextension.cc:1523
void enableDMRIdleChannelTone(bool enable)
Enables/disables the idle DMR channel tone.
Definition anytone_settingsextension.cc:1446
Melody * callMelody
The call melody.
Definition anytone_settingsextension.hh:504
Melody * _idleMelody
Idle melody.
Definition anytone_settingsextension.hh:600
bool _smsAlert
SMS alert tone enabled.
Definition anytone_settingsextension.hh:589
bool _dmrIdleChannelTone
Idle channel tone (DMR).
Definition anytone_settingsextension.hh:594
bool digitalResetToneEnabled() const
Returns true if the reset tone is enabled for digital calls.
Definition anytone_settingsextension.cc:1430
Melody * resetMelody
The reset melody.
Definition anytone_settingsextension.hh:508
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1360
void enableTalkPermitDigital(bool enable)
Enables/disables the talk permit tone for digital channels.
Definition anytone_settingsextension.cc:1410
void enableWXAlarm(bool enable)
Enables/disables weather alarm.
Definition anytone_settingsextension.cc:1494
bool dmrTalkPermit
If true, the DMR talk permit tone is enabled.
Definition anytone_settingsextension.hh:482
bool totNotification() const
Returns true if the transmit timeout notification is enabled (5s before TOT).
Definition anytone_settingsextension.cc:1478
bool _startupTone
Startup tone enabled.
Definition anytone_settingsextension.hh:596
void enableTalkPermitAnalog(bool enable)
Enables/disables the talk permit tone for analog channels.
Definition anytone_settingsextension.cc:1422
void enableStartupTone(bool enable)
Enables/disables the startup tone.
Definition anytone_settingsextension.cc:1470
bool fmIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for FM channel.
Definition anytone_settingsextension.cc:1454
bool _resetToneDigital
DMR reset tone.
Definition anytone_settingsextension.hh:593
bool fmTalkPermit
If true, the FM talk permit tone is enabled.
Definition anytone_settingsextension.hh:490
void enableKeyTone(bool enable)
Enables/disables the key tone.
Definition anytone_settingsextension.cc:1374
bool _fmIdleChannelTone
Idle channel tone (FM).
Definition anytone_settingsextension.hh:595
bool callAlert
If true, the call alert tone is enabled.
Definition anytone_settingsextension.hh:478
bool _keyTone
Key tone property.
Definition anytone_settingsextension.hh:588
Melody * _resetMelody
Reset melody.
Definition anytone_settingsextension.hh:601
void enableSMSAlert(bool enable)
Enables/disables SMS alert.
Definition anytone_settingsextension.cc:1386
bool dmrReset
If true, the DMR reset tone is enabled.
Definition anytone_settingsextension.hh:486
Represents a reference to a channel.
Definition configreference.hh:123
The base class of all channels (analog and digital) of a codeplug configuration.
Definition channel.hh:37
ConfigExtension(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1234
Parse context for config objects.
Definition configobject.hh:43
Base class for all configuration objects (channels, zones, contacts, etc).
Definition configobject.hh:35
ConfigItem(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:158
ConfigObjectList(const QMetaObject &elementTypes=ConfigItem::staticMetaObject, QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1511
ConfigObjectReference(const QMetaObject &elementType=ConfigObject::staticMetaObject, QObject *parent=nullptr)
Hidden constructor.
Definition configreference.cc:17
ConfigObject(QObject *parent=nullptr)
Specifies the prefix for every ID assigned to every object during serialization.
Definition configobject.cc:1141
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
Represents a time interval.
Definition interval.hh:11
Some simple class implementing a [1-10] level setting.
Definition level.hh:15
A config item that encodes a melody.
Definition melody.hh:20
Base class for all Radio objects.
Definition radio.hh:32
Implements a reference to a roaming zone.
Definition configreference.hh:273
Implements a reference to a zone.
Definition configreference.hh:295
Represents a zone within the generic configuration.
Definition zone.hh:15
Helper type to encode frequencies without any rounding error.
Definition frequency.hh:107