libdrmconf 0.15.0
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
27
29 Q_PROPERTY(bool gpsCheck READ gpsCheckEnabled WRITE enableGPSCheck)
30
31public:
33 explicit AnytoneBootSettingsExtension(QObject *parent=nullptr);
34
35 ConfigItem *clone() const;
36
41
43 bool gpsCheckEnabled() const;
45 void enableGPSCheck(bool enable);
46
47protected:
50 bool _gpsCheck;
51};
52
53
59{
60 Q_OBJECT
61
62 Q_CLASSINFO("autoShutDownDelayDescription", "The auto shut-down delay in minutes.")
65
68
69 Q_CLASSINFO("powerSaveDescription", "Specifies the power save mode. "
70 "D686UV, D878UV(2) and DMR-6X2UV only.")
72 Q_PROPERTY(PowerSave powerSave READ powerSave WRITE setPowerSave)
73
75 Q_PROPERTY(bool atpc READ atpc WRITE enableATPC)
76
77public:
79 enum class PowerSave {
80 Off = 0, Save50 = 1, Save66 = 2
81 };
82 Q_ENUM(PowerSave)
83
84public:
86 explicit AnytonePowerSaveSettingsExtension(QObject *parent=nullptr);
87
88 ConfigItem *clone() const;
89
91 Interval autoShutdown() const;
93 void setAutoShutdown(Interval min);
94
96 bool resetAutoShutdownOnCall() const;
98 void enableResetAutoShutdownOnCall(bool enable);
99
101 PowerSave powerSave() const;
103 void setPowerSave(PowerSave mode);
104
106 bool atpc() const;
108 void enableATPC(bool enable);
109
110protected:
113 PowerSave _powerSave;
114 bool _atpc;
115};
116
117
123{
124 Q_OBJECT
125
172
175
178
179 Q_CLASSINFO("knobLockDescription", "If enabled, the knob gets locked too.")
181 Q_PROPERTY(bool knobLock READ knobLockEnabled WRITE enableKnobLock)
182
183 Q_CLASSINFO("keypadLockDescription", "If enabled, the key-pad gets locked.")
186
187 Q_CLASSINFO("sideKeysLockDescription", "If enabled, the side-keys get locked.")
190
191 Q_CLASSINFO("forcedKeyLockDescription", "If enabled, the key-lock is forced.")
194
195public:
197 enum class KeyFunction {
198 Off, Voltage, Power, Repeater, Reverse, Encryption, Call, VOX, ToggleVFO, SubPTT,
199 Scan, WFM, Alarm, RecordSwitch, Record, SMS, Dial, GPSInformation, Monitor, ToggleMainChannel,
200 HotKey1, HotKey2, HotKey3, HotKey4, HotKey5, HotKey6, WorkAlone, SkipChannel, DMRMonitor,
201 SubChannel, PriorityZone, VFOScan, MICSoundQuality, LastCallReply, ChannelType, Ranging,
202 Roaming, ChannelRanging, MaxVolume, Slot, APRSTypeSwitch, Zone, ZoneUp, ZoneDown, Exit, Menu,
203 RoamingSet, APRSSet, Mute, MuteA, MuteB, CtcssDcsSet, TBSTSend, Bluetooth, GPS, ChannelName,
204 CDTScan, APRSSend, APRSInfo, Speaker, XBandRepeater, SimplexRepeater, GPSRoaming, Squelch,
205 NoiseReductionTX, DIMShut, SatPredict
206 };
207 Q_ENUM(KeyFunction)
208
209
210 enum class UpDownKeyFunction {
211 Channel, Volume
212 };
213 Q_ENUM(UpDownKeyFunction)
214
215public:
217 explicit AnytoneKeySettingsExtension(QObject *parent=nullptr);
218
219 ConfigItem *clone() const;
220
222 KeyFunction funcKey1Short() const;
224 void setFuncKey1Short(KeyFunction func);
226 KeyFunction funcKey1Long() const;
228 void setFuncKey1Long(KeyFunction func);
229
231 KeyFunction funcKey2Short() const;
233 void setFuncKey2Short(KeyFunction func);
235 KeyFunction funcKey2Long() const;
237 void setFuncKey2Long(KeyFunction func);
238
240 KeyFunction funcKey3Short() const;
242 void setFuncKey3Short(KeyFunction func);
244 KeyFunction funcKey3Long() const;
246 void setFuncKey3Long(KeyFunction func);
247
249 KeyFunction funcKey4Short() const;
251 void setFuncKey4Short(KeyFunction func);
253 KeyFunction funcKey4Long() const;
255 void setFuncKey4Long(KeyFunction func);
256
258 KeyFunction funcKey5Short() const;
260 void setFuncKey5Short(KeyFunction func);
262 KeyFunction funcKey5Long() const;
264 void setFuncKey5Long(KeyFunction func);
265
267 KeyFunction funcKey6Short() const;
269 void setFuncKey6Short(KeyFunction func);
271 KeyFunction funcKey6Long() const;
273 void setFuncKey6Long(KeyFunction func);
274
276 KeyFunction funcKeyAShort() const;
278 void setFuncKeyAShort(KeyFunction func);
280 KeyFunction funcKeyALong() const;
282 void setFuncKeyALong(KeyFunction func);
283
285 KeyFunction funcKeyBShort() const;
287 void setFuncKeyBShort(KeyFunction func);
289 KeyFunction funcKeyBLong() const;
291 void setFuncKeyBLong(KeyFunction func);
292
294 KeyFunction funcKeyCShort() const;
296 void setFuncKeyCShort(KeyFunction func);
298 KeyFunction funcKeyCLong() const;
300 void setFuncKeyCLong(KeyFunction func);
301
303 KeyFunction funcKeyDShort() const;
305 void setFuncKeyDShort(KeyFunction func);
307 KeyFunction funcKeyDLong() const;
309 void setFuncKeyDLong(KeyFunction func);
310
312 KeyFunction funcKnobShort() const;
314 void setFuncKnobShort(KeyFunction func);
316 KeyFunction funcKnobLong() const;
318 void setFuncKnobLong(KeyFunction func);
319
321 Interval longPressDuration() const;
323 void setLongPressDuration(Interval ms);
324
326 UpDownKeyFunction upDownKeyFunction() const;
328 void setUpDownKeyFunction(UpDownKeyFunction func);
329
331 bool autoKeyLockEnabled() const;
333 void enableAutoKeyLock(bool enabled);
334
336 bool knobLockEnabled() const;
338 void enableKnobLock(bool enable);
340 bool keypadLockEnabled() const;
342 void enableKeypadLock(bool enable);
344 bool sideKeysLockEnabled() const;
346 void enableSideKeysLock(bool enable);
348 bool forcedKeyLockEnabled() const;
350 void enableForcedKeyLock(bool enable);
351
352protected:
382};
383
384
390{
391 Q_OBJECT
392 Q_CLASSINFO("description", "Tone settings for AnyTone devices.")
393
394
395 Q_PROPERTY(bool tot READ totNotification WRITE enableTOTNotification)
397 Q_PROPERTY(bool wxAlarm READ wxAlarm WRITE enableWXAlarm)
398
399
400public:
402 explicit AnytoneToneSettingsExtension(QObject *parent=nullptr);
403
404 ConfigItem *clone() const;
405
407 bool totNotification() const;
409 void enableTOTNotification(bool enable);
410
412 bool wxAlarm() const;
414 void enableWXAlarm(bool enable);
415
416protected:
418 bool _wxAlarm;
419};
420
421
427{
428 Q_OBJECT
429
433 Q_PROPERTY(unsigned int brightness READ brightness WRITE setBrightness)
434
435 Q_CLASSINFO("backlightDuration", "The duration in seconds, the backlight keeps lit after any action. ")
438
439 Q_CLASSINFO("backlightDurationTX", "The duration in seconds, the backlight is lit during TX. "
440 "A value of 0 means off.")
443
444 Q_CLASSINFO("backlightDurationRX", "The duration in seconds, the backlight is lit during RX.")
447
450
452 Q_PROPERTY(bool volumeChangePrompt READ volumeChangePromptEnabled WRITE enableVolumeChangePrompt)
454 Q_PROPERTY(bool callEndPrompt READ callEndPromptEnabled WRITE enableCallEndPrompt)
455
457 Q_PROPERTY(bool showClock READ showClockEnabled WRITE enableShowClock)
459 Q_PROPERTY(bool showCall READ showCallEnabled WRITE enableShowCall)
461 Q_PROPERTY(bool showContact READ showContact WRITE enableShowContact)
463 Q_PROPERTY(bool showChannelNumber READ showChannelNumberEnabled WRITE enableShowChannelNumber)
465 Q_PROPERTY(bool showGLobalChannelNumber READ showGlobalChannelNumber WRITE enableShowGlobalChannelNumber)
467 Q_PROPERTY(bool showColorCode READ showColorCode WRITE enableShowColorCode)
469 Q_PROPERTY(bool showTimeSlot READ showTimeSlot WRITE enableShowTimeSlot)
471 Q_PROPERTY(bool showChannelType READ showChannelType WRITE enableShowChannelType)
473 Q_PROPERTY(bool showLastHeard READ showLastHeardEnabled WRITE enableShowLastHeard)
475 Q_PROPERTY(LastCallerDisplayMode lastCallerDisplay READ lastCallerDisplay WRITE setLastCallerDisplay)
476
478 Q_PROPERTY(Color callColor READ callColor WRITE setCallColor)
480 Q_PROPERTY(Color standbyTextColor READ standbyTextColor WRITE setStandbyTextColor)
483
484 Q_CLASSINFO("channelNameColorDescription", "Specifies the color of the channel name.")
486 Q_PROPERTY(Color channelNameColor READ channelNameColor WRITE setChannelNameColor)
487 Q_CLASSINFO("channelBNameColorDescription", "Specifies the color of the channel name for VFO B.")
489 Q_PROPERTY(Color channelBNameColor READ channelBNameColor WRITE setChannelBNameColor)
490
491 Q_CLASSINFO("zoneNameColorDescription", "Specifies the color of the zone name.")
493 Q_PROPERTY(Color zoneNameColor READ zoneNameColor WRITE setZoneNameColor)
494 Q_CLASSINFO("zoneBNameColorDescription", "Specifies the color of the zone name for VFO B.")
496 Q_PROPERTY(Color zoneBNameColor READ zoneBNameColor WRITE setZoneBNameColor)
497
499 Q_PROPERTY(Language language READ language WRITE setLanguage)
501 Q_PROPERTY(DateFormat dateFormat READ dateFormat WRITE setDateFormat)
502
503public:
505 enum class LastCallerDisplayMode {
506 Off = 0, ID = 1, Call = 2, Both = 3
507 };
508 Q_ENUM(LastCallerDisplayMode)
509
510
511 enum class Color {
512 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
513 };
514 Q_ENUM(Color)
515
516
517 enum class Language {
518 English = 0,
519 German = 1
520 };
521 Q_ENUM(Language)
522
523
524 enum class DateFormat {
525 YearFirst = 0,
526 DayFirst = 1
527 };
528 Q_ENUM(DateFormat)
529
530public:
532 explicit AnytoneDisplaySettingsExtension(QObject *parent=nullptr);
533
534 ConfigItem *clone() const;
535
537 bool displayFrequencyEnabled() const;
539 void enableDisplayFrequency(bool enable);
540
542 unsigned int brightness() const;
544 void setBrightness(unsigned int level);
545
547 bool volumeChangePromptEnabled() const;
549 void enableVolumeChangePrompt(bool enable);
550
552 bool callEndPromptEnabled() const;
554 void enableCallEndPrompt(bool enable);
555
557 LastCallerDisplayMode lastCallerDisplay() const;
559 void setLastCallerDisplay(LastCallerDisplayMode mode);
560
562 bool showClockEnabled() const;
564 void enableShowClock(bool enable);
565
567 bool showCallEnabled() const;
569 void enableShowCall(bool enable);
570
572 Color callColor() const;
574 void setCallColor(Color color);
575
577 Language language() const;
579 void setLanguage(Language lang);
581 DateFormat dateFormat() const;
583 void setDateFormat(DateFormat format);
584
586 bool showChannelNumberEnabled() const;
588 void enableShowChannelNumber(bool enable);
591 bool showGlobalChannelNumber() const;
593 void enableShowGlobalChannelNumber(bool enable);
595 bool showColorCode() const;
597 void enableShowColorCode(bool enable);
599 bool showTimeSlot() const;
601 void enableShowTimeSlot(bool enable);
603 bool showChannelType() const;
605 void enableShowChannelType(bool enable);
606
608 bool showContact() const;
610 void enableShowContact(bool enable);
611
613 Color standbyTextColor() const;
615 void setStandbyTextColor(Color color);
617 Color standbyBackgroundColor() const;
619 void setStandbyBackgroundColor(Color color);
620
622 bool showLastHeardEnabled() const;
624 void enableShowLastHeard(bool enable);
625
627 Interval backlightDuration() const;
629 void setBacklightDuration(Interval sec);
630
632 Interval backlightDurationTX() const;
634 void setBacklightDurationTX(Interval sec);
635
637 Color channelNameColor() const;
639 void setChannelNameColor(Color color);
641 Color channelBNameColor() const;
643 void setChannelBNameColor(Color color);
644
646 Color zoneNameColor() const;
648 void setZoneNameColor(Color color);
650 Color zoneBNameColor() const;
652 void setZoneBNameColor(Color color);
653
655 Interval backlightDurationRX() const;
657 void setBacklightDurationRX(Interval sec);
659 bool customChannelBackground() const;
661 void enableCustomChannelBackground(bool enable);
662
663protected:
665 unsigned int _brightness;
668 LastCallerDisplayMode _lastCallerDisplay;
672 Language _language;
673 DateFormat _dateFormat;
691};
692
693
699{
700 Q_OBJECT
701
704
705
706 Q_PROPERTY(bool recording READ recordingEnabled WRITE enableRecording)
707
710
713
715 Q_PROPERTY(Speaker speaker READ speaker WRITE setSpeaker)
720
721public:
723 enum class VoxSource {
724 Internal = 0, External = 1, Both = 2
725 };
726 Q_ENUM(VoxSource)
727
728
729 enum class Speaker {
730 Handset, Radio, Both
731 };
732 Q_ENUM(Speaker);
733
736 MainChannel, SubChannel
737 };
738 Q_ENUM(HandsetSpeakerSource)
739
740
741 enum class HandsetType {
742 Anytone, Generic
743 };
744 Q_ENUM(HandsetType)
745
746public:
748 explicit AnytoneAudioSettingsExtension(QObject *parent=nullptr);
749
750 ConfigItem *clone() const;
751
753 VoxSource voxSource() const;
755 void setVOXSource(VoxSource source);
756
758 bool recordingEnabled() const;
760 void enableRecording(bool enable);
761
763 bool enhanceAudioEnabled() const;
765 void enableEnhanceAudio(bool enable);
766
768 Interval muteDelay() const;
770 void setMuteDelay(Interval intv);
771
773 Speaker speaker() const;
775 void setSpeaker(Speaker speaker);
776
778 HandsetSpeakerSource handsetSpeaker() const;
780 void setHandsetSpeaker(HandsetSpeakerSource src);
781
782 /* Returns the handset type. */
783 HandsetType handsetType() const;
785 void setHandsetType(HandsetType type);
786
787protected:
796};
797
798
804{
805 Q_OBJECT
806
807 Q_CLASSINFO("durationDescription", "The time in seconds, the menu is shown.")
809 Q_PROPERTY(Interval duration READ duration WRITE setDuration)
810
811 Q_CLASSINFO("separatorDescription", "If enabled, the menu items are separated by a line.")
813 Q_PROPERTY(bool separator READ separatorEnabled WRITE enableSeparator)
814
815public:
817 explicit AnytoneMenuSettingsExtension(QObject *parent=nullptr);
818
819 ConfigItem *clone() const;
820
822 Interval duration() const;
824 void setDuration(Interval sec);
826 bool separatorEnabled() const;
828 void enableSeparator(bool enable);
829
830protected:
833};
834
835
840{
841 Q_OBJECT
842 Q_CLASSINFO("IdPrefix", "off")
843
844 Q_CLASSINFO("offsetDecription",
845 "Transmit-frequency offset in Hz.")
846 Q_CLASSINFO("offsetLongDecription",
847 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
848 "direction is specified for each VFO separately.")
850 Q_PROPERTY(Frequency offset READ offset WRITE setOffset)
851
852public:
854 explicit Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr);
855
856 ConfigItem *clone() const;
857
859 Frequency offset() const;
862
863protected:
866};
867
868
872{
873 Q_OBJECT
874
875public:
877 explicit AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr);
878};
879
880
884{
885 Q_OBJECT
886
887public:
889 explicit AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr);
890
891 ConfigItem *allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err);
892};
893
894
900{
901 Q_OBJECT
902 Q_CLASSINFO("description", "Auto-repeater settings for AnyTone devices.")
903
904 Q_CLASSINFO("directionADescription", "Auto-repeater transmit-frequency offset direction for VFO A.")
907
908 Q_CLASSINFO("directionBDescription", "Auto-repeater transmit-frequency offset direction for VFO B.")
911
912 Q_CLASSINFO("vhfMin", "The minimum frequency in Hz of the VHF auto-repeater frequency range.")
914 Q_PROPERTY(Frequency vhfMin READ vhfMin WRITE setVHFMin)
915
916 Q_CLASSINFO("vhfMax", "The maximum frequency in Hz of the VHF auto-repeater frequency range.")
918 Q_PROPERTY(Frequency vhfMax READ vhfMax WRITE setVHFMax)
919
920 Q_CLASSINFO("uhfMin", "The minimum frequency in Hz of the UHF auto-repeater frequency range.")
922 Q_PROPERTY(Frequency uhfMin READ uhfMin WRITE setUHFMin)
923
924 Q_CLASSINFO("uhfMax", "The maximum frequency in Hz of the UHF auto-repeater frequency range.")
926 Q_PROPERTY(Frequency uhfMax READ uhfMax WRITE setUHFMax)
927
928 Q_CLASSINFO("vhfDescription", "A reference to an offset frequency for the VHF band.")
931
932 Q_CLASSINFO("uhfDescription", "A reference to an offset frequency for the UHF band.")
935
936 Q_CLASSINFO("vhf2Min", "The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
938 Q_PROPERTY(Frequency vhf2Min READ vhf2Min WRITE setVHF2Min)
939
940 Q_CLASSINFO("vhf2Max", "The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
942 Q_PROPERTY(Frequency vhf2Max READ vhf2Max WRITE setVHF2Max)
943
944 Q_CLASSINFO("uhf2Min", "The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
946 Q_PROPERTY(Frequency uhf2Min READ uhf2Min WRITE setUHF2Min)
947
948 Q_CLASSINFO("uhf2Max", "The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
950 Q_PROPERTY(Frequency uhf2Max READ uhf2Max WRITE setUHF2Max)
951
952 Q_CLASSINFO("vhf2Description", "A reference to an offset frequency for the second VHF band.")
955
956 Q_CLASSINFO("uhf2Description", "A reference to an offset frequency for the second UHF band.")
959
960 Q_CLASSINFO("offsetDescription", "The lists of offset frequencies.")
963
964public:
966 enum class Direction {
967 Off = 0,
968 Positive = 1,
969 Negative = 2
970 };
971 Q_ENUM(Direction)
972
973public:
975 explicit AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr);
976
977 ConfigItem *clone() const;
978
980 Direction directionA() const;
982 void setDirectionA(Direction dir);
984 Direction directionB() const;
986 void setDirectionB(Direction dir);
987
989 Frequency vhfMin() const;
991 void setVHFMin(Frequency Hz);
993 Frequency vhfMax() const;
995 void setVHFMax(Frequency Hz);
997 Frequency uhfMin() const;
999 void setUHFMin(Frequency Hz);
1001 Frequency uhfMax() const;
1003 void setUHFMax(Frequency Hz);
1004
1006 AnytoneAutoRepeaterOffsetRef *uhfRef() const;
1008 AnytoneAutoRepeaterOffsetRef *vhfRef() const;
1009
1011 Frequency vhf2Min() const;
1013 void setVHF2Min(Frequency Hz);
1015 Frequency vhf2Max() const;
1017 void setVHF2Max(Frequency Hz);
1019 Frequency uhf2Min() const;
1021 void setUHF2Min(Frequency Hz);
1023 Frequency uhf2Max() const;
1025 void setUHF2Max(Frequency Hz);
1026
1028 AnytoneAutoRepeaterOffsetRef *uhf2Ref() const;
1030 AnytoneAutoRepeaterOffsetRef *vhf2Ref() const;
1031
1033 AnytoneAutoRepeaterOffsetList *offsets() const;
1034
1035protected:
1066};
1067
1068
1074{
1075 Q_OBJECT
1076
1081
1082 Q_CLASSINFO("wakeHeadPeriod", "Sets the wake head-period in ms. Should be set to 100ms.")
1085
1086 Q_CLASSINFO("filterOwnIDDescription", "If enabled, own ID is not shown in call lists.")
1089
1090 Q_CLASSINFO("monitorSlotMatchDescription", "Time-slot match-mode for DMR monitor.")
1093
1094 Q_CLASSINFO("monitorColorCodeMatchDescription", "If enabled, the DMR monitor will only open for "
1095 "matching color-codes.")
1097 Q_PROPERTY(bool monitorColorCodeMatch READ monitorColorCodeMatchEnabled WRITE enableMonitorColorCodeMatch)
1098
1099 Q_CLASSINFO("monitorIDMatchDescription", "If enabled, the DMR monitor will only open for matching IDs.")
1101 Q_PROPERTY(bool monitorIDMatch READ monitorIDMatchEnabled WRITE enableMonitorIDMatch)
1102
1103 Q_CLASSINFO("monitorTimeSlotHold", "Whether the DMR monitor holds the time-slot.")
1105 Q_PROPERTY(bool monitorTimeSlotHold READ monitorTimeSlotHoldEnabled WRITE enableMonitorTimeSlotHold)
1106
1108 Q_PROPERTY(TalkerAliasSource talkerAliasSource READ talkerAliasSource WRITE setTalkerAliasSource)
1109
1111 Q_PROPERTY(EncryptionType encryption READ encryption WRITE setEncryption)
1112
1113
1114public:
1116 enum class SlotMatch {
1117 Off = 0, Single = 1, Both = 2
1118 };
1119 Q_ENUM(SlotMatch)
1120
1121
1122 enum class TalkerAliasSource {
1123 Off = 0, UserDB = 1, Air = 2
1124 };
1125 Q_ENUM(TalkerAliasSource)
1126
1127
1128 enum class EncryptionType {
1129 AES=0, DMR=1
1130 };
1131 Q_ENUM(EncryptionType)
1132
1133public:
1135 explicit AnytoneDMRSettingsExtension(QObject *parent = nullptr);
1136
1137 ConfigItem *clone() const;
1138
1140 Interval manualGroupCallHangTime() const;
1142 void setManualGroupCallHangTime(Interval sec);
1144 Interval manualPrivateCallHangTime() const;
1146 void setManualPrivateCallHangTime(Interval sec);
1147
1149 Interval wakeHeadPeriod() const;
1151 void setWakeHeadPeriod(Interval ms);
1152
1154 bool filterOwnIDEnabled() const;
1156 void enableFilterOwnID(bool enable);
1157
1159 SlotMatch monitorSlotMatch() const;
1161 void setMonitorSlotMatch(SlotMatch match);
1163 bool monitorColorCodeMatchEnabled() const;
1165 void enableMonitorColorCodeMatch(bool enable);
1167 bool monitorIDMatchEnabled() const;
1169 void enableMonitorIDMatch(bool enable);
1171 bool monitorTimeSlotHoldEnabled() const;
1173 void enableMonitorTimeSlotHold(bool enable);
1174
1176 TalkerAliasSource talkerAliasSource() const;
1178 void setTalkerAliasSource(TalkerAliasSource mode);
1179
1181 EncryptionType encryption() const;
1183 void setEncryption(EncryptionType type);
1184
1185protected:
1194 TalkerAliasSource _talkerAliasSource;
1195 EncryptionType _encryption;
1196};
1197
1198
1204{
1205 Q_OBJECT
1206
1207 Q_CLASSINFO("timeZoneDescription", "Specifies the GPS time-zone (IANA name).")
1209 Q_PROPERTY(QString timeZone READ ianaTimeZone WRITE setIANATimeZone)
1210
1211 Q_CLASSINFO("positionReportingDescription", "Enables GPS range reporting.")
1214
1215 Q_CLASSINFO("updatePeriodDescription", "Specifies the GPS reporting interval in seconds.")
1218
1219public:
1221 explicit AnytoneGPSSettingsExtension(QObject *parent=nullptr);
1222
1223 ConfigItem *clone() const;
1224
1226 QString ianaTimeZone() const;
1228 QTimeZone timeZone() const;
1230 void setIANATimeZone(const QString &id);
1232 void setTimeZone(const QTimeZone &zone);
1233
1235 bool positionReportingEnabled() const;
1237 void enablePositionReporting(bool enable);
1238
1240 Interval updatePeriod() const;
1242 void setUpdatePeriod(Interval sec);
1243
1244protected:
1245 QTimeZone _timeZone;
1248};
1249
1250
1256{
1257 Q_OBJECT
1258
1259 Q_CLASSINFO("Description", "Collects all ranging/roaming settings for AnyTone devices.")
1260
1261
1262 Q_PROPERTY(bool autoRoam READ autoRoam WRITE enableAutoRoam)
1263
1264 Q_CLASSINFO("autoRoamPeriodDescription", "Specifies the auto-roaming period in minutes.")
1267
1268 Q_CLASSINFO("autoRoamDelayDescription", "A delay in seconds before starting the auto-roaming.")
1271
1272 Q_CLASSINFO("roamStart", "Start condition for auto-roaming.")
1275
1276 Q_CLASSINFO("roamReturn", "Condition to return to the original repeater.")
1279
1280 Q_CLASSINFO("rangeCheckDescription", "Repeater range check.")
1283
1284 Q_CLASSINFO("checkIntervalDescription", "Repeater range check interval in seconds.")
1287
1288 Q_CLASSINFO("retryCount", "Number of retries to connect to a repeater before giving up.")
1291
1294
1295 Q_CLASSINFO("notificationDescription", "Enables the repeater-check notification.")
1298
1299 Q_CLASSINFO("notificationCountDescription", "The number of repeater-check notifications.")
1302
1305
1307 Q_PROPERTY(bool gpsRoaming READ gpsRoaming WRITE enableGPSRoaming)
1308
1309public:
1311 enum class RoamStart {
1312 Periodic=0, OutOfRange=1
1313 };
1314 Q_ENUM(RoamStart)
1315
1316
1317 enum class OutOfRangeAlert {
1318 None = 0x00, Bell = 0x01, Voice = 0x02
1319 };
1320 Q_ENUM(OutOfRangeAlert)
1321
1322public:
1324 explicit AnytoneRoamingSettingsExtension(QObject *parent=nullptr);
1325
1326 ConfigItem *clone() const;
1327
1329 bool autoRoam() const;
1331 void enableAutoRoam(bool enable);
1332
1334 Interval autoRoamPeriod() const;
1336 void setAutoRoamPeriod(Interval min);
1338 Interval autoRoamDelay() const;
1340 void setAutoRoamDelay(Interval sec);
1341
1343 bool repeaterRangeCheckEnabled() const;
1345 void enableRepeaterRangeCheck(bool enable);
1347 Interval repeaterCheckInterval() const;
1349 void setRepeaterCheckInterval(Interval sec);
1351 unsigned int repeaterRangeCheckCount() const;
1353 void setRepeaterRangeCheckCount(unsigned int count);
1355 OutOfRangeAlert outOfRangeAlert() const;
1357 void setOutOfRangeAlert(OutOfRangeAlert type);
1358
1360 RoamStart roamingStartCondition() const;
1362 void setRoamingStartCondition(RoamStart start);
1364 RoamStart roamingReturnCondition() const;
1366 void setRoamingReturnCondition(RoamStart start);
1367
1369 bool notificationEnabled() const;
1371 void enableNotification(bool enable);
1373 unsigned int notificationCount() const;
1375 void setNotificationCount(unsigned int n);
1376
1378 bool gpsRoaming() const;
1380 void enableGPSRoaming(bool enable);
1381
1383 RoamingZoneReference *defaultZone() const;
1384
1385protected:
1396 unsigned int _notificationCount;
1399};
1400
1401
1402
1408{
1409 Q_OBJECT
1410
1411 Q_CLASSINFO("Description", "Collects all bluetooth handset settings for AnyTone devices.")
1412
1413 Q_CLASSINFO("shutdownDescription", "Shuts the handset off too, when the radio is turned off.")
1414 Q_PROPERTY(bool shutdown READ shutdownEnabled WRITE enableShutdown)
1415
1416 Q_CLASSINFO("volumeLevelADescription", "Sets the volume level for VFO A.")
1417 Q_PROPERTY(unsigned int volumeLevelA READ volumeLevelA WRITE setVolumeLevelA)
1418 Q_CLASSINFO("volumeLevelBDescription", "Sets the volume level for VFO B.")
1419 Q_PROPERTY(unsigned int volumeLevelB READ volumeLevelB WRITE setVolumeLevelB)
1420
1421 Q_CLASSINFO("micGainDescription", "Specifies the microphone gain.")
1422 Q_PROPERTY(unsigned int micGain READ micGain WRITE setMicGain)
1423
1424 Q_PROPERTY(unsigned int squelch READ squelch WRITE setSquelch)
1425
1426 Q_PROPERTY(unsigned int txNoiseReduction READ txNoiseReduction WRITE setTxNoiseReduction)
1427
1428 Q_PROPERTY(unsigned int voxLevel READ voxLevel WRITE setVoxLevel)
1429 Q_PROPERTY(Interval voxDelay READ voxDelay WRITE setVoxDelay)
1430
1431 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyAShort READ funcKeyAShort WRITE setFuncKeyAShort)
1432 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBShort READ funcKeyBShort WRITE setFuncKeyBShort)
1433 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCShort READ funcKeyCShort WRITE setFuncKeyCShort)
1434 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyALong READ funcKeyALong WRITE setFuncKeyALong)
1435 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBLong READ funcKeyBLong WRITE setFuncKeyBLong)
1436 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCLong READ funcKeyCLong WRITE setFuncKeyCLong)
1437 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyAVeryLong READ funcKeyAVeryLong WRITE setFuncKeyAVeryLong)
1438 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBVeryLong READ funcKeyBVeryLong WRITE setFuncKeyBVeryLong)
1439 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCVeryLong READ funcKeyCVeryLong WRITE setFuncKeyCVeryLong)
1440
1441 Q_PROPERTY(Interval backlight READ backlight WRITE setBacklight)
1442
1443public:
1445 explicit AnytoneBluetoothHandsetSettingsExtension(QObject *parent=nullptr);
1446
1447 ConfigItem *clone() const override;
1448
1450 bool shutdownEnabled() const;
1452 void enableShutdown(bool enable);
1453
1455 unsigned int volumeLevelA() const;
1457 void setVolumeLevelA(unsigned int level);
1459 unsigned int volumeLevelB() const;
1461 void setVolumeLevelB(unsigned int level);
1462
1464 unsigned int micGain() const;
1466 void setMicGain(unsigned int gain);
1467
1469 unsigned int squelch() const;
1471 void setSquelch(unsigned int level);
1472
1474 unsigned int txNoiseReduction() const;
1476 void setTxNoiseReduction(unsigned int level);
1477
1479 unsigned int voxLevel() const;
1481 void setVoxLevel(unsigned int level);
1482
1484 Interval voxDelay() const;
1486 void setVoxDelay(Interval delay);
1487
1489 AnytoneKeySettingsExtension::KeyFunction funcKeyAShort() const;
1493 AnytoneKeySettingsExtension::KeyFunction funcKeyBShort() const;
1497 AnytoneKeySettingsExtension::KeyFunction funcKeyCShort() const;
1501 AnytoneKeySettingsExtension::KeyFunction funcKeyALong() const;
1505 AnytoneKeySettingsExtension::KeyFunction funcKeyBLong() const;
1509 AnytoneKeySettingsExtension::KeyFunction funcKeyCLong() const;
1513 AnytoneKeySettingsExtension::KeyFunction funcKeyAVeryLong() const;
1517 AnytoneKeySettingsExtension::KeyFunction funcKeyBVeryLong() const;
1521 AnytoneKeySettingsExtension::KeyFunction funcKeyCVeryLong() const;
1524
1526 Interval backlight() const;
1528 void setBacklight(Interval dur);
1529
1530protected:
1532 unsigned int _volumeLevelA;
1533 unsigned int _volumeLevelB;
1534 unsigned int _micGain;
1535 unsigned int _squelch;
1536 unsigned int _txNoiseReduction;
1537 unsigned int _voxLevel;
1558};
1559
1560
1561
1567{
1568 Q_OBJECT
1569
1570 Q_CLASSINFO("Description", "Collects all bluetooth settings for AnyTone devices.")
1571
1572
1573 Q_PROPERTY(bool enabled READ bluetoothEnabled WRITE enableBluetooth)
1575 Q_PROPERTY(bool pttLatch READ pttLatch WRITE enablePTTLatch)
1583 Q_PROPERTY(unsigned int micGain READ micGain WRITE setMicGain);
1585 Q_PROPERTY(unsigned int speakerGain READ speakerGain WRITE setSpeakerGain);
1592
1593public:
1595 explicit AnytoneBluetoothSettingsExtension(QObject *parent=nullptr);
1596
1597 ConfigItem *clone() const;
1598
1601
1603 bool bluetoothEnabled() const;
1605 void enableBluetooth(bool enable);
1606
1608 bool pttLatch() const;
1610 void enablePTTLatch(bool enable);
1611
1613 Interval pttSleepTimer() const;
1615 void setPTTSleepTimer(Interval intv);
1616
1618 bool internalMicEnabled() const;
1620 void enableInternalMic(bool enable);
1621
1623 bool internalSpeakerEnabled() const;
1625 void enableInternalSpeaker(bool enable);
1626
1628 unsigned int micGain() const;
1630 void setMicGain(unsigned int gain);
1631
1633 unsigned int speakerGain() const;
1635 void setSpeakerGain(unsigned int gain);
1636
1638 const Interval &holdDuration() const;
1640 void setHoldDuration(const Interval &dur);
1641
1643 const Interval &holdDelay() const;
1645 void setHoldDelay(const Interval &dur);
1646
1647protected:
1655 unsigned int _micGain;
1656 unsigned int _speakerGain;
1659};
1660
1661
1662
1668{
1669 Q_OBJECT
1670
1671 Q_CLASSINFO("enabledDescription", "If true, the repeater feature is enabled.")
1673 Q_PROPERTY(bool enabled READ enabled WRITE enable)
1674
1675 Q_CLASSINFO("monitorDescription", "If true, the repeater-monitoring is enabled.")
1677 Q_PROPERTY(bool monitor READ monitorEnabled WRITE enableMonitor)
1678
1679 Q_CLASSINFO("timeSlotDescription", "Specifies the time-slot of the primary repeater channel.")
1681 Q_PROPERTY(TimeSlot timeSlot READ timeSlot WRITE setTimeSlot)
1682
1683 Q_CLASSINFO("secTimeSlotDescription", "Specifies the time-slot of the secondary repeater channel.")
1686
1687 Q_CLASSINFO("colorCodeDescription", "Specifies the repeater color code.")
1688 Q_PROPERTY(ColorCode colorCode READ colorCode WRITE setColorCode)
1689
1690public:
1692 enum class TimeSlot {
1693 Any, TS1, TS2, Channel
1694 };
1695 Q_ENUM(TimeSlot)
1696
1697
1698 enum class ColorCode {
1699 Ignored, VFOA, VFOB
1700 };
1701 Q_ENUM(ColorCode)
1702
1703public:
1705 explicit AnytoneRepeaterSettingsExtension(QObject *parent=nullptr);
1706
1707 ConfigItem *clone() const;
1708
1710 bool enabled() const;
1712 void enable(bool enable);
1713
1715 bool monitorEnabled() const;
1717 void enableMonitor(bool enable);
1718
1720 TimeSlot timeSlot() const;
1722 void setTimeSlot(TimeSlot ts);
1723
1725 TimeSlot secTimeSlot() const;
1727 void setSecTimeSlot(TimeSlot ts);
1728
1730 ColorCode colorCode() const;
1732 void setColorCode(ColorCode code);
1733
1734protected:
1740};
1741
1742
1743
1749{
1750 Q_OBJECT
1751
1752 Q_CLASSINFO("powerDescription", "Specifies the transmit power in satellite mode.")
1754 Q_PROPERTY(Channel::Power power READ power WRITE setPower)
1755
1756 Q_CLASSINFO("squelchDescription", "Specifies FM squelch level in satellite mode.")
1758 Q_PROPERTY(unsigned int squelch READ squelch WRITE setSquelch)
1759
1760public:
1762 explicit AnytoneSatelliteSettingsExtension(QObject *parent=nullptr);
1763
1764 ConfigItem *clone() const;
1765
1767 Channel::Power power() const;
1769 void setPower(Channel::Power power);
1770
1772 unsigned int squelch() const;
1774 void setSquelch(unsigned int squelch);
1775
1776protected:
1780 unsigned int _squelch;
1781};
1782
1783
1784
1792{
1793 Q_OBJECT
1794
1795 Q_CLASSINFO("description", "Device specific settings for AnyTone devices.")
1796
1797 Q_CLASSINFO("subChannelDescription", "Enables/disables the sub-channel.")
1800
1801 Q_CLASSINFO("selectedVFODecription", "Specifies the currently selected VFO (A or B).")
1804
1805 Q_CLASSINFO("modeADescription", "Specifies the mode (memory or VFO) for VFO A.")
1806 Q_CLASSINFO("modeBDescription", "Specifies the mode (memory or VFO) for VFO B.")
1808 Q_PROPERTY(VFOMode modeA READ modeA WRITE setModeA)
1810 Q_PROPERTY(VFOMode modeB READ modeB WRITE setModeB)
1811
1812 Q_CLASSINFO("zoneADescription", "Specifies the current zone for VFO A.")
1813 Q_CLASSINFO("zoneBDescription", "Specifies the current zone for VFO B.")
1815 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
1817 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
1818
1829
1830 Q_CLASSINFO("keepLastCallerDescription", "Keeps the last caller on channel switch")
1833
1834 Q_CLASSINFO("vfoStepDescription", "Specifies the VFO tuning steps in kHz.")
1836 Q_PROPERTY(Frequency vfoStep READ vfoStep WRITE setVFOStep)
1837
1838 Q_CLASSINFO("steTypeDescription", "Specifies the STE (squelch tail elimination) type.")
1839 Q_CLASSINFO("steTypeLongDescription", "Can also be used to disable the STE entirely.")
1841 Q_PROPERTY(STEType steType READ steType WRITE setSTEType)
1842
1843 Q_CLASSINFO("steFrequencyDescription", "Specifies the STE (squelch tail elimination) frequency in Hz.")
1845 Q_PROPERTY(double steFrequency READ steFrequency WRITE setSTEFrequency)
1846
1847 Q_CLASSINFO("steDurationDescription", "Specifies the duration of the STE (squelch tail elimination) tone.")
1848 Q_CLASSINFO("steDurationLongDescription", "Valid values are usually in the range between 10 and 1000ms.")
1851
1852 Q_CLASSINFO("tbstFrequencyDescription", "Specifies the TBST frequency in Hz.")
1853 Q_CLASSINFO("tbstFrequencyDescription", "Should be one of 1000, 1450, 1750 and 2100 Hz. "
1854 "D878UV(2), D578UV and DMR-6X2UV only.")
1857
1858 Q_CLASSINFO("proModeDescription", "Enables 'professional' mode. This limits the option reachable via the menu.")
1860 Q_PROPERTY(bool proMode READ proModeEnabled WRITE enableProMode)
1861
1863 Q_PROPERTY(bool maintainCallChannel READ maintainCallChannelEnabled WRITE enableMaintainCallChannel)
1864
1866 Q_PROPERTY(FanControl fan READ fan WRITE setFan);
1867
1892
1893 Q_CLASSINFO("simplexRepeaterSettingsDescription",
1894 "Configuration for the DMR-6X2UV simplex-repeater feature.")
1897
1898 Q_CLASSINFO("satelliteSettingsDescription",
1899 "Some settings of for satellite mode.")
1900 Q_PROPERTY(AnytoneSatelliteSettingsExtension * satelliteSettings READ satelliteSettings)
1901
1902public:
1904 enum class VFOScanType {
1905 Time = 0, Carrier = 1, Stop = 2
1906 };
1907 Q_ENUM(VFOScanType)
1908
1909
1910 enum class VFOMode {
1911 Memory = 0, VFO = 1
1912 };
1913 Q_ENUM(VFOMode)
1914
1915
1916 enum class VFO {
1917 A = 0, B = 1
1918 };
1919 Q_ENUM(VFO)
1920
1921
1922 enum class STEType {
1923 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
1924 };
1925 Q_ENUM(STEType)
1926
1927 enum class FanControl {
1928 PTT, Temperature, Both
1929 };
1930 Q_ENUM(FanControl)
1931
1932
1933public:
1935 Q_INVOKABLE explicit AnytoneSettingsExtension(QObject *parent=nullptr);
1936
1937 ConfigItem *clone() const;
1938
1940 AnytoneBootSettingsExtension *bootSettings() const;
1942 AnytonePowerSaveSettingsExtension *powerSaveSettings() const;
1944 AnytoneKeySettingsExtension *keySettings() const;
1946 AnytoneToneSettingsExtension *toneSettings() const;
1948 AnytoneDisplaySettingsExtension *displaySettings() const;
1950 AnytoneAudioSettingsExtension *audioSettings() const;
1952 AnytoneMenuSettingsExtension *menuSettings() const;
1954 AnytoneAutoRepeaterSettingsExtension *autoRepeaterSettings() const;
1956 AnytoneDMRSettingsExtension *dmrSettings() const;
1958 AnytoneGPSSettingsExtension *gpsSettings() const;
1960 AnytoneRoamingSettingsExtension *roamingSettings() const;
1962 AnytoneBluetoothSettingsExtension *bluetoothSettings() const;
1964 AnytoneRepeaterSettingsExtension *repeaterSettings() const;
1966 AnytoneSatelliteSettingsExtension *satelliteSettings() const;
1967
1969 VFOScanType vfoScanType() const;
1971 void setVFOScanType(VFOScanType type);
1972
1974 VFOMode modeA() const;
1976 void setModeA(VFOMode mode);
1978 VFOMode modeB() const;
1980 void setModeB(VFOMode mode);
1981
1985 const ZoneReference *zoneA() const;
1989 const ZoneReference *zoneB() const;
1990
1992 VFO selectedVFO() const;
1994 void setSelectedVFO(VFO vfo);
1995
1997 bool subChannelEnabled() const;
1999 void enableSubChannel(bool enable);
2000
2009
2018
2020 bool keepLastCallerEnabled() const;
2022 void enableKeepLastCaller(bool enable);
2023
2025 Frequency vfoStep() const;
2027 void setVFOStep(Frequency step);
2028
2030 STEType steType() const;
2032 void setSTEType(STEType type);
2035 double steFrequency() const;
2038 void setSTEFrequency(double freq);
2040 Interval steDuration() const;
2042 void setSTEDuration(Interval intv);
2043
2045 Frequency tbstFrequency() const;
2047 void setTBSTFrequency(Frequency Hz);
2048
2050 bool proModeEnabled() const;
2052 void enableProMode(bool enable);
2053
2055 bool maintainCallChannelEnabled() const;
2057 void enableMaintainCallChannel(bool enable);
2058
2060 FanControl fan() const;
2062 void setFan(FanControl ctlr);
2063
2065 //Channel::Power satPower();
2066
2067protected:
2096
2116 FanControl _fan;
2117};
2118
2119
2120
2121#endif // ANYTONE_SETTINGSEXTENSION_H
Implements the audio settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:699
HandsetSpeakerSource handsetSpeaker
The source for the handset speaker.
Definition anytone_settingsextension.hh:717
bool _recording
Recording enabled.
Definition anytone_settingsextension.hh:789
void setHandsetType(HandsetType type)
Sets the handset type.
Definition anytone_settingsextension.cc:1776
void enableRecording(bool enable)
Enables/disables recording.
Definition anytone_settingsextension.cc:1698
void enableEnhanceAudio(bool enable)
Enables/disables enhanced audio.
Definition anytone_settingsextension.cc:1722
Interval muteDelay
The mute delay in minutes.
Definition anytone_settingsextension.hh:712
bool enhance
If true, the audio is "enhanced".
Definition anytone_settingsextension.hh:709
AnytoneAudioSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1674
bool recording
If true, recording is enabled.
Definition anytone_settingsextension.hh:706
HandsetType handsetType
The handset type.
Definition anytone_settingsextension.hh:719
Interval _voxDelay
VOX delay in ms.
Definition anytone_settingsextension.hh:788
Speaker speaker
The enables speakers.
Definition anytone_settingsextension.hh:715
VoxSource
Source for the VOX.
Definition anytone_settingsextension.hh:723
HandsetSpeakerSource
Possible handset speaker sources.
Definition anytone_settingsextension.hh:735
HandsetType _handsetType
Handset type.
Definition anytone_settingsextension.hh:795
void setHandsetSpeaker(HandsetSpeakerSource src)
Sets the handset speaker source.
Definition anytone_settingsextension.cc:1762
bool _enhanceAudio
Enhance audio.
Definition anytone_settingsextension.hh:791
void setVOXSource(VoxSource source)
Sets the VOX source.
Definition anytone_settingsextension.cc:1710
bool recordingEnabled() const
Returns true if recording is enabled.
Definition anytone_settingsextension.cc:1694
HandsetType
Specifies possible handset types.
Definition anytone_settingsextension.hh:741
VoxSource voxSource
The VOX source.
Definition anytone_settingsextension.hh:703
HandsetSpeakerSource _handsetSpeaker
Specifies the handset speaker source.
Definition anytone_settingsextension.hh:794
bool enhanceAudioEnabled() const
Returns true if the audio is "enhanced".
Definition anytone_settingsextension.cc:1718
void setSpeaker(Speaker speaker)
Sets, which speacker are enabled.
Definition anytone_settingsextension.cc:1748
void setMuteDelay(Interval intv)
Sets the mute delay.
Definition anytone_settingsextension.cc:1734
Interval _muteDelay
Mute delay in minutes.
Definition anytone_settingsextension.hh:792
VoxSource _voxSource
The VOX source.
Definition anytone_settingsextension.hh:790
Speaker
Possible speaker settings.
Definition anytone_settingsextension.hh:729
Speaker _speaker
Specifies which speaker are enabled.
Definition anytone_settingsextension.hh:793
Represents a list of auto-repeater offsets.
Definition anytone_settingsextension.hh:884
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:2028
AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:2045
Represents a reference to a repeater offset.
Definition anytone_settingsextension.hh:872
AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2036
Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1999
separatelyFrequency offset
The offset frequency.
Definition anytone_settingsextension.hh:850
Frequency _offset
The transmit frequency offset in Hz.
Definition anytone_settingsextension.hh:865
void setOffset(Frequency offset)
Sets the transmit frequency offset in Hz.
Definition anytone_settingsextension.cc:2020
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2006
Implements the auto-repeater settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:900
Direction directionA
Specifies the auto-repeater transmit-frequency offset direction for VFO A.
Definition anytone_settingsextension.hh:906
Frequency uhfMin
The minimum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:922
AnytoneAutoRepeaterOffsetRef * uhf
A reference to the auto-repeater frequency for UHF.
Definition anytone_settingsextension.hh:934
AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1832
Frequency _minUHF2
Minimum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1057
AnytoneAutoRepeaterOffsetRef * vhf2
A reference to the auto-repeater frequency for the second VHF band.
Definition anytone_settingsextension.hh:954
void setVHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:1896
AnytoneAutoRepeaterOffsetRef * uhfRef() const
Returns the reference for the UHF offset freuqency.
Definition anytone_settingsextension.cc:1931
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:1962
AnytoneAutoRepeaterOffsetRef * vhf
A reference to the auto-repeater frequency for VHF.
Definition anytone_settingsextension.hh:930
AnytoneAutoRepeaterOffsetRef * uhf2
A reference to the auto-repeater frequency for the second UHF band.
Definition anytone_settingsextension.hh:958
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1059
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1043
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_settingsextension.hh:1037
AnytoneAutoRepeaterOffsetList * offsets
The repeater transmit offset frequencies.
Definition anytone_settingsextension.hh:962
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1041
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_settingsextension.hh:1063
Frequency vhf2Max
The maximum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:942
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:1940
Direction directionB
Specifies the auto-repeater transmit-frequency offset direction for VFO B.
Definition anytone_settingsextension.hh:910
void setVHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:1885
AnytoneAutoRepeaterOffsetRef * vhfRef() const
Returns the reference for the VHF offset freuqency.
Definition anytone_settingsextension.cc:1926
Direction _directionB
The auto-repeater direction for VFO B.
Definition anytone_settingsextension.hh:1039
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:1951
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:1973
void setDirectionB(Direction dir)
Set the auto-repeater offset direction for VFO V.
Definition anytone_settingsextension.cc:1873
Frequency uhfMax
The maximum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:926
AnytoneAutoRepeaterOffsetRef * vhf2Ref() const
Returns the reference for the second VHF offset freuqency.
Definition anytone_settingsextension.cc:1981
Direction
Encodes the auto-repeater offset sign.
Definition anytone_settingsextension.hh:966
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_settingsextension.hh:1049
void setDirectionA(Direction dir)
Set the auto-repeater offset direction for VFO A.
Definition anytone_settingsextension.cc:1862
Frequency _maxVHF2
Maximum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1055
void setUHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:1907
AnytoneAutoRepeaterOffsetRef * uhf2Ref() const
Returns the reference for the second UHF offset freuqency.
Definition anytone_settingsextension.cc:1986
AnytoneAutoRepeaterOffsetRef * _uhfOffset
A reference to the UHF offset frequency.
Definition anytone_settingsextension.hh:1051
Frequency vhf2Min
The minimum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:938
Frequency uhf2Min
The minimum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:946
void setUHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:1918
Frequency vhfMin
The minimum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:914
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1045
Frequency uhf2Max
The maximum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:950
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_settingsextension.hh:1065
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1047
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1053
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_settingsextension.hh:1061
Frequency vhfMax
The maximum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:918
Implements the bluetooth handset settings for AnyTone devices.
Definition anytone_settingsextension.hh:1408
void setVoxDelay(Interval delay)
Sets the VOX delay.
Definition anytone_settingsextension.cc:2195
void setFuncKeyALong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A long press function.
Definition anytone_settingsextension.cc:2248
AnytoneKeySettingsExtension::KeyFunction _funcKeyBLong
Function key B long press function.
Definition anytone_settingsextension.hh:1548
void setMicGain(unsigned int gain)
Sets the mic gain.
Definition anytone_settingsextension.cc:2135
ConfigItem * clone() const override
Clones this item.
Definition anytone_settingsextension.cc:2075
unsigned int _voxLevel
Specifies the VOX level.
Definition anytone_settingsextension.hh:1537
unsigned int _volumeLevelB
Specifies the volume level for VFO B.
Definition anytone_settingsextension.hh:1533
void setVolumeLevelB(unsigned int level)
Sets the volume level for VFO B.
Definition anytone_settingsextension.cc:2120
AnytoneKeySettingsExtension::KeyFunction _funcKeyCLong
Function key B long press function.
Definition anytone_settingsextension.hh:1550
unsigned int _volumeLevelA
Specifies the volume level for VFO A.
Definition anytone_settingsextension.hh:1532
void setFuncKeyCVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C very long press function.
Definition anytone_settingsextension.cc:2313
void setBacklight(Interval dur)
Sets the backlight duration.
Definition anytone_settingsextension.cc:2326
void setFuncKeyAVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A very long press function.
Definition anytone_settingsextension.cc:2287
unsigned int _txNoiseReduction
Specifies the transmit noise reduction level.
Definition anytone_settingsextension.hh:1536
unsigned int _squelch
Specifies the squelch level.
Definition anytone_settingsextension.hh:1535
void setTxNoiseReduction(unsigned int level)
Sets the transmit noise reduction level.
Definition anytone_settingsextension.cc:2165
void setFuncKeyCShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C short press function.
Definition anytone_settingsextension.cc:2235
AnytoneKeySettingsExtension::KeyFunction _funcKeyCShort
Function key B short press function.
Definition anytone_settingsextension.hh:1544
void setFuncKeyAShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A short press function.
Definition anytone_settingsextension.cc:2209
bool shutdownEnabled() const
Returns true, if the handset is shutdown along with the radio.
Definition anytone_settingsextension.cc:2086
void setFuncKeyBLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B long press function.
Definition anytone_settingsextension.cc:2261
bool _shutdown
Shut the handset down along with the radio.
Definition anytone_settingsextension.hh:1531
AnytoneKeySettingsExtension::KeyFunction _funcKeyALong
Function key A long press function.
Definition anytone_settingsextension.hh:1546
Interval _voxDelay
Specifies the VOX delay.
Definition anytone_settingsextension.hh:1538
void enableShutdown(bool enable)
Enables/disables shutting the handset down along with the radio.
Definition anytone_settingsextension.cc:2091
AnytoneKeySettingsExtension::KeyFunction _funcKeyAShort
Function key A short press function.
Definition anytone_settingsextension.hh:1540
void setVoxLevel(unsigned int level)
Set the VOX level.
Definition anytone_settingsextension.cc:2180
void setVolumeLevelA(unsigned int level)
Sets the volume level for VFO A.
Definition anytone_settingsextension.cc:2105
void setFuncKeyBVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B very long press function.
Definition anytone_settingsextension.cc:2300
AnytoneKeySettingsExtension::KeyFunction _funcKeyBShort
Function key B short press function.
Definition anytone_settingsextension.hh:1542
AnytoneKeySettingsExtension::KeyFunction _funcKeyBVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1554
void setFuncKeyCLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C long press function.
Definition anytone_settingsextension.cc:2274
AnytoneKeySettingsExtension::KeyFunction _funcKeyCVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1556
Interval _backlight
Backlight duration.
Definition anytone_settingsextension.hh:1557
void setFuncKeyBShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B short press function.
Definition anytone_settingsextension.cc:2222
AnytoneBluetoothHandsetSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2056
unsigned int _micGain
Specifies the mic gain.
Definition anytone_settingsextension.hh:1534
AnytoneKeySettingsExtension::KeyFunction _funcKeyAVeryLong
Function key A very long press function.
Definition anytone_settingsextension.hh:1552
void setSquelch(unsigned int level)
Sets the squelch level.
Definition anytone_settingsextension.cc:2150
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_settingsextension.hh:1567
Interval _pttSleep
PTT sleep timer, 0 is off.
Definition anytone_settingsextension.hh:1652
unsigned int micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1583
void setPTTSleepTimer(Interval intv)
Sets the PTT sleep timeout, 0 means off.
Definition anytone_settingsextension.cc:2394
Interval _holdDelay
What ever.
Definition anytone_settingsextension.hh:1658
bool enabled
If true, bluetooth is enabled.
Definition anytone_settingsextension.hh:1573
AnytoneBluetoothSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2338
bool internalSpeaker
If true, the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.hh:1581
bool _pttLatch
PTT latch flag.
Definition anytone_settingsextension.hh:1651
unsigned int speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1585
void setMicGain(unsigned int gain)
Sets the bluetooth mic gain.
Definition anytone_settingsextension.cc:2433
Interval holdDelay
The bluetooth hold delay.
Definition anytone_settingsextension.hh:1589
bool _internalMic
Additionally enables internal mic.
Definition anytone_settingsextension.hh:1653
bool internalMicEnabled() const
Returns true if the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2402
void enableInternalMic(bool enable)
Enables/disables internal mic additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2407
void setSpeakerGain(unsigned int gain)
Sets the bluetooth speaker gain.
Definition anytone_settingsextension.cc:2446
bool _bluetoothEnabled
Enables bluetooth.
Definition anytone_settingsextension.hh:1650
void enableInternalSpeaker(bool enable)
Enables/disables internal speaker additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2420
const Interval & holdDuration() const
Returns the bluetooth hold duration.
Definition anytone_settingsextension.cc:2454
void enablePTTLatch(bool enable)
Enables/disables the PTT latch.
Definition anytone_settingsextension.cc:2364
void enableBluetooth(bool enable)
Enables/disables bluetooth.
Definition anytone_settingsextension.cc:2382
AnytoneBluetoothHandsetSettingsExtension * _handset
Handset settings.
Definition anytone_settingsextension.hh:1649
unsigned int _speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1656
unsigned int _micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1655
Interval hold
The bluetooth hold duration.
Definition anytone_settingsextension.hh:1587
bool internalSpeakerEnabled() const
Returns true if the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2415
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2350
AnytoneBluetoothHandsetSettingsExtension * handset
The handset settings.
Definition anytone_settingsextension.hh:1591
Interval _holdDuration
What ever.
Definition anytone_settingsextension.hh:1657
bool pttLatch
If true, the PTT latch is enabled.
Definition anytone_settingsextension.hh:1575
void setHoldDelay(const Interval &dur)
Sets the bluetooth hold delay.
Definition anytone_settingsextension.cc:2472
bool _internalSpeaker
Additionally enables internal speaker.
Definition anytone_settingsextension.hh:1654
void setHoldDuration(const Interval &dur)
Sets the bluetooth hold duration.
Definition anytone_settingsextension.cc:2459
Interval pttSleepTimer
The sleep timeout of the PTT button.
Definition anytone_settingsextension.hh:1577
bool internalMic
If true, the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.hh:1579
bool bluetoothEnabled() const
Returns true if bluetooth is enabled.
Definition anytone_settingsextension.cc:2377
Implements the boot settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:20
ZoneReference * priorityZoneB
The priority zone for VFO B.
Definition anytone_settingsextension.hh:26
AnytoneBootSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:777
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:786
ZoneReference * _priorityZoneA
Priority zone for VFO A.
Definition anytone_settingsextension.hh:48
bool gpsCheckEnabled() const
Returns true if the GPS check is enabled.
Definition anytone_settingsextension.cc:806
bool _gpsCheck
Enables GPS check.
Definition anytone_settingsextension.hh:50
ZoneReference * _priorityZoneB
Priority zone for VFO B.
Definition anytone_settingsextension.hh:49
void enableGPSCheck(bool enable)
Enables/disables the GPS check.
Definition anytone_settingsextension.cc:810
bool gpsCheck
Enables the GPS check.
Definition anytone_settingsextension.hh:29
ZoneReference * priorityZoneA
The priority zone for VFO A.
Definition anytone_settingsextension.hh:24
Implements the DMR settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1074
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:1191
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:1084
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_settingsextension.hh:1192
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:1080
SlotMatch monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1092
EncryptionType _encryption
DMR encryption type.
Definition anytone_settingsextension.hh:1195
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.hh:1193
Interval _manualGroupCallHangTime
Hang-time for manual dialed group-calls in seconds.
Definition anytone_settingsextension.hh:1186
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:1189
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:1078
bool filterOwnID
Filter own ID from call lists.
Definition anytone_settingsextension.hh:1088
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:1190
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:1188
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_settingsextension.hh:1194
Interval _manualPrivateCallHangTime
Hang-time for manual dialed private-calls in seconds.
Definition anytone_settingsextension.hh:1187
Implements the display settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:427
Language language() const
Returns the UI language.
Definition anytone_settingsextension.cc:1437
bool showCallEnabled() const
Returns true if the call is shown.
Definition anytone_settingsextension.cc:1413
void setZoneBNameColor(Color color)
Sets the zone name color for VFO B.
Definition anytone_settingsextension.cc:1638
void setDateFormat(DateFormat format)
Sets the date format.
Definition anytone_settingsextension.cc:1453
void setChannelNameColor(Color color)
Sets the color of the channel name.
Definition anytone_settingsextension.cc:1602
void enableShowGlobalChannelNumber(bool enable)
Enables/disables showing the global channel number.
Definition anytone_settingsextension.cc:1477
bool showChannelType() const
Returns true if the channel type is shown.
Definition anytone_settingsextension.cc:1509
Color _zoneNameColor
Color of zone name.
Definition anytone_settingsextension.hh:689
bool showLastHeardEnabled() const
Shows the last caller.
Definition anytone_settingsextension.cc:1533
bool _callEndPrompt
Call-end prompt enabled.
Definition anytone_settingsextension.hh:667
bool _showLastHeard
Shows the last caller.
Definition anytone_settingsextension.hh:682
bool _showTimeSlot
Show time slot.
Definition anytone_settingsextension.hh:677
LastCallerDisplayMode _lastCallerDisplay
Last-caller display mode.
Definition anytone_settingsextension.hh:668
bool _showColorCode
Show color code.
Definition anytone_settingsextension.hh:676
bool _showContact
Enables showing the contact.
Definition anytone_settingsextension.hh:679
void enableCallEndPrompt(bool enable)
Enables/disables the call-end prompt.
Definition anytone_settingsextension.cc:1381
bool displayFrequencyEnabled() const
Returns true, if the frequency is displayed instead of the channel name.
Definition anytone_settingsextension.cc:1353
Color _callColor
Color of call.
Definition anytone_settingsextension.hh:671
void enableDisplayFrequency(bool enable)
Enables/disables display of frequency.
Definition anytone_settingsextension.cc:1357
bool showGlobalChannelNumber() const
Returns true, if the global channel number is shown.
Definition anytone_settingsextension.cc:1473
bool showTimeSlot() const
Returns true if the time slot is shown.
Definition anytone_settingsextension.cc:1497
void setStandbyTextColor(Color color)
Sets the standby text color.
Definition anytone_settingsextension.cc:1549
bool _customChannelBackground
Custom channel background enabled.
Definition anytone_settingsextension.hh:686
AnytoneDisplaySettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:1314
bool showClockEnabled() const
Returns true if the clock is shown.
Definition anytone_settingsextension.cc:1401
void enableShowTimeSlot(bool enable)
Shows/hides time slot.
Definition anytone_settingsextension.cc:1501
void enableShowColorCode(bool enable)
Shows/hides color code.
Definition anytone_settingsextension.cc:1489
unsigned int brightness
The display brightness [1-10].
Definition anytone_settingsextension.hh:433
Color _channelNameColor
Color of channel name.
Definition anytone_settingsextension.hh:687
bool customChannelBackground() const
Returns true if the custom channel background is enabled.
Definition anytone_settingsextension.cc:1658
Color callColor() const
Returns the color of the call.
Definition anytone_settingsextension.cc:1425
void setLastCallerDisplay(LastCallerDisplayMode mode)
Sets the last caller display mode.
Definition anytone_settingsextension.cc:1393
void enableShowChannelNumber(bool enable)
Enables/disables the display of the channel number.
Definition anytone_settingsextension.cc:1465
unsigned int _brightness
The display brightness.
Definition anytone_settingsextension.hh:665
Color _zoneBNameColor
Color of zone name for VFO B.
Definition anytone_settingsextension.hh:690
Color zoneNameColor() const
Returns the color of the zone name.
Definition anytone_settingsextension.cc:1622
Color _standbyBackgroundColor
Standby background color.
Definition anytone_settingsextension.hh:681
void setStandbyBackgroundColor(Color color)
Sets the standby background color.
Definition anytone_settingsextension.cc:1561
bool callEndPromptEnabled() const
Returns true if the call-end prompt is shown.
Definition anytone_settingsextension.cc:1377
Interval _backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:683
void enableShowChannelType(bool enable)
Shows/hides channel type.
Definition anytone_settingsextension.cc:1513
bool displayFrequency
The display frequency setting.
Definition anytone_settingsextension.hh:431
bool showColorCode() const
Returns true if the color code is shown.
Definition anytone_settingsextension.cc:1485
Color _standbyTextColor
Standby text color.
Definition anytone_settingsextension.hh:680
bool _volumeChangePrompt
Volume-change prompt enabled.
Definition anytone_settingsextension.hh:666
bool _showChannelNumber
Show channel number.
Definition anytone_settingsextension.hh:674
Interval _backlightDurationTX
Backlight duration during TX (0=off).
Definition anytone_settingsextension.hh:684
bool _showGlobalChannelNumber
Show global channel number.
Definition anytone_settingsextension.hh:675
void setBacklightDuration(Interval sec)
Sets the backlight duration in seconds.
Definition anytone_settingsextension.cc:1575
Color channelNameColor() const
Returns the color of the channel name.
Definition anytone_settingsextension.cc:1598
void setBacklightDurationTX(Interval sec)
Sets the backlight duration during TX in seconds.
Definition anytone_settingsextension.cc:1589
bool showChannelNumberEnabled() const
Returns true if the channel number is shown.
Definition anytone_settingsextension.cc:1461
void enableShowLastHeard(bool enable)
Enables/disables display of last caller.
Definition anytone_settingsextension.cc:1537
DateFormat dateFormat() const
Returns the date format.
Definition anytone_settingsextension.cc:1449
bool _showClock
Display clock.
Definition anytone_settingsextension.hh:669
bool _showCall
Display call.
Definition anytone_settingsextension.hh:670
Interval backlightDurationTX() const
Returns backlight duration during TX.
Definition anytone_settingsextension.cc:1584
bool _displayFrequency
Display frequency property.
Definition anytone_settingsextension.hh:664
bool volumeChangePromptEnabled() const
Returns true if the volume-change prompt is shown.
Definition anytone_settingsextension.cc:1365
void setBacklightDurationRX(Interval sec)
Sets the backlight duration during RX in seconds.
Definition anytone_settingsextension.cc:1650
void enableCustomChannelBackground(bool enable)
Enables/disables the custom channel background.
Definition anytone_settingsextension.cc:1662
void setCallColor(Color color)
Sets the color of the call.
Definition anytone_settingsextension.cc:1429
bool showContact() const
Returns true if the contact is shown.
Definition anytone_settingsextension.cc:1521
void enableShowCall(bool enable)
Enables/disables display of call.
Definition anytone_settingsextension.cc:1417
void enableShowClock(bool enable)
Enables/disables clock.
Definition anytone_settingsextension.cc:1405
void setZoneNameColor(Color color)
Sets the color of the zone name.
Definition anytone_settingsextension.cc:1626
Color standbyTextColor() const
Returns the standby text color.
Definition anytone_settingsextension.cc:1545
Language _language
UI language.
Definition anytone_settingsextension.hh:672
void setLanguage(Language lang)
Sets the UI language.
Definition anytone_settingsextension.cc:1441
void setChannelBNameColor(Color color)
Sets the channel name color for VFO B.
Definition anytone_settingsextension.cc:1614
Color zoneBNameColor() const
Returns the color of the zone name for VFO B.
Definition anytone_settingsextension.cc:1634
Interval backlightDurationRX() const
Returns backlight duration during RX.
Definition anytone_settingsextension.cc:1646
void setBrightness(unsigned int level)
Sets the display brightness [1-10].
Definition anytone_settingsextension.cc:1345
LastCallerDisplayMode lastCallerDisplay() const
Returns the last caller display mode.
Definition anytone_settingsextension.cc:1389
DateFormat _dateFormat
The date format.
Definition anytone_settingsextension.hh:673
Color channelBNameColor() const
Returns the color of the channel name for VFO B.
Definition anytone_settingsextension.cc:1610
Interval backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:437
bool _showChannelType
Show channel type.
Definition anytone_settingsextension.hh:678
void enableVolumeChangePrompt(bool enable)
Enables/disables the volume-change prompt.
Definition anytone_settingsextension.cc:1369
Color standbyBackgroundColor() const
Returns the standby background color.
Definition anytone_settingsextension.cc:1557
Interval _backlightDurationRX
Backlight duration during RX.
Definition anytone_settingsextension.hh:685
void enableShowContact(bool enable)
Enables/disables the display of calling contact.
Definition anytone_settingsextension.cc:1525
Color _channelBNameColor
Color of channel name for VFO B.
Definition anytone_settingsextension.hh:688
Implements the GPS settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1204
Interval updatePeriod
GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1217
QString timeZone
The time-zone IANA Id.
Definition anytone_settingsextension.hh:1209
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:1246
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:1213
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:167
QTimeZone _timeZone
The time zone.
Definition anytone_settingsextension.hh:1245
Interval _gpsRangingInterval
The GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1247
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:123
KeyFunction _funcKey6Short
Function of the function key 6, short press.
Definition anytone_settingsextension.hh:363
KeyFunction _funcKey3Short
Function of the function key 3, short press.
Definition anytone_settingsextension.hh:357
void setFuncKeyBLong(KeyFunction func)
Sets the key function for a long press on the function key B.
Definition anytone_settingsextension.cc:1097
KeyFunction funcKey6Short
Function key 6 (P6 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:147
KeyFunction funcKeyCLong
Function key C (PF3 on top or B on mic), long press function.
Definition anytone_settingsextension.hh:161
void setFuncKeyCLong(KeyFunction func)
Sets the key function for a long press on the function key C.
Definition anytone_settingsextension.cc:1120
void setFuncKey5Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 5.
Definition anytone_settingsextension.cc:1017
void enableKeypadLock(bool enable)
Enables/disables the key-pad lock.
Definition anytone_settingsextension.cc:1233
KeyFunction _funcKey1Long
Function of the function key 1, long press.
Definition anytone_settingsextension.hh:354
bool sideKeysLockEnabled() const
Returns true if the side-keys gets locked too.
Definition anytone_settingsextension.cc:1240
bool autoKeyLock
The auto key-lock property.
Definition anytone_settingsextension.hh:177
KeyFunction _funcKeyAShort
Function of the function key A, short press.
Definition anytone_settingsextension.hh:365
void setFuncKey2Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 2.
Definition anytone_settingsextension.cc:948
KeyFunction funcKey1Short
Function key 1 (P1 below or next to screen), short press function.
Definition anytone_settingsextension.hh:127
KeyFunction _funcKeyBShort
Function of the function key B, short press.
Definition anytone_settingsextension.hh:367
KeyFunction funcKey3Long
Function key 3 (P3 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:137
KeyFunction funcKey2Short
Function key 2 (P2 below or next to screen), short press function.
Definition anytone_settingsextension.hh:131
KeyFunction funcKey6Long
Function key 6 (P6 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:149
void enableKnobLock(bool enable)
Enables/disables the knob lock.
Definition anytone_settingsextension.cc:1222
bool _sideKeysLock
Side-keys are locked.
Definition anytone_settingsextension.hh:380
KeyFunction funcKey2Long
Function key 2 (P2 below or next to screen), long press function.
Definition anytone_settingsextension.hh:133
KeyFunction _funcKey5Long
Function of the function key 5, long press.
Definition anytone_settingsextension.hh:362
void setFuncKeyDLong(KeyFunction func)
Sets the key function for a long press on the function key D.
Definition anytone_settingsextension.cc:1143
KeyFunction funcKey1Long
Function key 1 (P1 below or next to screen), long press function.
Definition anytone_settingsextension.hh:129
KeyFunction _funcKey2Long
Function of the function key 2, long press.
Definition anytone_settingsextension.hh:356
KeyFunction funcKeyCShort
Function key C (PF3 on top or C on mic), short press function.
Definition anytone_settingsextension.hh:159
KeyFunction _funcKeyALong
Function of the function key A, long press.
Definition anytone_settingsextension.hh:366
KeyFunction _funcKey2Short
Function of the function key 2, short press.
Definition anytone_settingsextension.hh:355
KeyFunction
All possible key functions.
Definition anytone_settingsextension.hh:197
void setLongPressDuration(Interval ms)
Sets the long-press duration in ms.
Definition anytone_settingsextension.cc:1183
AnytoneKeySettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:890
void setFuncKey4Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 4.
Definition anytone_settingsextension.cc:994
KeyFunction _funcKnobLong
Function of the knob, long press.
Definition anytone_settingsextension.hh:374
void setUpDownKeyFunction(UpDownKeyFunction func)
Sets the up/down key function.
Definition anytone_settingsextension.cc:1197
void setFuncKeyDShort(KeyFunction func)
Sets the key function for a short press on the function key D.
Definition anytone_settingsextension.cc:1132
void setFuncKeyAShort(KeyFunction func)
Sets the key function for a short press on the function key A.
Definition anytone_settingsextension.cc:1063
KeyFunction funcKeyBShort
Function key B (PF2 second below PTT or B on mic), short press function.
Definition anytone_settingsextension.hh:155
KeyFunction funcKey5Long
Function key 5 (P5 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:145
KeyFunction funcKeyAShort
Function key A (PF1 below PTT or A on mic), short press function.
Definition anytone_settingsextension.hh:151
KeyFunction _funcKeyDShort
Function of the function key D, short press.
Definition anytone_settingsextension.hh:371
void setFuncKey3Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 3.
Definition anytone_settingsextension.cc:971
bool knobLockEnabled() const
Returns true if the knob gets locked too.
Definition anytone_settingsextension.cc:1218
Interval _longPressDuration
The long-press duration in ms.
Definition anytone_settingsextension.hh:375
KeyFunction funcKeyDShort
Function key D (D on mic, D578UV only), short press function.
Definition anytone_settingsextension.hh:163
bool autoKeyLockEnabled() const
Returns true, if the automatic key-lock feature is enabled.
Definition anytone_settingsextension.cc:1206
UpDownKeyFunction upDownKeyFunction() const
Returns the up/down key function.
Definition anytone_settingsextension.cc:1192
void setFuncKnobLong(KeyFunction func)
Sets the key function for a long press on the knob.
Definition anytone_settingsextension.cc:1170
void setFuncKey1Short(KeyFunction func)
Sets the key function for a short press on the function key 1.
Definition anytone_settingsextension.cc:925
KeyFunction _funcKey4Long
Function of the function key 4, long press.
Definition anytone_settingsextension.hh:360
void setFuncKey4Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 4.
Definition anytone_settingsextension.cc:1005
void setFuncKeyALong(KeyFunction func)
Sets the key function for a long press on the function key A.
Definition anytone_settingsextension.cc:1074
bool forcedKeyLock
If true, the key-lock is forced.
Definition anytone_settingsextension.hh:193
KeyFunction funcKey5Short
Function key 5 (P5 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:143
bool _forcedKeyLock
Forced key-lock.
Definition anytone_settingsextension.hh:381
KeyFunction funcKnobShort
Function knob (channel/frequency knob, D578UV only), short press function.
Definition anytone_settingsextension.hh:167
void setFuncKeyBShort(KeyFunction func)
Sets the key function for a short press on the function key B.
Definition anytone_settingsextension.cc:1086
void enableAutoKeyLock(bool enabled)
Enables/disables auto key-lock.
Definition anytone_settingsextension.cc:1210
KeyFunction _funcKey5Short
Function of the function key 5, short press.
Definition anytone_settingsextension.hh:361
void setFuncKey2Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 2.
Definition anytone_settingsextension.cc:959
KeyFunction _funcKeyCLong
Function of the function key C, long press.
Definition anytone_settingsextension.hh:370
KeyFunction funcKey4Short
Function key 4 (P4 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:139
void setFuncKey3Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 3.
Definition anytone_settingsextension.cc:982
KeyFunction _funcKey1Short
Function of the function key 1, short press.
Definition anytone_settingsextension.hh:353
KeyFunction funcKey3Short
Function key 3 (P3 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:135
bool keypadLockEnabled() const
Returns true if the key-pad gets locked too.
Definition anytone_settingsextension.cc:1229
KeyFunction _funcKnobShort
Function of the knob, short press.
Definition anytone_settingsextension.hh:373
void setFuncKnobShort(KeyFunction func)
Sets the key function for a short press on the knob.
Definition anytone_settingsextension.cc:1157
Interval longPressDuration
The long press duration in ms.
Definition anytone_settingsextension.hh:171
KeyFunction _funcKeyDLong
Function of the function key D, long press.
Definition anytone_settingsextension.hh:372
KeyFunction funcKeyBLong
Function key B (PF2 second below PTT or B on mic), long press function.
Definition anytone_settingsextension.hh:157
bool sideKeysLock
If true, the side-keys get locked too.
Definition anytone_settingsextension.hh:189
void setFuncKey5Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 5.
Definition anytone_settingsextension.cc:1028
UpDownKeyFunction upDownKeys
Up/down key functions (D578UV only).
Definition anytone_settingsextension.hh:174
KeyFunction _funcKeyBLong
Function of the function key B, long press.
Definition anytone_settingsextension.hh:368
KeyFunction funcKeyDLong
Function key D (D on mic, D578UV only), long press function.
Definition anytone_settingsextension.hh:165
bool _autoKeyLock
Auto key-lock property.
Definition anytone_settingsextension.hh:377
KeyFunction _funcKey4Short
Function of the function key 4, short press.
Definition anytone_settingsextension.hh:359
UpDownKeyFunction
Possible up/down key functions.
Definition anytone_settingsextension.hh:210
bool _knobLock
Knob locked too.
Definition anytone_settingsextension.hh:378
KeyFunction _funcKey3Long
Function of the function key 3, long press.
Definition anytone_settingsextension.hh:358
bool forcedKeyLockEnabled() const
Returns true if the key-lock is forced.
Definition anytone_settingsextension.cc:1251
KeyFunction _funcKeyCShort
Function of the function key C, short press.
Definition anytone_settingsextension.hh:369
UpDownKeyFunction _upDownFunction
The up/down key function.
Definition anytone_settingsextension.hh:376
KeyFunction funcKeyALong
Function key A (PF1 below PTT or A on mic), long press function.
Definition anytone_settingsextension.hh:153
void enableForcedKeyLock(bool enable)
Enables/disables the forced key-lock.
Definition anytone_settingsextension.cc:1255
bool knobLock
If true, the knob gets locked too.
Definition anytone_settingsextension.hh:181
KeyFunction funcKey4Long
Function key 4 (P4 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:141
void setFuncKey1Long(KeyFunction func)
Sets the key function for a long press on the function key 1.
Definition anytone_settingsextension.cc:936
KeyFunction _funcKey6Long
Function of the function key 6, long press.
Definition anytone_settingsextension.hh:364
bool keypadLock
If true, the key-pad gets locked too.
Definition anytone_settingsextension.hh:185
void enableSideKeysLock(bool enable)
Enables/disables the side-keys lock.
Definition anytone_settingsextension.cc:1244
void setFuncKey6Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 6.
Definition anytone_settingsextension.cc:1040
KeyFunction funcKnobLong
Function knob (channel/frequency knob, D578UV only), long press function.
Definition anytone_settingsextension.hh:169
void setFuncKey6Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 6.
Definition anytone_settingsextension.cc:1051
void setFuncKeyCShort(KeyFunction func)
Sets the key function for a short press on the function key C.
Definition anytone_settingsextension.cc:1109
bool _keypadLock
Key-pad is locked.
Definition anytone_settingsextension.hh:379
Implements the menu settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:804
Interval duration
Menu exit time in seconds.
Definition anytone_settingsextension.hh:809
void setDuration(Interval sec)
Sets the menu duration in seconds.
Definition anytone_settingsextension.cc:1809
bool _showSeparator
Show menu separator lines.
Definition anytone_settingsextension.hh:832
void enableSeparator(bool enable)
Enables/disables the menu separator lines.
Definition anytone_settingsextension.cc:1821
AnytoneMenuSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1788
bool separator
Menu separator.
Definition anytone_settingsextension.hh:813
Interval _menuDuration
Menu display duration in seconds.
Definition anytone_settingsextension.hh:831
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1795
bool separatorEnabled() const
Returns true, if the menu separator lines are shown.
Definition anytone_settingsextension.cc:1817
Implements the power-save settings for AnyTone devices.
Definition anytone_settingsextension.hh:59
PowerSave powerSave() const
Returns the power-save mode.
Definition anytone_settingsextension.cc:863
void setAutoShutdown(Interval min)
Sets the auto shut-down delay.
Definition anytone_settingsextension.cc:843
bool resetAutoShutdownOnCall
Resets the auto shut-down timer on every call.
Definition anytone_settingsextension.hh:67
Interval _autoShutDownDelay
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:111
AnytonePowerSaveSettingsExtension(QObject *parent=nullptr)
The power-save mode.
Definition anytone_settingsextension.cc:821
void enableResetAutoShutdownOnCall(bool enable)
Enables/disables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.cc:855
Interval autoShutdown
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:64
bool atpc() const
Returns true if the adaptive transmission power control is enabled.
Definition anytone_settingsextension.cc:875
PowerSave _powerSave
Power save mode property.
Definition anytone_settingsextension.hh:113
bool _resetAutoShutdownOnCall
Enables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.hh:112
void enableATPC(bool enable)
Enables/disables the adaptive transmission power control.
Definition anytone_settingsextension.cc:879
bool _atpc
Adaptive Transmission Power Control.
Definition anytone_settingsextension.hh:114
void setPowerSave(PowerSave mode)
Sets the power-save mode.
Definition anytone_settingsextension.cc:867
Implements the repeater settings for the BTECH DMR-6X2UV and AT-D578UV.
Definition anytone_settingsextension.hh:1668
TimeSlot _timeSlot
The primary channel time-slot.
Definition anytone_settingsextension.hh:1737
void setColorCode(ColorCode code)
Sets the color code match mode.
Definition anytone_settingsextension.cc:2556
bool enabled
Enables/disables the repeater feature.
Definition anytone_settingsextension.hh:1673
TimeSlot _secTimeSlot
The secondary channel time-slot.
Definition anytone_settingsextension.hh:1738
TimeSlot
Possible repeater time-slots.
Definition anytone_settingsextension.hh:1692
TimeSlot timeSlot
Time-slot of the primary repeater channel.
Definition anytone_settingsextension.hh:1681
void enable(bool enable)
Enables/disables the simplex repeater.
Definition anytone_settingsextension.cc:2505
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_settingsextension.hh:1736
TimeSlot secTimeSlot
Time-slot of the secondary repeater channel.
Definition anytone_settingsextension.hh:1685
void setSecTimeSlot(TimeSlot ts)
Sets the secondary channel time-slot.
Definition anytone_settingsextension.cc:2542
bool monitor
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:1677
ColorCode
Possible color code settings.
Definition anytone_settingsextension.hh:1698
bool monitorEnabled() const
If true, repeater monitoring is enabled.
Definition anytone_settingsextension.cc:2513
void setTimeSlot(TimeSlot ts)
Sets the primary (simplex) channel time-slot.
Definition anytone_settingsextension.cc:2529
void enableMonitor(bool enable)
Enables/disables repeater monitoring.
Definition anytone_settingsextension.cc:2517
ColorCode _colorCode
The color code match mode.
Definition anytone_settingsextension.hh:1739
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_settingsextension.hh:1735
AnytoneRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2483
Implements the ranging/roaming settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1256
RoamStart roamStart
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1274
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_settingsextension.hh:1390
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:1398
unsigned int notificationCount
Repeater-check notification count.
Definition anytone_settingsextension.hh:1301
bool autoRoam
Enables auto-roaming.
Definition anytone_settingsextension.hh:1262
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_settingsextension.hh:1394
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:1278
void setRoamingReturnCondition(RoamStart start)
Sets the auto-roaming return condition.
Definition anytone_settingsextension.cc:355
bool rangeCheck
Repeater range check.
Definition anytone_settingsextension.hh:1282
unsigned int _notificationCount
Number of notifications.
Definition anytone_settingsextension.hh:1396
Interval checkInterval
Repeater range check interval in seconds.
Definition anytone_settingsextension.hh:1286
AnytoneRoamingSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:233
bool _notification
Repeater check notification.
Definition anytone_settingsextension.hh:1395
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1393
RoamStart
Possible roaming start conditions.
Definition anytone_settingsextension.hh:1311
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_settingsextension.hh:1388
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:1387
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:1386
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:1290
Interval autoRoamPeriod
The auto-roaming period in minutes.
Definition anytone_settingsextension.hh:1266
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_settingsextension.hh:1397
OutOfRangeAlert outOfRangeAlert
Repeater out-of-range alert type.
Definition anytone_settingsextension.hh:1293
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:1307
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_settingsextension.hh:1392
RoamingZoneReference * defaultZone
The default roaming zone.
Definition anytone_settingsextension.hh:1304
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:1317
RoamStart roamingReturnCondition() const
Returns the auto-roaming return condition.
Definition anytone_settingsextension.cc:351
Interval autoRoamDelay
The auto-roam delay.
Definition anytone_settingsextension.hh:1270
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:1297
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:1391
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_settingsextension.hh:1389
Implements the satellite mode settings for the BTECH DMR-6X2UV PRO.
Definition anytone_settingsextension.hh:1749
void setPower(Channel::Power power)
Sets transmit power in satellite mode.
Definition anytone_settingsextension.cc:2591
AnytoneSatelliteSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2568
unsigned int squelch
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:1758
void setSquelch(unsigned int squelch)
Sets squelch in satellite mode.
Definition anytone_settingsextension.cc:2605
Channel::Power power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:1754
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2575
Channel::Power _power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:1778
unsigned int _squelch
FM squelch in satellite mode.
Definition anytone_settingsextension.hh:1780
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2075
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2107
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:1910
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:1824
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_settingsextension.hh:1922
AnytonePowerSaveSettingsExtension * powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:1871
Frequency minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:1822
AnytoneAudioSettingsExtension * audioSettings
The audio settings.
Definition anytone_settingsextension.hh:1879
Frequency vfoStep
The VFO tuning step-size in kHz.
Definition anytone_settingsextension.hh:1836
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2101
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_settingsextension.hh:2073
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_settingsextension.hh:2114
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_settingsextension.hh:2115
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:1817
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2100
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:1904
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2071
Q_INVOKABLE AnytoneSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:406
AnytoneBootSettingsExtension * _bootSettings
Returns power setting for satellite mode.
Definition anytone_settingsextension.hh:2069
void enableProMode(bool enable)
Enables/disables the "pro mode".
Definition anytone_settingsextension.cc:737
VFO
Possible VFOs.
Definition anytone_settingsextension.hh:1916
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2083
AnytoneGPSSettingsExtension * gpsSettings
The GPS settings.
Definition anytone_settingsextension.hh:1887
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2103
AnytoneDMRSettingsExtension * dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:1885
AnytoneMenuSettingsExtension * menuSettings
The menu settings.
Definition anytone_settingsextension.hh:1881
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_settingsextension.hh:2097
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:1808
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2079
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:2081
bool subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:1799
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_settingsextension.hh:2108
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_settingsextension.hh:2087
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:1883
AnytoneRepeaterSettingsExtension * _repeaterSettings
The repeater settings.
Definition anytone_settingsextension.hh:2093
Interval _steDuration
STE duration.
Definition anytone_settingsextension.hh:2112
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_settingsextension.hh:2089
AnytoneKeySettingsExtension * keySettings
The key settings.
Definition anytone_settingsextension.hh:1873
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:1869
AnytoneBluetoothSettingsExtension * _bluetoothSettings
The bluetooth settings.
Definition anytone_settingsextension.hh:2091
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_settingsextension.hh:2109
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:1891
VFOMode _modeB
Mode of VFO B.
Definition anytone_settingsextension.hh:2099
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:1875
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:2085
VFOMode modeB
The mode of VFO B.
Definition anytone_settingsextension.hh:1810
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:2105
STEType steType
The STE type.
Definition anytone_settingsextension.hh:1841
bool keepLastCaller
The keep-last-caller setting.
Definition anytone_settingsextension.hh:1832
AnytoneDisplaySettingsExtension * displaySettings
The display settings.
Definition anytone_settingsextension.hh:1877
VFOScanType vfoScanType
The VFO scan type.
Definition anytone_settingsextension.hh:1820
double steFrequency
The STE frequency in Hz.
Definition anytone_settingsextension.hh:1845
AnytoneRoamingSettingsExtension * roamingSettings
The Roaming settings.
Definition anytone_settingsextension.hh:1889
Interval steDuration
The STE duration in ms.
Definition anytone_settingsextension.hh:1850
Frequency minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:1826
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:2102
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2104
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:2106
Frequency maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:1828
STEType _steType
The STE type.
Definition anytone_settingsextension.hh:2110
AnytoneSatelliteSettingsExtension * _satelliteSettings
The satellite settings.
Definition anytone_settingsextension.hh:2095
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_settingsextension.hh:2077
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_settingsextension.hh:2111
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:1803
VFOMode _modeA
Mode of VFO A.
Definition anytone_settingsextension.hh:2098
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_settingsextension.hh:2113
ZoneReference * zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:1815
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:390
bool _totNotification
TOT notification enabled.
Definition anytone_settingsextension.hh:417
AnytoneToneSettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:1267
bool wxAlarm
Enables weather alarm tone.
Definition anytone_settingsextension.hh:397
bool tot
Enables transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.hh:395
bool _wxAlarm
Weather alarm.
Definition anytone_settingsextension.hh:418
void enableTOTNotification(bool enable)
Enables/disables the transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.cc:1289
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1273
void enableWXAlarm(bool enable)
Enables/disables weather alarm.
Definition anytone_settingsextension.cc:1302
bool totNotification() const
Returns true if the transmit timeout notification is enabled (5s before TOT).
Definition anytone_settingsextension.cc:1284
The base class of all channels (analog and digital) of a codeplug configuration.
Definition channel.hh:38
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
Base class for all Radio objects.
Definition radio.hh:32
Implements a reference to a roaming zone.
Definition configreference.hh:285
Implements a reference to a zone.
Definition configreference.hh:307
Represents a zone within the generic configuration.
Definition zone.hh:15
Helper type to encode frequencies without any rounding error.
Definition frequency.hh:107