1#ifndef ANYTONE_SETTINGSEXTENSION_H
2#define ANYTONE_SETTINGSEXTENSION_H
6#include "configobject.hh"
7#include "configreference.hh"
10#include "frequency.hh"
30 Q_CLASSINFO(
"defaultChannelDescription",
"If enabled, the default channels are selected at boot.")
33 Q_CLASSINFO(
"zoneADescription",
"The default zone for VFO A.")
36 Q_CLASSINFO(
"channelADescription",
"The default channel for VFO A. Must be within zone A.")
39 Q_CLASSINFO(
"zoneBDescription",
"The default zone for VFO B.")
42 Q_CLASSINFO(
"channelBDescription",
"The default channel for VFO B. Must be within zone B.")
58 Default = 0, CustomText = 1, CustomImage = 2
132 Q_CLASSINFO(
"autoShutDownDelayDescription",
"The auto shut-down delay in minutes.")
139 Q_CLASSINFO(
"powerSaveDescription",
"Specifies the power save mode. "
140 "D686UV, D878UV(2) and DMR-6X2UV only.")
149 enum class PowerSave {
150 Off = 0, Save50 = 1, Save66 = 2
249 Q_CLASSINFO(
"knobLockDescription",
"If enabled, the knob gets locked too.")
253 Q_CLASSINFO(
"keypadLockDescription",
"If enabled, the key-pad gets locked.")
257 Q_CLASSINFO(
"sideKeysLockDescription",
"If enabled, the side-keys get locked.")
261 Q_CLASSINFO(
"forcedKeyLockDescription",
"If enabled, the key-lock is forced.")
268 Off, Voltage, Power, Repeater, Reverse, Encryption, Call, VOX, ToggleVFO, SubPTT,
269 Scan, WFM, Alarm, RecordSwitch, Record, SMS, Dial, GPSInformation, Monitor, ToggleMainChannel,
270 HotKey1, HotKey2, HotKey3, HotKey4, HotKey5, HotKey6, WorkAlone, SkipChannel, DMRMonitor,
271 SubChannel, PriorityZone, VFOScan, MICSoundQuality, LastCallReply, ChannelType, Ranging,
272 Roaming, ChannelRanging, MaxVolume, Slot, APRSTypeSwitch,
Zone, ZoneUp, ZoneDown, Exit, Menu,
273 RoamingSet, APRSSet, Mute, MuteA, MuteB, CtcssDcsSet, TBSTSend, Bluetooth, GPS, ChannelName,
274 CDTScan, APRSSend, APRSInfo, Speaker, XBandRepeater, SimplexRepeater, GPSRoaming, Squelch,
275 NoiseReductionTX, DIMShut, SatPredict
462 Q_CLASSINFO(
"description",
"Tone settings for AnyTone devices.")
464 Q_CLASSINFO(
"keyToneDescription",
"If true, enables the key tones.")
468 Q_CLASSINFO(
"keyToneLevelDescription",
"Specifies the key-tone level, 0=user adjustable.")
472 Q_CLASSINFO(
"smsAlertDescription",
"Enables/disables the SMS alert tone.")
476 Q_CLASSINFO(
"callAlertDescription",
"Enables/disables the call alert tone.")
480 Q_CLASSINFO(
"dmrTalkPermitDescription",
"Enables/disables the talk-permit tone for DMR channels.")
484 Q_CLASSINFO(
"dmrResetDescription",
"Enables/disables the reset tone for DMR channels.")
488 Q_CLASSINFO(
"fmTalkPermitDescription",
"Enables/disables the talk-permit tone for FM channels.")
621 Q_CLASSINFO(
"backlightDuration",
"The duration in seconds, the backlight keeps lit after any action. ")
625 Q_CLASSINFO(
"backlightDurationTX",
"The duration in seconds, the backlight is lit during TX. "
626 "A value of 0 means off.")
630 Q_CLASSINFO(
"backlightDurationRX",
"The duration in seconds, the backlight is lit during RX.")
670 Q_CLASSINFO(
"channelNameColorDescription",
"Specifies the color of the channel name.")
673 Q_CLASSINFO(
"channelBNameColorDescription",
"Specifies the color of the channel name for VFO B.")
677 Q_CLASSINFO(
"zoneNameColorDescription",
"Specifies the color of the zone name.")
680 Q_CLASSINFO(
"zoneBNameColorDescription",
"Specifies the color of the zone name for VFO B.")
691 enum class LastCallerDisplayMode {
692 Off = 0, ID = 1, Call = 2, Both = 3
694 Q_ENUM(LastCallerDisplayMode)
698 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
703 enum class Language {
710 enum class DateFormat {
718 explicit AnytoneDisplaySettingsExtension(QObject *parent=
nullptr);
723 bool displayFrequencyEnabled()
const;
725 void enableDisplayFrequency(
bool enable);
728 unsigned int brightness()
const;
730 void setBrightness(
unsigned int level);
733 bool volumeChangePromptEnabled()
const;
735 void enableVolumeChangePrompt(
bool enable);
738 bool callEndPromptEnabled()
const;
740 void enableCallEndPrompt(
bool enable);
743 LastCallerDisplayMode lastCallerDisplay()
const;
745 void setLastCallerDisplay(LastCallerDisplayMode mode);
748 bool showClockEnabled()
const;
750 void enableShowClock(
bool enable);
753 bool showCallEnabled()
const;
755 void enableShowCall(
bool enable);
758 Color callColor()
const;
760 void setCallColor(Color color);
763 Language language()
const;
765 void setLanguage(Language lang);
767 DateFormat dateFormat()
const;
769 void setDateFormat(DateFormat format);
772 bool showChannelNumberEnabled()
const;
774 void enableShowChannelNumber(
bool enable);
777 bool showGlobalChannelNumber()
const;
779 void enableShowGlobalChannelNumber(
bool enable);
781 bool showColorCode()
const;
783 void enableShowColorCode(
bool enable);
785 bool showTimeSlot()
const;
787 void enableShowTimeSlot(
bool enable);
789 bool showChannelType()
const;
791 void enableShowChannelType(
bool enable);
794 bool showContact()
const;
796 void enableShowContact(
bool enable);
799 Color standbyTextColor()
const;
801 void setStandbyTextColor(Color color);
803 Color standbyBackgroundColor()
const;
805 void setStandbyBackgroundColor(Color color);
808 bool showLastHeardEnabled()
const;
810 void enableShowLastHeard(
bool enable);
813 Interval backlightDuration()
const;
815 void setBacklightDuration(Interval sec);
818 Interval backlightDurationTX()
const;
820 void setBacklightDurationTX(Interval sec);
823 Color channelNameColor()
const;
825 void setChannelNameColor(Color color);
827 Color channelBNameColor()
const;
829 void setChannelBNameColor(Color color);
832 Color zoneNameColor()
const;
834 void setZoneNameColor(Color color);
836 Color zoneBNameColor()
const;
838 void setZoneBNameColor(Color color);
841 Interval backlightDurationRX()
const;
843 void setBacklightDurationRX(Interval sec);
845 bool customChannelBackground()
const;
847 void enableCustomChannelBackground(
bool enable);
922 Internal = 0, External = 1, Both = 2
934 MainChannel, SubChannel
936 Q_ENUM(HandsetSpeakerSource)
956 VoxSource voxSource()
const;
958 void setVOXSource(VoxSource source);
961 bool recordingEnabled()
const;
963 void enableRecording(
bool enable);
966 unsigned int maxVolume()
const;
968 void setMaxVolume(
unsigned int vol);
970 unsigned int maxHeadPhoneVolume()
const;
972 void setMaxHeadPhoneVolume(
unsigned int vol);
975 bool enhanceAudioEnabled()
const;
977 void enableEnhanceAudio(
bool enable);
985 bool fmMicGainEnabled()
const;
987 void enableFMMicGain(
bool enable);
989 unsigned int fmMicGain()
const;
991 void setFMMicGain(
unsigned int gain);
994 Speaker speaker()
const;
996 void setSpeaker(Speaker speaker);
999 HandsetSpeakerSource handsetSpeaker()
const;
1001 void setHandsetSpeaker(HandsetSpeakerSource src);
1004 HandsetType handsetType()
const;
1006 void setHandsetType(HandsetType type);
1032 Q_CLASSINFO(
"durationDescription",
"The time in seconds, the menu is shown.")
1036 Q_CLASSINFO(
"separatorDescription",
"If enabled, the menu items are separated by a line.")
1067 Q_CLASSINFO(
"IdPrefix",
"off")
1069 Q_CLASSINFO(
"offsetDecription",
1070 "Transmit-frequency offset in Hz.")
1071 Q_CLASSINFO(
"offsetLongDecription",
1072 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
1073 "direction is specified for each VFO separately.")
1127 Q_CLASSINFO(
"description",
"Auto-repeater settings for AnyTone devices.")
1129 Q_CLASSINFO(
"directionADescription",
"Auto-repeater transmit-frequency offset direction for VFO A.")
1133 Q_CLASSINFO(
"directionBDescription",
"Auto-repeater transmit-frequency offset direction for VFO B.")
1137 Q_CLASSINFO(
"vhfMin",
"The minimum frequency in Hz of the VHF auto-repeater frequency range.")
1141 Q_CLASSINFO(
"vhfMax",
"The maximum frequency in Hz of the VHF auto-repeater frequency range.")
1145 Q_CLASSINFO(
"uhfMin",
"The minimum frequency in Hz of the UHF auto-repeater frequency range.")
1149 Q_CLASSINFO(
"uhfMax",
"The maximum frequency in Hz of the UHF auto-repeater frequency range.")
1153 Q_CLASSINFO(
"vhfDescription",
"A reference to an offset frequency for the VHF band.")
1157 Q_CLASSINFO(
"uhfDescription",
"A reference to an offset frequency for the UHF band.")
1161 Q_CLASSINFO(
"vhf2Min",
"The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
1165 Q_CLASSINFO(
"vhf2Max",
"The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
1169 Q_CLASSINFO(
"uhf2Min",
"The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
1173 Q_CLASSINFO(
"uhf2Max",
"The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
1177 Q_CLASSINFO(
"vhf2Description",
"A reference to an offset frequency for the second VHF band.")
1181 Q_CLASSINFO(
"uhf2Description",
"A reference to an offset frequency for the second UHF band.")
1185 Q_CLASSINFO(
"offsetDescription",
"The lists of offset frequencies.")
1205 Direction directionA()
const;
1207 void setDirectionA(Direction dir);
1209 Direction directionB()
const;
1211 void setDirectionB(Direction dir);
1302 Q_CLASSINFO(
"groupCallHangTimeDescription",
"Specifies the hang- or hold-time for group calls.")
1308 Q_CLASSINFO(
"privateCallHangTimeDescription",
"Specifies the hang- or hold-time for private calls.")
1314 Q_CLASSINFO(
"preWaveDelay",
"Sets the pre-wave delay in ms. Should be set to 100ms.")
1318 Q_CLASSINFO(
"wakeHeadPeriod",
"Sets the wake head-period in ms. Should be set to 100ms.")
1322 Q_CLASSINFO(
"filterOwnIDDescription",
"If enabled, own ID is not shown in call lists.")
1326 Q_CLASSINFO(
"monitorSlotMatchDescription",
"Time-slot match-mode for DMR monitor.")
1330 Q_CLASSINFO(
"monitorColorCodeMatchDescription",
"If enabled, the DMR monitor will only open for "
1331 "matching color-codes.")
1335 Q_CLASSINFO(
"monitorIDMatchDescription",
"If enabled, the DMR monitor will only open for matching IDs.")
1339 Q_CLASSINFO(
"monitorTimeSlotHold",
"Whether the DMR monitor holds the time-slot.")
1343 Q_CLASSINFO(
"smsFormatDescription",
"Specifies the SMS format, select Motorola here.")
1347 Q_CLASSINFO(
"sendTalkerAliasDescription",
"Sends the radio name as talker alias over the air.")
1361 enum class SlotMatch {
1362 Off = 0, Single = 1, Both = 2
1367 enum class SMSFormat {
1368 Motorola = 0, Hytera = 1, DMR = 2
1373 enum class TalkerAliasSource {
1374 Off = 0, UserDB = 1, Air = 2
1376 Q_ENUM(TalkerAliasSource)
1379 enum class TalkerAliasEncoding {
1380 ISO8 = 0, ISO7 = 1, Unicode = 2,
1382 Q_ENUM(TalkerAliasEncoding)
1385 enum class EncryptionType {
1388 Q_ENUM(EncryptionType)
1392 explicit AnytoneDMRSettingsExtension(QObject *parent =
nullptr);
1394 ConfigItem *clone()
const;
1397 Interval groupCallHangTime()
const;
1399 void setGroupCallHangTime(Interval sec);
1401 Interval manualGroupCallHangTime()
const;
1403 void setManualGroupCallHangTime(Interval sec);
1405 Interval privateCallHangTime()
const;
1407 void setPrivateCallHangTime(Interval sec);
1409 Interval manualPrivateCallHangTime()
const;
1411 void setManualPrivateCallHangTime(Interval sec);
1414 Interval preWaveDelay()
const;
1416 void setPreWaveDelay(Interval ms);
1418 Interval wakeHeadPeriod()
const;
1420 void setWakeHeadPeriod(Interval ms);
1423 bool filterOwnIDEnabled()
const;
1425 void enableFilterOwnID(
bool enable);
1428 SlotMatch monitorSlotMatch()
const;
1430 void setMonitorSlotMatch(SlotMatch match);
1432 bool monitorColorCodeMatchEnabled()
const;
1434 void enableMonitorColorCodeMatch(
bool enable);
1436 bool monitorIDMatchEnabled()
const;
1438 void enableMonitorIDMatch(
bool enable);
1440 bool monitorTimeSlotHoldEnabled()
const;
1442 void enableMonitorTimeSlotHold(
bool enable);
1445 SMSFormat smsFormat()
const;
1447 void setSMSFormat(SMSFormat format);
1450 bool sendTalkerAlias()
const;
1452 void enableSendTalkerAlias(
bool enable);
1455 TalkerAliasSource talkerAliasSource()
const;
1457 void setTalkerAliasSource(TalkerAliasSource mode);
1460 TalkerAliasEncoding talkerAliasEncoding()
const ;
1462 void setTalkerAliasEncoding(TalkerAliasEncoding encoding);
1465 EncryptionType encryption()
const;
1467 void setEncryption(EncryptionType type);
1497 Q_CLASSINFO(
"unitsDescription",
"Specifies the GPS units.")
1501 Q_CLASSINFO(
"timeZoneDescription",
"Specifies the GPS time-zone (IANA name).")
1505 Q_CLASSINFO(
"positionReportingDescription",
"Enables GPS range reporting.")
1509 Q_CLASSINFO(
"updatePeriodDescription",
"Specifies the GPS reporting interval in seconds.")
1519 Metric = 0, Archaic = 1
1525 GPS=0, Beidou=1, GPS_Beidou=2, Glonass=3, GPS_Glonas=4, Beidou_Glonass=5, All=6
1536 Units units()
const;
1538 void setUnits(Units units);
1541 QString ianaTimeZone()
const;
1543 QTimeZone timeZone()
const;
1545 void setIANATimeZone(
const QString &
id);
1547 void setTimeZone(
const QTimeZone &zone);
1550 bool positionReportingEnabled()
const;
1552 void enablePositionReporting(
bool enable);
1557 void setUpdatePeriod(
Interval sec);
1560 GPSMode mode()
const;
1562 void setMode(GPSMode mode);
1581 Q_CLASSINFO(
"Description",
"Collects all ranging/roaming settings for AnyTone devices.")
1586 Q_CLASSINFO(
"autoRoamPeriodDescription",
"Specifies the auto-roaming period in minutes.")
1590 Q_CLASSINFO(
"autoRoamDelayDescription",
"A delay in seconds before starting the auto-roaming.")
1594 Q_CLASSINFO(
"roamStart",
"Start condition for auto-roaming.")
1598 Q_CLASSINFO(
"roamReturn",
"Condition to return to the original repeater.")
1602 Q_CLASSINFO(
"rangeCheckDescription",
"Repeater range check.")
1606 Q_CLASSINFO(
"checkIntervalDescription",
"Repeater range check interval in seconds.")
1610 Q_CLASSINFO(
"retryCount",
"Number of retries to connect to a repeater before giving up.")
1617 Q_CLASSINFO(
"notificationDescription",
"Enables the repeater-check notification.")
1621 Q_CLASSINFO(
"notificationCountDescription",
"The number of repeater-check notifications.")
1634 Periodic=0, OutOfRange=1
1640 None = 0x00, Bell = 0x01, Voice = 0x02
1642 Q_ENUM(OutOfRangeAlert)
1651 bool autoRoam()
const;
1653 void enableAutoRoam(
bool enable);
1658 void setAutoRoamPeriod(
Interval min);
1662 void setAutoRoamDelay(
Interval sec);
1665 bool repeaterRangeCheckEnabled()
const;
1667 void enableRepeaterRangeCheck(
bool enable);
1669 Interval repeaterCheckInterval()
const;
1671 void setRepeaterCheckInterval(
Interval sec);
1673 unsigned int repeaterRangeCheckCount()
const;
1675 void setRepeaterRangeCheckCount(
unsigned int count);
1677 OutOfRangeAlert outOfRangeAlert()
const;
1679 void setOutOfRangeAlert(OutOfRangeAlert type);
1682 RoamStart roamingStartCondition()
const;
1684 void setRoamingStartCondition(RoamStart start);
1686 RoamStart roamingReturnCondition()
const;
1688 void setRoamingReturnCondition(RoamStart start);
1691 bool notificationEnabled()
const;
1693 void enableNotification(
bool enable);
1695 unsigned int notificationCount()
const;
1697 void setNotificationCount(
unsigned int n);
1700 bool gpsRoaming()
const;
1702 void enableGPSRoaming(
bool enable);
1733 Q_CLASSINFO(
"Description",
"Collects all bluetooth handset settings for AnyTone devices.")
1735 Q_CLASSINFO(
"shutdownDescription",
"Shuts the handset off too, when the radio is turned off.")
1738 Q_CLASSINFO(
"volumeLevelADescription",
"Sets the volume level for VFO A.")
1739 Q_PROPERTY(
unsigned int volumeLevelA READ volumeLevelA WRITE
setVolumeLevelA)
1740 Q_CLASSINFO(
"volumeLevelBDescription",
"Sets the volume level for VFO B.")
1741 Q_PROPERTY(
unsigned int volumeLevelB READ volumeLevelB WRITE
setVolumeLevelB)
1743 Q_CLASSINFO(
"micGainDescription",
"Specifies the microphone gain.")
1744 Q_PROPERTY(
unsigned int micGain READ micGain WRITE
setMicGain)
1746 Q_PROPERTY(
unsigned int squelch READ squelch WRITE
setSquelch)
1750 Q_PROPERTY(
unsigned int voxLevel READ voxLevel WRITE
setVoxLevel)
1777 unsigned int volumeLevelA()
const;
1781 unsigned int volumeLevelB()
const;
1786 unsigned int micGain()
const;
1791 unsigned int squelch()
const;
1796 unsigned int txNoiseReduction()
const;
1801 unsigned int voxLevel()
const;
1892 Q_CLASSINFO(
"Description",
"Collects all bluetooth settings for AnyTone devices.")
1993 Q_CLASSINFO(
"enabledDescription",
"If true, the repeater feature is enabled.")
1997 Q_CLASSINFO(
"monitorDescription",
"If true, the repeater-monitoring is enabled.")
2001 Q_CLASSINFO(
"timeSlotDescription",
"Specifies the time-slot of the primary repeater channel.")
2005 Q_CLASSINFO(
"secTimeSlotDescription",
"Specifies the time-slot of the secondary repeater channel.")
2009 Q_CLASSINFO(
"colorCodeDescription",
"Specifies the repeater color code.")
2032 bool enabled()
const;
2034 void enable(
bool enable);
2037 bool monitorEnabled()
const;
2039 void enableMonitor(
bool enable);
2042 TimeSlot timeSlot()
const;
2044 void setTimeSlot(TimeSlot ts);
2047 TimeSlot secTimeSlot()
const;
2049 void setSecTimeSlot(TimeSlot ts);
2052 ColorCode colorCode()
const;
2054 void setColorCode(ColorCode code);
2074 Q_CLASSINFO(
"powerDescription",
"Specifies the transmit power in satellite mode.")
2078 Q_CLASSINFO(
"squelchDescription",
"Specifies FM squelch level in satellite mode.")
2117 Q_CLASSINFO(
"description",
"Device specific settings for AnyTone devices.")
2119 Q_CLASSINFO(
"subChannelDescription",
"Enables/disables the sub-channel.")
2123 Q_CLASSINFO(
"selectedVFODecription",
"Specifies the currently selected VFO (A or B).")
2127 Q_CLASSINFO(
"modeADescription",
"Specifies the mode (memory or VFO) for VFO A.")
2128 Q_CLASSINFO(
"modeBDescription",
"Specifies the mode (memory or VFO) for VFO B.")
2134 Q_CLASSINFO(
"zoneADescription",
"Specifies the current zone for VFO A.")
2135 Q_CLASSINFO(
"zoneBDescription",
"Specifies the current zone for VFO B.")
2152 Q_CLASSINFO(
"keepLastCallerDescription",
"Keeps the last caller on channel switch")
2156 Q_CLASSINFO(
"vfoStepDescription",
"Specifies the VFO tuning steps in kHz.")
2160 Q_CLASSINFO(
"steTypeDescription",
"Specifies the STE (squelch tail elimination) type.")
2161 Q_CLASSINFO(
"steTypeLongDescription",
"Can also be used to disable the STE entirely.")
2165 Q_CLASSINFO(
"steFrequencyDescription",
"Specifies the STE (squelch tail elimination) frequency in Hz.")
2169 Q_CLASSINFO(
"steDurationDescription",
"Specifies the duration of the STE (squelch tail elimination) tone.")
2170 Q_CLASSINFO(
"steDurationLongDescription",
"Valid values are usually in the range between 10 and 1000ms.")
2174 Q_CLASSINFO(
"tbstFrequencyDescription",
"Specifies the TBST frequency in Hz.")
2175 Q_CLASSINFO(
"tbstFrequencyDescription",
"Should be one of 1000, 1450, 1750 and 2100 Hz. "
2176 "D878UV(2), D578UV and DMR-6X2UV only.")
2180 Q_CLASSINFO(
"proModeDescription",
"Enables 'professional' mode. This limits the option reachable via the menu.")
2215 Q_CLASSINFO(
"simplexRepeaterSettingsDescription",
2216 "Configuration for the DMR-6X2UV simplex-repeater feature.")
2220 Q_CLASSINFO(
"satelliteSettingsDescription",
2221 "Some settings of for satellite mode.")
2227 Time = 0, Carrier = 1, Stop = 2
2245 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
2249 enum class FanControl {
2250 PTT, Temperature, Both
2257 Q_INVOKABLE
explicit AnytoneSettingsExtension(QObject *parent=
nullptr);
2259 ConfigItem *clone()
const;
2262 AnytoneBootSettingsExtension *bootSettings()
const;
2264 AnytonePowerSaveSettingsExtension *powerSaveSettings()
const;
2266 AnytoneKeySettingsExtension *keySettings()
const;
2268 AnytoneToneSettingsExtension *toneSettings()
const;
2270 AnytoneDisplaySettingsExtension *displaySettings()
const;
2272 AnytoneAudioSettingsExtension *audioSettings()
const;
2274 AnytoneMenuSettingsExtension *menuSettings()
const;
2276 AnytoneAutoRepeaterSettingsExtension *autoRepeaterSettings()
const;
2278 AnytoneDMRSettingsExtension *dmrSettings()
const;
2280 AnytoneGPSSettingsExtension *gpsSettings()
const;
2282 AnytoneRoamingSettingsExtension *roamingSettings()
const;
2284 AnytoneBluetoothSettingsExtension *bluetoothSettings()
const;
2286 AnytoneRepeaterSettingsExtension *repeaterSettings()
const;
2288 AnytoneSatelliteSettingsExtension *satelliteSettings()
const;
2291 VFOScanType vfoScanType()
const;
2293 void setVFOScanType(VFOScanType type);
2296 VFOMode modeA()
const;
2298 void setModeA(VFOMode mode);
2300 VFOMode modeB()
const;
2302 void setModeB(VFOMode mode);
2382 FanControl
fan()
const;
2384 void setFan(FanControl ctlr);
Implements the audio settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:885
HandsetSpeakerSource handsetSpeaker
The source for the handset speaker.
Definition anytone_settingsextension.hh:915
bool _recording
Recording enabled.
Definition anytone_settingsextension.hh:1010
void setHandsetType(HandsetType type)
Sets the handset type.
Definition anytone_settingsextension.cc:2140
void enableRecording(bool enable)
Enables/disables recording.
Definition anytone_settingsextension.cc:2016
void setFMMicGain(unsigned int gain)
Sets the FM mic gain.
Definition anytone_settingsextension.cc:2098
void enableEnhanceAudio(bool enable)
Enables/disables enhanced audio.
Definition anytone_settingsextension.cc:2063
Interval muteDelay
The mute delay in minutes.
Definition anytone_settingsextension.hh:900
bool enhance
If true, the audio is "enhanced".
Definition anytone_settingsextension.hh:897
AnytoneAudioSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1980
Interval voxDelay
The VOX delay in ms.
Definition anytone_settingsextension.hh:889
bool recording
If true, recording is enabled.
Definition anytone_settingsextension.hh:894
unsigned int maxHeadPhoneVolume
The maximum head-phone volume setting [0-10].
Definition anytone_settingsextension.hh:905
HandsetType handsetType
The handset type.
Definition anytone_settingsextension.hh:917
Interval _voxDelay
VOX delay in ms.
Definition anytone_settingsextension.hh:1009
Speaker speaker
The enables speakers.
Definition anytone_settingsextension.hh:913
VoxSource
Source for the VOX.
Definition anytone_settingsextension.hh:921
HandsetSpeakerSource
Possible handset speaker sources.
Definition anytone_settingsextension.hh:933
HandsetType _handsetType
Handset type.
Definition anytone_settingsextension.hh:1020
unsigned int fmMicGain
The FM mic gain [1,10].
Definition anytone_settingsextension.hh:910
unsigned int maxVolume
The maximum volume setting [0-10].
Definition anytone_settingsextension.hh:903
void setHandsetSpeaker(HandsetSpeakerSource src)
Sets the handset speaker source.
Definition anytone_settingsextension.cc:2126
bool _enhanceAudio
Enhance audio.
Definition anytone_settingsextension.hh:1014
void setVOXDelay(Interval ms)
Sets the VOX delay in ms.
Definition anytone_settingsextension.cc:2004
void setVOXSource(VoxSource source)
Sets the VOX source.
Definition anytone_settingsextension.cc:2028
bool recordingEnabled() const
Returns true if recording is enabled.
Definition anytone_settingsextension.cc:2012
HandsetType
Specifies possible handset types.
Definition anytone_settingsextension.hh:939
VoxSource voxSource
The VOX source.
Definition anytone_settingsextension.hh:891
void setMaxHeadPhoneVolume(unsigned int vol)
Sets the maximum head-phone volume.
Definition anytone_settingsextension.cc:2051
bool fmMicGainEnabled() const
Returns true, if the FM mic gain is set independently.
Definition anytone_settingsextension.cc:2083
unsigned int _maxVolume
The maximum volume.
Definition anytone_settingsextension.hh:1012
bool _enableAnalogMicGain
Enables separate analog mic gain.
Definition anytone_settingsextension.hh:1016
HandsetSpeakerSource _handsetSpeaker
Specifies the handset speaker source.
Definition anytone_settingsextension.hh:1019
bool enhanceAudioEnabled() const
Returns true if the audio is "enhanced".
Definition anytone_settingsextension.cc:2059
void setSpeaker(Speaker speaker)
Sets, which speacker are enabled.
Definition anytone_settingsextension.cc:2112
void setMuteDelay(Interval intv)
Sets the mute delay.
Definition anytone_settingsextension.cc:2075
Interval _muteDelay
Mute delay in minutes.
Definition anytone_settingsextension.hh:1015
unsigned int _maxHeadPhoneVolume
The maximum head-phone volume.
Definition anytone_settingsextension.hh:1013
bool enableFMMicGain
Enables the separate FM mic gain.
Definition anytone_settingsextension.hh:908
VoxSource _voxSource
The VOX source.
Definition anytone_settingsextension.hh:1011
Speaker
Possible speaker settings.
Definition anytone_settingsextension.hh:927
void setMaxVolume(unsigned int vol)
Sets the maximum volume.
Definition anytone_settingsextension.cc:2040
unsigned int _analogMicGain
The FM mic gain.
Definition anytone_settingsextension.hh:1017
Speaker _speaker
Specifies which speaker are enabled.
Definition anytone_settingsextension.hh:1018
Represents a list of auto-repeater offsets.
Definition anytone_settingsextension.hh:1109
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:2392
AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:2409
Represents a reference to a repeater offset.
Definition anytone_settingsextension.hh:1097
AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2400
Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2363
separatelyFrequency offset
The offset frequency.
Definition anytone_settingsextension.hh:1075
Frequency _offset
The transmit frequency offset in Hz.
Definition anytone_settingsextension.hh:1090
void setOffset(Frequency offset)
Sets the transmit frequency offset in Hz.
Definition anytone_settingsextension.cc:2384
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2370
Implements the auto-repeater settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1125
Direction directionA
Specifies the auto-repeater transmit-frequency offset direction for VFO A.
Definition anytone_settingsextension.hh:1131
Frequency uhfMin
The minimum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1147
AnytoneAutoRepeaterOffsetRef * uhf
A reference to the auto-repeater frequency for UHF.
Definition anytone_settingsextension.hh:1159
AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2196
Frequency _minUHF2
Minimum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1282
AnytoneAutoRepeaterOffsetRef * vhf2
A reference to the auto-repeater frequency for the second VHF band.
Definition anytone_settingsextension.hh:1179
void setVHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:2260
AnytoneAutoRepeaterOffsetRef * uhfRef() const
Returns the reference for the UHF offset freuqency.
Definition anytone_settingsextension.cc:2295
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:2326
AnytoneAutoRepeaterOffsetRef * vhf
A reference to the auto-repeater frequency for VHF.
Definition anytone_settingsextension.hh:1155
AnytoneAutoRepeaterOffsetRef * uhf2
A reference to the auto-repeater frequency for the second UHF band.
Definition anytone_settingsextension.hh:1183
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1284
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1268
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_settingsextension.hh:1262
AnytoneAutoRepeaterOffsetList * offsets
The repeater transmit offset frequencies.
Definition anytone_settingsextension.hh:1187
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1266
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_settingsextension.hh:1288
Frequency vhf2Max
The maximum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1167
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:2304
Direction directionB
Specifies the auto-repeater transmit-frequency offset direction for VFO B.
Definition anytone_settingsextension.hh:1135
void setVHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:2249
AnytoneAutoRepeaterOffsetRef * vhfRef() const
Returns the reference for the VHF offset freuqency.
Definition anytone_settingsextension.cc:2290
Direction _directionB
The auto-repeater direction for VFO B.
Definition anytone_settingsextension.hh:1264
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:2315
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:2337
void setDirectionB(Direction dir)
Set the auto-repeater offset direction for VFO V.
Definition anytone_settingsextension.cc:2237
Frequency uhfMax
The maximum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1151
AnytoneAutoRepeaterOffsetRef * vhf2Ref() const
Returns the reference for the second VHF offset freuqency.
Definition anytone_settingsextension.cc:2345
Direction
Encodes the auto-repeater offset sign.
Definition anytone_settingsextension.hh:1191
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_settingsextension.hh:1274
void setDirectionA(Direction dir)
Set the auto-repeater offset direction for VFO A.
Definition anytone_settingsextension.cc:2226
Frequency _maxVHF2
Maximum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1280
void setUHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:2271
AnytoneAutoRepeaterOffsetRef * uhf2Ref() const
Returns the reference for the second UHF offset freuqency.
Definition anytone_settingsextension.cc:2350
AnytoneAutoRepeaterOffsetRef * _uhfOffset
A reference to the UHF offset frequency.
Definition anytone_settingsextension.hh:1276
Frequency vhf2Min
The minimum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1163
Frequency uhf2Min
The minimum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1171
void setUHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:2282
Frequency vhfMin
The minimum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1139
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1270
Frequency uhf2Max
The maximum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1175
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_settingsextension.hh:1290
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1272
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1278
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_settingsextension.hh:1286
Frequency vhfMax
The maximum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:1143
Implements the bluetooth handset settings for AnyTone devices.
Definition anytone_settingsextension.hh:1730
void setVoxDelay(Interval delay)
Sets the VOX delay.
Definition anytone_settingsextension.cc:2559
void setFuncKeyALong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A long press function.
Definition anytone_settingsextension.cc:2612
AnytoneKeySettingsExtension::KeyFunction _funcKeyBLong
Function key B long press function.
Definition anytone_settingsextension.hh:1870
void setMicGain(unsigned int gain)
Sets the mic gain.
Definition anytone_settingsextension.cc:2499
ConfigItem * clone() const override
Clones this item.
Definition anytone_settingsextension.cc:2439
unsigned int _voxLevel
Specifies the VOX level.
Definition anytone_settingsextension.hh:1859
unsigned int _volumeLevelB
Specifies the volume level for VFO B.
Definition anytone_settingsextension.hh:1855
void setVolumeLevelB(unsigned int level)
Sets the volume level for VFO B.
Definition anytone_settingsextension.cc:2484
AnytoneKeySettingsExtension::KeyFunction _funcKeyCLong
Function key B long press function.
Definition anytone_settingsextension.hh:1872
unsigned int _volumeLevelA
Specifies the volume level for VFO A.
Definition anytone_settingsextension.hh:1854
void setFuncKeyCVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C very long press function.
Definition anytone_settingsextension.cc:2677
void setBacklight(Interval dur)
Sets the backlight duration.
Definition anytone_settingsextension.cc:2690
void setFuncKeyAVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A very long press function.
Definition anytone_settingsextension.cc:2651
unsigned int _txNoiseReduction
Specifies the transmit noise reduction level.
Definition anytone_settingsextension.hh:1858
unsigned int _squelch
Specifies the squelch level.
Definition anytone_settingsextension.hh:1857
void setTxNoiseReduction(unsigned int level)
Sets the transmit noise reduction level.
Definition anytone_settingsextension.cc:2529
void setFuncKeyCShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C short press function.
Definition anytone_settingsextension.cc:2599
AnytoneKeySettingsExtension::KeyFunction _funcKeyCShort
Function key B short press function.
Definition anytone_settingsextension.hh:1866
void setFuncKeyAShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A short press function.
Definition anytone_settingsextension.cc:2573
bool shutdownEnabled() const
Returns true, if the handset is shutdown along with the radio.
Definition anytone_settingsextension.cc:2450
void setFuncKeyBLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B long press function.
Definition anytone_settingsextension.cc:2625
bool _shutdown
Shut the handset down along with the radio.
Definition anytone_settingsextension.hh:1853
AnytoneKeySettingsExtension::KeyFunction _funcKeyALong
Function key A long press function.
Definition anytone_settingsextension.hh:1868
Interval _voxDelay
Specifies the VOX delay.
Definition anytone_settingsextension.hh:1860
void enableShutdown(bool enable)
Enables/disables shutting the handset down along with the radio.
Definition anytone_settingsextension.cc:2455
AnytoneKeySettingsExtension::KeyFunction _funcKeyAShort
Function key A short press function.
Definition anytone_settingsextension.hh:1862
void setVoxLevel(unsigned int level)
Set the VOX level.
Definition anytone_settingsextension.cc:2544
void setVolumeLevelA(unsigned int level)
Sets the volume level for VFO A.
Definition anytone_settingsextension.cc:2469
void setFuncKeyBVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B very long press function.
Definition anytone_settingsextension.cc:2664
AnytoneKeySettingsExtension::KeyFunction _funcKeyBShort
Function key B short press function.
Definition anytone_settingsextension.hh:1864
AnytoneKeySettingsExtension::KeyFunction _funcKeyBVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1876
void setFuncKeyCLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C long press function.
Definition anytone_settingsextension.cc:2638
AnytoneKeySettingsExtension::KeyFunction _funcKeyCVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1878
Interval _backlight
Backlight duration.
Definition anytone_settingsextension.hh:1879
void setFuncKeyBShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B short press function.
Definition anytone_settingsextension.cc:2586
AnytoneBluetoothHandsetSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2420
unsigned int _micGain
Specifies the mic gain.
Definition anytone_settingsextension.hh:1856
AnytoneKeySettingsExtension::KeyFunction _funcKeyAVeryLong
Function key A very long press function.
Definition anytone_settingsextension.hh:1874
void setSquelch(unsigned int level)
Sets the squelch level.
Definition anytone_settingsextension.cc:2514
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_settingsextension.hh:1889
Interval _pttSleep
PTT sleep timer, 0 is off.
Definition anytone_settingsextension.hh:1974
unsigned int micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1905
void setPTTSleepTimer(Interval intv)
Sets the PTT sleep timeout, 0 means off.
Definition anytone_settingsextension.cc:2758
Interval _holdDelay
What ever.
Definition anytone_settingsextension.hh:1980
bool enabled
If true, bluetooth is enabled.
Definition anytone_settingsextension.hh:1895
AnytoneBluetoothSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2702
bool internalSpeaker
If true, the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.hh:1903
bool _pttLatch
PTT latch flag.
Definition anytone_settingsextension.hh:1973
unsigned int speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1907
void setMicGain(unsigned int gain)
Sets the bluetooth mic gain.
Definition anytone_settingsextension.cc:2797
Interval holdDelay
The bluetooth hold delay.
Definition anytone_settingsextension.hh:1911
bool _internalMic
Additionally enables internal mic.
Definition anytone_settingsextension.hh:1975
bool internalMicEnabled() const
Returns true if the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2766
void enableInternalMic(bool enable)
Enables/disables internal mic additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2771
void setSpeakerGain(unsigned int gain)
Sets the bluetooth speaker gain.
Definition anytone_settingsextension.cc:2810
bool _bluetoothEnabled
Enables bluetooth.
Definition anytone_settingsextension.hh:1972
void enableInternalSpeaker(bool enable)
Enables/disables internal speaker additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2784
const Interval & holdDuration() const
Returns the bluetooth hold duration.
Definition anytone_settingsextension.cc:2818
void enablePTTLatch(bool enable)
Enables/disables the PTT latch.
Definition anytone_settingsextension.cc:2728
void enableBluetooth(bool enable)
Enables/disables bluetooth.
Definition anytone_settingsextension.cc:2746
AnytoneBluetoothHandsetSettingsExtension * _handset
Handset settings.
Definition anytone_settingsextension.hh:1971
unsigned int _speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1978
unsigned int _micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1977
Interval hold
The bluetooth hold duration.
Definition anytone_settingsextension.hh:1909
bool internalSpeakerEnabled() const
Returns true if the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2779
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2714
AnytoneBluetoothHandsetSettingsExtension * handset
The handset settings.
Definition anytone_settingsextension.hh:1913
Interval _holdDuration
What ever.
Definition anytone_settingsextension.hh:1979
bool pttLatch
If true, the PTT latch is enabled.
Definition anytone_settingsextension.hh:1897
void setHoldDelay(const Interval &dur)
Sets the bluetooth hold delay.
Definition anytone_settingsextension.cc:2836
bool _internalSpeaker
Additionally enables internal speaker.
Definition anytone_settingsextension.hh:1976
void setHoldDuration(const Interval &dur)
Sets the bluetooth hold duration.
Definition anytone_settingsextension.cc:2823
Interval pttSleepTimer
The sleep timeout of the PTT button.
Definition anytone_settingsextension.hh:1899
bool internalMic
If true, the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.hh:1901
bool bluetoothEnabled() const
Returns true if bluetooth is enabled.
Definition anytone_settingsextension.cc:2741
Implements the boot settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:20
void enableBootPassword(bool enable)
Enables the boot password.
Definition anytone_settingsextension.cc:900
bool resetEnabled() const
Returns true if the MCU is reset on boot.
Definition anytone_settingsextension.cc:970
bool _reset
Enables MCU reset on boot.
Definition anytone_settingsextension.hh:120
bool defaultChannel
If enabled, the default channels are selected at boot.
Definition anytone_settingsextension.hh:32
ChannelReference * channelA
The default channel for VFO A.
Definition anytone_settingsextension.hh:38
ChannelReference * _channelB
Default channel for VFO B, must be member of zone for VFO B.
Definition anytone_settingsextension.hh:116
ZoneReference * priorityZoneB
The priority zone for VFO B.
Definition anytone_settingsextension.hh:48
bool _bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_settingsextension.hh:110
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:41
BootDisplay _bootDisplay
The boot display property.
Definition anytone_settingsextension.hh:109
AnytoneBootSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:863
void enableReset(bool enable)
Enables/disables MCU reset on boot.
Definition anytone_settingsextension.cc:974
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:874
ZoneReference * _priorityZoneA
Priority zone for VFO A.
Definition anytone_settingsextension.hh:117
bool _defaultChannel
Change to the default channel on boot.
Definition anytone_settingsextension.hh:112
QString bootPassword
Holds the boot password.
Definition anytone_settingsextension.hh:28
void enableDefaultChannel(bool enable)
Enables/disables boot default channel.
Definition anytone_settingsextension.cc:924
bool bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_settingsextension.hh:26
bool gpsCheckEnabled() const
Returns true if the GPS check is enabled.
Definition anytone_settingsextension.cc:958
bool _gpsCheck
Enables GPS check.
Definition anytone_settingsextension.hh:119
ZoneReference * _zoneA
Default zone for VFO A.
Definition anytone_settingsextension.hh:113
ChannelReference * channelB
The default channel for VFO B.
Definition anytone_settingsextension.hh:44
ZoneReference * zoneA
The default zone for VFO A.
Definition anytone_settingsextension.hh:35
ZoneReference * _priorityZoneB
Priority zone for VFO B.
Definition anytone_settingsextension.hh:118
void enableGPSCheck(bool enable)
Enables/disables the GPS check.
Definition anytone_settingsextension.cc:962
bool defaultChannelEnabled() const
If true, the radio switches to the default channel at boot.
Definition anytone_settingsextension.cc:920
BootDisplay
What to display during boot.
Definition anytone_settingsextension.hh:57
void setBootDisplay(BootDisplay mode)
Sets the boot display.
Definition anytone_settingsextension.cc:888
bool reset
Enables the MCU reset on boot.
Definition anytone_settingsextension.hh:53
BootDisplay bootDisplay
The boot display setting.
Definition anytone_settingsextension.hh:24
void setBootPassword(const QString &pass)
Sets the boot password.
Definition anytone_settingsextension.cc:912
bool gpsCheck
Enables the GPS check.
Definition anytone_settingsextension.hh:51
ZoneReference * _zoneB
Default zone for VFO B.
Definition anytone_settingsextension.hh:115
ChannelReference * _channelA
Default channel for VFO A, must be member of zone for VFO A.
Definition anytone_settingsextension.hh:114
QString _bootPassword
The boot password.
Definition anytone_settingsextension.hh:111
ZoneReference * priorityZoneA
The priority zone for VFO A.
Definition anytone_settingsextension.hh:46
Implements the DMR settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1299
SMSFormat _smsFormat
Sets the SMS format.
Definition anytone_settingsextension.hh:1481
void enableMonitorColorCodeMatch(bool enable)
Enables/disables the CC match for the DMR monitor.
Definition anytone_settingsextension.cc:135
Interval _preWaveDelay
Pre-wave time in ms, should be 100ms.
Definition anytone_settingsextension.hh:1474
TalkerAliasSource talkerAliasSource() const
Returns the talker alias source.
Definition anytone_settingsextension.cc:191
void setGroupCallHangTime(Interval sec)
Sets the group-call hang-time in seconds.
Definition anytone_settingsextension.cc:39
void setPreWaveDelay(Interval ms)
Sets the pre-wave delay in ms.
Definition anytone_settingsextension.cc:87
bool monitorTimeSlotHoldEnabled() const
Returns true if the time-slot is held by the DMR monitor.
Definition anytone_settingsextension.cc:155
bool _monitorColorCodeMatch
Enables CC match for DMR monitor.
Definition anytone_settingsextension.hh:1478
void enableMonitorIDMatch(bool enable)
Enables/disables ID match for the DMR monitor.
Definition anytone_settingsextension.cc:147
Interval wakeHeadPeriod
Wake head-period in ms.
Definition anytone_settingsextension.hh:1320
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_settingsextension.hh:1479
void setManualGroupCallHangTime(Interval sec)
Sets the manual dialed group-call hang-time in seconds.
Definition anytone_settingsextension.cc:51
Interval privateCallHangTime
Private-call hang-time in seconds.
Definition anytone_settingsextension.hh:1310
Interval preWaveDelay
Pre-wave delay in ms.
Definition anytone_settingsextension.hh:1316
void setTalkerAliasSource(TalkerAliasSource mode)
Sets the talker alias source.
Definition anytone_settingsextension.cc:195
Interval manualPrivateCallHangTime
Manual dialed private-call hang-time in seconds.
Definition anytone_settingsextension.hh:1312
SlotMatch monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1328
EncryptionType _encryption
DMR encryption type.
Definition anytone_settingsextension.hh:1485
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.hh:1480
void setSMSFormat(SMSFormat format)
Sets the SMS format.
Definition anytone_settingsextension.cc:171
void setPrivateCallHangTime(Interval sec)
Sets the private-call hang-time in seconds.
Definition anytone_settingsextension.cc:63
Interval _manualGroupCallHangTime
Hang-time for manual dialed group-calls in seconds.
Definition anytone_settingsextension.hh:1471
void enableMonitorTimeSlotHold(bool enable)
Enables/disables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.cc:159
bool filterOwnIDEnabled() const
If true, the own ID is not shown in call lists.
Definition anytone_settingsextension.cc:107
bool _filterOwnID
If enabled, the own ID is not shown in call lists.
Definition anytone_settingsextension.hh:1476
AnytoneDMRSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:9
bool sendTalkerAlias() const
Returns true if the talker alias is sent.
Definition anytone_settingsextension.cc:179
void enableFilterOwnID(bool enable)
Enables/disables filtering of own ID.
Definition anytone_settingsextension.cc:111
TalkerAliasEncoding _talkerAliasEncoding
Encoding for the talker alias.
Definition anytone_settingsextension.hh:1484
SMSFormat smsFormat() const
Returns the SMS format.
Definition anytone_settingsextension.cc:167
void setManualPrivateCallHangTime(Interval sec)
Sets the manual dialed private-call hang-time in seconds.
Definition anytone_settingsextension.cc:75
Interval _privateCallHangTime
Hang-time for private-calls in seconds.
Definition anytone_settingsextension.hh:1472
bool _sendTalkerAlias
Enables sending talker alias.
Definition anytone_settingsextension.hh:1482
Interval groupCallHangTime
Group-call hang-time in seconds.
Definition anytone_settingsextension.hh:1304
bool monitorColorCodeMatchEnabled() const
Returns true if the CC match is enabled for the DMR monitor.
Definition anytone_settingsextension.cc:131
Interval manualGroupCallHangTime
Manual dialed group-call hang-time in seconds.
Definition anytone_settingsextension.hh:1306
bool filterOwnID
Filter own ID from call lists.
Definition anytone_settingsextension.hh:1324
void setEncryption(EncryptionType type)
Sets the encryption type.
Definition anytone_settingsextension.cc:219
Interval _groupCallHangTime
Hang-time for group-calls in seconds.
Definition anytone_settingsextension.hh:1470
void setMonitorSlotMatch(SlotMatch match)
Sets the slot-match mode for the DMR monitor.
Definition anytone_settingsextension.cc:123
EncryptionType encryption() const
Returns the encryption type.
Definition anytone_settingsextension.cc:215
SlotMatch _monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1477
void enableSendTalkerAlias(bool enable)
Enables/disables sending talker alias.
Definition anytone_settingsextension.cc:183
void setWakeHeadPeriod(Interval ms)
Sets the wake head-period in ms.
Definition anytone_settingsextension.cc:99
bool monitorIDMatchEnabled() const
Returns true if the ID match is enabled for the DMR monitor.
Definition anytone_settingsextension.cc:143
Interval _wakeHeadPeriod
Wake head-period in ms, should be 100ms.
Definition anytone_settingsextension.hh:1475
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_settingsextension.hh:1483
void setTalkerAliasEncoding(TalkerAliasEncoding encoding)
Sets the talker alias encoding.
Definition anytone_settingsextension.cc:207
Interval _manualPrivateCallHangTime
Hang-time for manual dialed private-calls in seconds.
Definition anytone_settingsextension.hh:1473
TalkerAliasEncoding talkerAliasEncoding() const
Returns the talker alias encoding.
Definition anytone_settingsextension.cc:203
Implements the display settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:613
Language language() const
Returns the UI language.
Definition anytone_settingsextension.cc:1743
bool showCallEnabled() const
Returns true if the call is shown.
Definition anytone_settingsextension.cc:1719
void setZoneBNameColor(Color color)
Sets the zone name color for VFO B.
Definition anytone_settingsextension.cc:1944
void setDateFormat(DateFormat format)
Sets the date format.
Definition anytone_settingsextension.cc:1759
void setChannelNameColor(Color color)
Sets the color of the channel name.
Definition anytone_settingsextension.cc:1908
void enableShowGlobalChannelNumber(bool enable)
Enables/disables showing the global channel number.
Definition anytone_settingsextension.cc:1783
bool showChannelType() const
Returns true if the channel type is shown.
Definition anytone_settingsextension.cc:1815
Color _zoneNameColor
Color of zone name.
Definition anytone_settingsextension.hh:875
bool showLastHeardEnabled() const
Shows the last caller.
Definition anytone_settingsextension.cc:1839
bool _callEndPrompt
Call-end prompt enabled.
Definition anytone_settingsextension.hh:853
bool _showLastHeard
Shows the last caller.
Definition anytone_settingsextension.hh:868
bool _showTimeSlot
Show time slot.
Definition anytone_settingsextension.hh:863
LastCallerDisplayMode _lastCallerDisplay
Last-caller display mode.
Definition anytone_settingsextension.hh:854
bool _showColorCode
Show color code.
Definition anytone_settingsextension.hh:862
bool _showContact
Enables showing the contact.
Definition anytone_settingsextension.hh:865
void enableCallEndPrompt(bool enable)
Enables/disables the call-end prompt.
Definition anytone_settingsextension.cc:1687
bool displayFrequencyEnabled() const
Returns true, if the frequency is displayed instead of the channel name.
Definition anytone_settingsextension.cc:1659
Color _callColor
Color of call.
Definition anytone_settingsextension.hh:857
void enableDisplayFrequency(bool enable)
Enables/disables display of frequency.
Definition anytone_settingsextension.cc:1663
bool showGlobalChannelNumber() const
Returns true, if the global channel number is shown.
Definition anytone_settingsextension.cc:1779
bool showTimeSlot() const
Returns true if the time slot is shown.
Definition anytone_settingsextension.cc:1803
void setStandbyTextColor(Color color)
Sets the standby text color.
Definition anytone_settingsextension.cc:1855
bool _customChannelBackground
Custom channel background enabled.
Definition anytone_settingsextension.hh:872
AnytoneDisplaySettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:1620
bool showClockEnabled() const
Returns true if the clock is shown.
Definition anytone_settingsextension.cc:1707
void enableShowTimeSlot(bool enable)
Shows/hides time slot.
Definition anytone_settingsextension.cc:1807
void enableShowColorCode(bool enable)
Shows/hides color code.
Definition anytone_settingsextension.cc:1795
unsigned int brightness
The display brightness [1-10].
Definition anytone_settingsextension.hh:619
Color _channelNameColor
Color of channel name.
Definition anytone_settingsextension.hh:873
bool customChannelBackground() const
Returns true if the custom channel background is enabled.
Definition anytone_settingsextension.cc:1964
Color callColor() const
Returns the color of the call.
Definition anytone_settingsextension.cc:1731
void setLastCallerDisplay(LastCallerDisplayMode mode)
Sets the last caller display mode.
Definition anytone_settingsextension.cc:1699
void enableShowChannelNumber(bool enable)
Enables/disables the display of the channel number.
Definition anytone_settingsextension.cc:1771
unsigned int _brightness
The display brightness.
Definition anytone_settingsextension.hh:851
Color _zoneBNameColor
Color of zone name for VFO B.
Definition anytone_settingsextension.hh:876
Color zoneNameColor() const
Returns the color of the zone name.
Definition anytone_settingsextension.cc:1928
Color _standbyBackgroundColor
Standby background color.
Definition anytone_settingsextension.hh:867
void setStandbyBackgroundColor(Color color)
Sets the standby background color.
Definition anytone_settingsextension.cc:1867
bool callEndPromptEnabled() const
Returns true if the call-end prompt is shown.
Definition anytone_settingsextension.cc:1683
Interval _backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:869
void enableShowChannelType(bool enable)
Shows/hides channel type.
Definition anytone_settingsextension.cc:1819
bool displayFrequency
The display frequency setting.
Definition anytone_settingsextension.hh:617
bool showColorCode() const
Returns true if the color code is shown.
Definition anytone_settingsextension.cc:1791
Color _standbyTextColor
Standby text color.
Definition anytone_settingsextension.hh:866
bool _volumeChangePrompt
Volume-change prompt enabled.
Definition anytone_settingsextension.hh:852
bool _showChannelNumber
Show channel number.
Definition anytone_settingsextension.hh:860
Interval _backlightDurationTX
Backlight duration during TX (0=off).
Definition anytone_settingsextension.hh:870
bool _showGlobalChannelNumber
Show global channel number.
Definition anytone_settingsextension.hh:861
void setBacklightDuration(Interval sec)
Sets the backlight duration in seconds.
Definition anytone_settingsextension.cc:1881
Color channelNameColor() const
Returns the color of the channel name.
Definition anytone_settingsextension.cc:1904
void setBacklightDurationTX(Interval sec)
Sets the backlight duration during TX in seconds.
Definition anytone_settingsextension.cc:1895
bool showChannelNumberEnabled() const
Returns true if the channel number is shown.
Definition anytone_settingsextension.cc:1767
void enableShowLastHeard(bool enable)
Enables/disables display of last caller.
Definition anytone_settingsextension.cc:1843
DateFormat dateFormat() const
Returns the date format.
Definition anytone_settingsextension.cc:1755
bool _showClock
Display clock.
Definition anytone_settingsextension.hh:855
bool _showCall
Display call.
Definition anytone_settingsextension.hh:856
Interval backlightDurationTX() const
Returns backlight duration during TX.
Definition anytone_settingsextension.cc:1890
bool _displayFrequency
Display frequency property.
Definition anytone_settingsextension.hh:850
bool volumeChangePromptEnabled() const
Returns true if the volume-change prompt is shown.
Definition anytone_settingsextension.cc:1671
void setBacklightDurationRX(Interval sec)
Sets the backlight duration during RX in seconds.
Definition anytone_settingsextension.cc:1956
void enableCustomChannelBackground(bool enable)
Enables/disables the custom channel background.
Definition anytone_settingsextension.cc:1968
void setCallColor(Color color)
Sets the color of the call.
Definition anytone_settingsextension.cc:1735
bool showContact() const
Returns true if the contact is shown.
Definition anytone_settingsextension.cc:1827
void enableShowCall(bool enable)
Enables/disables display of call.
Definition anytone_settingsextension.cc:1723
void enableShowClock(bool enable)
Enables/disables clock.
Definition anytone_settingsextension.cc:1711
void setZoneNameColor(Color color)
Sets the color of the zone name.
Definition anytone_settingsextension.cc:1932
Color standbyTextColor() const
Returns the standby text color.
Definition anytone_settingsextension.cc:1851
Language _language
UI language.
Definition anytone_settingsextension.hh:858
void setLanguage(Language lang)
Sets the UI language.
Definition anytone_settingsextension.cc:1747
void setChannelBNameColor(Color color)
Sets the channel name color for VFO B.
Definition anytone_settingsextension.cc:1920
Color zoneBNameColor() const
Returns the color of the zone name for VFO B.
Definition anytone_settingsextension.cc:1940
Interval backlightDurationRX() const
Returns backlight duration during RX.
Definition anytone_settingsextension.cc:1952
void setBrightness(unsigned int level)
Sets the display brightness [1-10].
Definition anytone_settingsextension.cc:1651
LastCallerDisplayMode lastCallerDisplay() const
Returns the last caller display mode.
Definition anytone_settingsextension.cc:1695
DateFormat _dateFormat
The date format.
Definition anytone_settingsextension.hh:859
Color channelBNameColor() const
Returns the color of the channel name for VFO B.
Definition anytone_settingsextension.cc:1916
Interval backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:623
bool _showChannelType
Show channel type.
Definition anytone_settingsextension.hh:864
void enableVolumeChangePrompt(bool enable)
Enables/disables the volume-change prompt.
Definition anytone_settingsextension.cc:1675
Color standbyBackgroundColor() const
Returns the standby background color.
Definition anytone_settingsextension.cc:1863
Interval _backlightDurationRX
Backlight duration during RX.
Definition anytone_settingsextension.hh:871
void enableShowContact(bool enable)
Enables/disables the display of calling contact.
Definition anytone_settingsextension.cc:1831
Color _channelBNameColor
Color of channel name for VFO B.
Definition anytone_settingsextension.hh:874
Implements the GPS settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1494
Interval updatePeriod
GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1511
void setMode(GPSMode mode)
Sets the GPS mode.
Definition anytone_settingsextension.cc:308
QString timeZone
The time-zone IANA Id.
Definition anytone_settingsextension.hh:1503
void enablePositionReporting(bool enable)
Enables/disables the GPS range reporting.
Definition anytone_settingsextension.cc:284
Units units
The GPS units used.
Definition anytone_settingsextension.hh:1499
bool _gpsRangeReporting
Enables GPS range reporting.
Definition anytone_settingsextension.hh:1567
AnytoneGPSSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:230
QString ianaTimeZone() const
Returns the IANA ID of the time zone.
Definition anytone_settingsextension.cc:264
void setIANATimeZone(const QString &id)
Sets the time zone by IANA ID.
Definition anytone_settingsextension.cc:275
bool reportPosition
Enables GPS range reporting.
Definition anytone_settingsextension.hh:1507
Units _gpsUnits
The GPS units.
Definition anytone_settingsextension.hh:1565
QTimeZone _timeZone
The time zone.
Definition anytone_settingsextension.hh:1566
void setUnits(Units units)
Sets the GPS units.
Definition anytone_settingsextension.cc:252
GPSMode _mode
The GPS mode (GPS, Baidu, both).
Definition anytone_settingsextension.hh:1569
Interval _gpsRangingInterval
The GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1568
void setUpdatePeriod(Interval sec)
Sets the GPS ranging interval in seconds.
Definition anytone_settingsextension.cc:296
bool positionReportingEnabled() const
Returns true if the GPS range reporting is enabled.
Definition anytone_settingsextension.cc:280
GPSMode mode
The GPS mode.
Definition anytone_settingsextension.hh:1514
GPSMode
Possible GPS modes.
Definition anytone_settingsextension.hh:1524
Units
Possible unit systems.
Definition anytone_settingsextension.hh:1518
Implements the key settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:193
KeyFunction _funcKey6Short
Function of the function key 6, short press.
Definition anytone_settingsextension.hh:433
KeyFunction _funcKey3Short
Function of the function key 3, short press.
Definition anytone_settingsextension.hh:427
void setFuncKeyBLong(KeyFunction func)
Sets the key function for a long press on the function key B.
Definition anytone_settingsextension.cc:1261
KeyFunction funcKey6Short
Function key 6 (P6 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:217
KeyFunction funcKeyCLong
Function key C (PF3 on top or B on mic), long press function.
Definition anytone_settingsextension.hh:231
void setFuncKeyCLong(KeyFunction func)
Sets the key function for a long press on the function key C.
Definition anytone_settingsextension.cc:1284
void setFuncKey5Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 5.
Definition anytone_settingsextension.cc:1181
void enableKeypadLock(bool enable)
Enables/disables the key-pad lock.
Definition anytone_settingsextension.cc:1397
KeyFunction _funcKey1Long
Function of the function key 1, long press.
Definition anytone_settingsextension.hh:424
bool sideKeysLockEnabled() const
Returns true if the side-keys gets locked too.
Definition anytone_settingsextension.cc:1404
bool autoKeyLock
The auto key-lock property.
Definition anytone_settingsextension.hh:247
KeyFunction _funcKeyAShort
Function of the function key A, short press.
Definition anytone_settingsextension.hh:435
void setFuncKey2Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 2.
Definition anytone_settingsextension.cc:1112
KeyFunction funcKey1Short
Function key 1 (P1 below or next to screen), short press function.
Definition anytone_settingsextension.hh:197
KeyFunction _funcKeyBShort
Function of the function key B, short press.
Definition anytone_settingsextension.hh:437
KeyFunction funcKey3Long
Function key 3 (P3 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:207
KeyFunction funcKey2Short
Function key 2 (P2 below or next to screen), short press function.
Definition anytone_settingsextension.hh:201
KeyFunction funcKey6Long
Function key 6 (P6 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:219
void enableKnobLock(bool enable)
Enables/disables the knob lock.
Definition anytone_settingsextension.cc:1386
bool _sideKeysLock
Side-keys are locked.
Definition anytone_settingsextension.hh:450
KeyFunction funcKey2Long
Function key 2 (P2 below or next to screen), long press function.
Definition anytone_settingsextension.hh:203
KeyFunction _funcKey5Long
Function of the function key 5, long press.
Definition anytone_settingsextension.hh:432
void setFuncKeyDLong(KeyFunction func)
Sets the key function for a long press on the function key D.
Definition anytone_settingsextension.cc:1307
KeyFunction funcKey1Long
Function key 1 (P1 below or next to screen), long press function.
Definition anytone_settingsextension.hh:199
KeyFunction _funcKey2Long
Function of the function key 2, long press.
Definition anytone_settingsextension.hh:426
KeyFunction funcKeyCShort
Function key C (PF3 on top or C on mic), short press function.
Definition anytone_settingsextension.hh:229
KeyFunction _funcKeyALong
Function of the function key A, long press.
Definition anytone_settingsextension.hh:436
KeyFunction _funcKey2Short
Function of the function key 2, short press.
Definition anytone_settingsextension.hh:425
KeyFunction
All possible key functions.
Definition anytone_settingsextension.hh:267
void setLongPressDuration(Interval ms)
Sets the long-press duration in ms.
Definition anytone_settingsextension.cc:1347
AnytoneKeySettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:1054
void setFuncKey4Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 4.
Definition anytone_settingsextension.cc:1158
KeyFunction _funcKnobLong
Function of the knob, long press.
Definition anytone_settingsextension.hh:444
void setUpDownKeyFunction(UpDownKeyFunction func)
Sets the up/down key function.
Definition anytone_settingsextension.cc:1361
void setFuncKeyDShort(KeyFunction func)
Sets the key function for a short press on the function key D.
Definition anytone_settingsextension.cc:1296
void setFuncKeyAShort(KeyFunction func)
Sets the key function for a short press on the function key A.
Definition anytone_settingsextension.cc:1227
KeyFunction funcKeyBShort
Function key B (PF2 second below PTT or B on mic), short press function.
Definition anytone_settingsextension.hh:225
KeyFunction funcKey5Long
Function key 5 (P5 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:215
KeyFunction funcKeyAShort
Function key A (PF1 below PTT or A on mic), short press function.
Definition anytone_settingsextension.hh:221
KeyFunction _funcKeyDShort
Function of the function key D, short press.
Definition anytone_settingsextension.hh:441
void setFuncKey3Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 3.
Definition anytone_settingsextension.cc:1135
bool knobLockEnabled() const
Returns true if the knob gets locked too.
Definition anytone_settingsextension.cc:1382
Interval _longPressDuration
The long-press duration in ms.
Definition anytone_settingsextension.hh:445
KeyFunction funcKeyDShort
Function key D (D on mic, D578UV only), short press function.
Definition anytone_settingsextension.hh:233
bool autoKeyLockEnabled() const
Returns true, if the automatic key-lock feature is enabled.
Definition anytone_settingsextension.cc:1370
UpDownKeyFunction upDownKeyFunction() const
Returns the up/down key function.
Definition anytone_settingsextension.cc:1356
void setFuncKnobLong(KeyFunction func)
Sets the key function for a long press on the knob.
Definition anytone_settingsextension.cc:1334
void setFuncKey1Short(KeyFunction func)
Sets the key function for a short press on the function key 1.
Definition anytone_settingsextension.cc:1089
KeyFunction _funcKey4Long
Function of the function key 4, long press.
Definition anytone_settingsextension.hh:430
void setFuncKey4Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 4.
Definition anytone_settingsextension.cc:1169
void setFuncKeyALong(KeyFunction func)
Sets the key function for a long press on the function key A.
Definition anytone_settingsextension.cc:1238
bool forcedKeyLock
If true, the key-lock is forced.
Definition anytone_settingsextension.hh:263
KeyFunction funcKey5Short
Function key 5 (P5 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:213
bool _forcedKeyLock
Forced key-lock.
Definition anytone_settingsextension.hh:451
KeyFunction funcKnobShort
Function knob (channel/frequency knob, D578UV only), short press function.
Definition anytone_settingsextension.hh:237
void setFuncKeyBShort(KeyFunction func)
Sets the key function for a short press on the function key B.
Definition anytone_settingsextension.cc:1250
void enableAutoKeyLock(bool enabled)
Enables/disables auto key-lock.
Definition anytone_settingsextension.cc:1374
KeyFunction _funcKey5Short
Function of the function key 5, short press.
Definition anytone_settingsextension.hh:431
void setFuncKey2Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 2.
Definition anytone_settingsextension.cc:1123
KeyFunction _funcKeyCLong
Function of the function key C, long press.
Definition anytone_settingsextension.hh:440
KeyFunction funcKey4Short
Function key 4 (P4 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:209
void setFuncKey3Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 3.
Definition anytone_settingsextension.cc:1146
KeyFunction _funcKey1Short
Function of the function key 1, short press.
Definition anytone_settingsextension.hh:423
KeyFunction funcKey3Short
Function key 3 (P3 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:205
bool keypadLockEnabled() const
Returns true if the key-pad gets locked too.
Definition anytone_settingsextension.cc:1393
KeyFunction _funcKnobShort
Function of the knob, short press.
Definition anytone_settingsextension.hh:443
void setFuncKnobShort(KeyFunction func)
Sets the key function for a short press on the knob.
Definition anytone_settingsextension.cc:1321
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1075
Interval longPressDuration
The long press duration in ms.
Definition anytone_settingsextension.hh:241
KeyFunction _funcKeyDLong
Function of the function key D, long press.
Definition anytone_settingsextension.hh:442
KeyFunction funcKeyBLong
Function key B (PF2 second below PTT or B on mic), long press function.
Definition anytone_settingsextension.hh:227
bool sideKeysLock
If true, the side-keys get locked too.
Definition anytone_settingsextension.hh:259
void setFuncKey5Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 5.
Definition anytone_settingsextension.cc:1192
UpDownKeyFunction upDownKeys
Up/down key functions (D578UV only).
Definition anytone_settingsextension.hh:244
KeyFunction _funcKeyBLong
Function of the function key B, long press.
Definition anytone_settingsextension.hh:438
KeyFunction funcKeyDLong
Function key D (D on mic, D578UV only), long press function.
Definition anytone_settingsextension.hh:235
bool _autoKeyLock
Auto key-lock property.
Definition anytone_settingsextension.hh:447
KeyFunction _funcKey4Short
Function of the function key 4, short press.
Definition anytone_settingsextension.hh:429
UpDownKeyFunction
Possible up/down key functions.
Definition anytone_settingsextension.hh:280
bool _knobLock
Knob locked too.
Definition anytone_settingsextension.hh:448
KeyFunction _funcKey3Long
Function of the function key 3, long press.
Definition anytone_settingsextension.hh:428
bool forcedKeyLockEnabled() const
Returns true if the key-lock is forced.
Definition anytone_settingsextension.cc:1415
KeyFunction _funcKeyCShort
Function of the function key C, short press.
Definition anytone_settingsextension.hh:439
UpDownKeyFunction _upDownFunction
The up/down key function.
Definition anytone_settingsextension.hh:446
KeyFunction funcKeyALong
Function key A (PF1 below PTT or A on mic), long press function.
Definition anytone_settingsextension.hh:223
void enableForcedKeyLock(bool enable)
Enables/disables the forced key-lock.
Definition anytone_settingsextension.cc:1419
bool knobLock
If true, the knob gets locked too.
Definition anytone_settingsextension.hh:251
KeyFunction funcKey4Long
Function key 4 (P4 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:211
void setFuncKey1Long(KeyFunction func)
Sets the key function for a long press on the function key 1.
Definition anytone_settingsextension.cc:1100
KeyFunction _funcKey6Long
Function of the function key 6, long press.
Definition anytone_settingsextension.hh:434
bool keypadLock
If true, the key-pad gets locked too.
Definition anytone_settingsextension.hh:255
void enableSideKeysLock(bool enable)
Enables/disables the side-keys lock.
Definition anytone_settingsextension.cc:1408
void setFuncKey6Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 6.
Definition anytone_settingsextension.cc:1204
KeyFunction funcKnobLong
Function knob (channel/frequency knob, D578UV only), long press function.
Definition anytone_settingsextension.hh:239
void setFuncKey6Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 6.
Definition anytone_settingsextension.cc:1215
void setFuncKeyCShort(KeyFunction func)
Sets the key function for a short press on the function key C.
Definition anytone_settingsextension.cc:1273
bool _keypadLock
Key-pad is locked.
Definition anytone_settingsextension.hh:449
Implements the power-save settings for AnyTone devices.
Definition anytone_settingsextension.hh:129
PowerSave powerSave() const
Returns the power-save mode.
Definition anytone_settingsextension.cc:1027
void setAutoShutdown(Interval min)
Sets the auto shut-down delay.
Definition anytone_settingsextension.cc:1007
bool resetAutoShutdownOnCall
Resets the auto shut-down timer on every call.
Definition anytone_settingsextension.hh:137
Interval _autoShutDownDelay
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:181
AnytonePowerSaveSettingsExtension(QObject *parent=nullptr)
The power-save mode.
Definition anytone_settingsextension.cc:985
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:993
void enableResetAutoShutdownOnCall(bool enable)
Enables/disables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.cc:1019
Interval autoShutdown
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:134
bool atpc() const
Returns true if the adaptive transmission power control is enabled.
Definition anytone_settingsextension.cc:1039
PowerSave _powerSave
Power save mode property.
Definition anytone_settingsextension.hh:183
bool _resetAutoShutdownOnCall
Enables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.hh:182
void enableATPC(bool enable)
Enables/disables the adaptive transmission power control.
Definition anytone_settingsextension.cc:1043
bool _atpc
Adaptive Transmission Power Control.
Definition anytone_settingsextension.hh:184
void setPowerSave(PowerSave mode)
Sets the power-save mode.
Definition anytone_settingsextension.cc:1031
Implements the repeater settings for the BTECH DMR-6X2UV and AT-D578UV.
Definition anytone_settingsextension.hh:1990
TimeSlot _timeSlot
The primary channel time-slot.
Definition anytone_settingsextension.hh:2059
void setColorCode(ColorCode code)
Sets the color code match mode.
Definition anytone_settingsextension.cc:2920
bool enabled
Enables/disables the repeater feature.
Definition anytone_settingsextension.hh:1995
TimeSlot _secTimeSlot
The secondary channel time-slot.
Definition anytone_settingsextension.hh:2060
TimeSlot
Possible repeater time-slots.
Definition anytone_settingsextension.hh:2014
TimeSlot timeSlot
Time-slot of the primary repeater channel.
Definition anytone_settingsextension.hh:2003
void enable(bool enable)
Enables/disables the simplex repeater.
Definition anytone_settingsextension.cc:2869
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_settingsextension.hh:2058
TimeSlot secTimeSlot
Time-slot of the secondary repeater channel.
Definition anytone_settingsextension.hh:2007
void setSecTimeSlot(TimeSlot ts)
Sets the secondary channel time-slot.
Definition anytone_settingsextension.cc:2906
bool monitor
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:1999
ColorCode
Possible color code settings.
Definition anytone_settingsextension.hh:2020
bool monitorEnabled() const
If true, repeater monitoring is enabled.
Definition anytone_settingsextension.cc:2877
void setTimeSlot(TimeSlot ts)
Sets the primary (simplex) channel time-slot.
Definition anytone_settingsextension.cc:2893
void enableMonitor(bool enable)
Enables/disables repeater monitoring.
Definition anytone_settingsextension.cc:2881
ColorCode _colorCode
The color code match mode.
Definition anytone_settingsextension.hh:2061
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_settingsextension.hh:2057
AnytoneRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2847
Implements the ranging/roaming settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1578
RoamStart roamStart
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1596
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_settingsextension.hh:1712
void setAutoRoamPeriod(Interval min)
Sets the auto-roam period in minutes.
Definition anytone_settingsextension.cc:358
RoamingZoneReference * _defaultRoamingZone
The default roaming zone.
Definition anytone_settingsextension.hh:1720
unsigned int notificationCount
Repeater-check notification count.
Definition anytone_settingsextension.hh:1623
bool autoRoam
Enables auto-roaming.
Definition anytone_settingsextension.hh:1584
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_settingsextension.hh:1716
bool repeaterRangeCheckEnabled() const
Returns true if the repeater range check is enabled.
Definition anytone_settingsextension.cc:378
RoamStart roamReturn
Auto-roaming end/return condition.
Definition anytone_settingsextension.hh:1600
void setRoamingReturnCondition(RoamStart start)
Sets the auto-roaming return condition.
Definition anytone_settingsextension.cc:441
bool rangeCheck
Repeater range check.
Definition anytone_settingsextension.hh:1604
unsigned int _notificationCount
Number of notifications.
Definition anytone_settingsextension.hh:1718
Interval checkInterval
Repeater range check interval in seconds.
Definition anytone_settingsextension.hh:1608
AnytoneRoamingSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:319
bool _notification
Repeater check notification.
Definition anytone_settingsextension.hh:1717
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1715
RoamStart
Possible roaming start conditions.
Definition anytone_settingsextension.hh:1633
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_settingsextension.hh:1710
void setRoamingStartCondition(RoamStart start)
Sets the auto-roaming start condition.
Definition anytone_settingsextension.cc:429
void setRepeaterRangeCheckCount(unsigned int count)
Sets the number of retries before giving up.
Definition anytone_settingsextension.cc:405
void setRepeaterCheckInterval(Interval sec)
Sets the repeater check interval in seconds.
Definition anytone_settingsextension.cc:393
Interval repeaterCheckInterval() const
Returns the repeater check interval in seconds.
Definition anytone_settingsextension.cc:389
Interval _autoRoamPeriod
The auto-roam period in minutes.
Definition anytone_settingsextension.hh:1709
void setOutOfRangeAlert(OutOfRangeAlert type)
Sets the repeater out-of-range alert type.
Definition anytone_settingsextension.cc:417
bool _autoRoam
Enables auto roaming.
Definition anytone_settingsextension.hh:1708
void setNotificationCount(unsigned int n)
Sets the number of repeater-check notifications.
Definition anytone_settingsextension.cc:464
unsigned int retryCount
Retry count.
Definition anytone_settingsextension.hh:1612
Interval autoRoamPeriod
The auto-roaming period in minutes.
Definition anytone_settingsextension.hh:1588
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_settingsextension.hh:1719
OutOfRangeAlert outOfRangeAlert
Repeater out-of-range alert type.
Definition anytone_settingsextension.hh:1615
bool notificationEnabled() const
Returns true, if the repeater check notification is enabled.
Definition anytone_settingsextension.cc:449
void enableAutoRoam(bool enable)
Enables/disables auto-roaming.
Definition anytone_settingsextension.cc:346
bool gpsRoaming
GPS roaming enabled.
Definition anytone_settingsextension.hh:1629
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_settingsextension.hh:1714
RoamingZoneReference * defaultZone
The default roaming zone.
Definition anytone_settingsextension.hh:1626
void enableRepeaterRangeCheck(bool enable)
Enables/disables repeater range check.
Definition anytone_settingsextension.cc:382
unsigned int repeaterRangeCheckCount() const
Number of retries before givnig up.
Definition anytone_settingsextension.cc:401
OutOfRangeAlert
Possible repeater out-of-range alerts.
Definition anytone_settingsextension.hh:1639
RoamStart roamingReturnCondition() const
Returns the auto-roaming return condition.
Definition anytone_settingsextension.cc:437
Interval autoRoamDelay
The auto-roam delay.
Definition anytone_settingsextension.hh:1592
RoamStart roamingStartCondition() const
Returns the auto-roaming start condition.
Definition anytone_settingsextension.cc:425
void enableGPSRoaming(bool enable)
Enables/disables GPS roaming.
Definition anytone_settingsextension.cc:476
void enableNotification(bool enable)
Enables/disables the repeater-check notification.
Definition anytone_settingsextension.cc:453
bool notification
Repeater-check notification.
Definition anytone_settingsextension.hh:1619
void setAutoRoamDelay(Interval sec)
Sets the auto-roam delay in seconds.
Definition anytone_settingsextension.cc:370
unsigned int _repeaterRangeCheckCount
Number of range checks before giving up.
Definition anytone_settingsextension.hh:1713
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_settingsextension.hh:1711
Implements the satellite mode settings for the BTECH DMR-6X2UV PRO.
Definition anytone_settingsextension.hh:2071
void setPower(Channel::Power power)
Sets transmit power in satellite mode.
Definition anytone_settingsextension.cc:2955
AnytoneSatelliteSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2932
unsigned int squelch
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:2080
void setSquelch(unsigned int squelch)
Sets squelch in satellite mode.
Definition anytone_settingsextension.cc:2969
Channel::Power power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:2076
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2939
Channel::Power _power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:2100
unsigned int _squelch
FM squelch in satellite mode.
Definition anytone_settingsextension.hh:2102
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2397
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2429
void setMaxVFOScanFrequencyVHF(Frequency hz)
Sets the maximum VFO scan frequency for the VHF band in Hz.
Definition anytone_settingsextension.cc:738
VFOMode
Possible VFO modes.
Definition anytone_settingsextension.hh:2232
void setVFOStep(Frequency step)
Sets the VFO tuning step in kHz.
Definition anytone_settingsextension.cc:762
FanControl fan() const
Returns the fan control setting.
Definition anytone_settingsextension.cc:846
Frequency maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2146
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_settingsextension.hh:2244
AnytonePowerSaveSettingsExtension * powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2193
Frequency minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2144
AnytoneAudioSettingsExtension * audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2201
Frequency vfoStep
The VFO tuning step-size in kHz.
Definition anytone_settingsextension.hh:2158
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2423
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_settingsextension.hh:2395
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_settingsextension.hh:2436
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_settingsextension.hh:2437
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2139
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2422
void setMinVFOScanFrequencyVHF(Frequency hz)
Sets the minimum VFO scan frequency for the VHF band in Hz.
Definition anytone_settingsextension.cc:727
VFOScanType
Encodes the possible VFO scan types.
Definition anytone_settingsextension.hh:2226
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2393
Q_INVOKABLE AnytoneSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:492
AnytoneBootSettingsExtension * _bootSettings
Returns power setting for satellite mode.
Definition anytone_settingsextension.hh:2391
void enableProMode(bool enable)
Enables/disables the "pro mode".
Definition anytone_settingsextension.cc:823
VFO
Possible VFOs.
Definition anytone_settingsextension.hh:2238
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2405
AnytoneGPSSettingsExtension * gpsSettings
The GPS settings.
Definition anytone_settingsextension.hh:2209
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2425
AnytoneDMRSettingsExtension * dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:2207
AnytoneMenuSettingsExtension * menuSettings
The menu settings.
Definition anytone_settingsextension.hh:2203
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_settingsextension.hh:2419
void enableSubChannel(bool enable)
Enables/disables the sub-channel.
Definition anytone_settingsextension.cc:692
VFOMode modeA
The mode of VFO A.
Definition anytone_settingsextension.hh:2130
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2401
void setVFOScanType(VFOScanType type)
Sets the VFO scan type.
Definition anytone_settingsextension.cc:627
void enableMaintainCallChannel(bool enable)
Enables/disables maintaining the call-channel.
Definition anytone_settingsextension.cc:837
AnytoneMenuSettingsExtension * _menuSettings
The menu settings.
Definition anytone_settingsextension.hh:2403
bool subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2121
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_settingsextension.hh:2430
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_settingsextension.hh:2409
AnytoneRepeaterSettingsExtension * repeaterSettings() const
A reference to the simplex repeater settings.
Definition anytone_settingsextension.cc:612
AnytoneAutoRepeaterSettingsExtension * autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2205
AnytoneRepeaterSettingsExtension * _repeaterSettings
The repeater settings.
Definition anytone_settingsextension.hh:2415
Interval _steDuration
STE duration.
Definition anytone_settingsextension.hh:2434
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_settingsextension.hh:2411
AnytoneKeySettingsExtension * keySettings
The key settings.
Definition anytone_settingsextension.hh:2195
bool keepLastCallerEnabled() const
Returns true if the last caller is kept on channel switch.
Definition anytone_settingsextension.cc:746
void setTBSTFrequency(Frequency Hz)
Sets the TBST frequency in Hz.
Definition anytone_settingsextension.cc:809
void setSTEType(STEType type)
Sets the STE (squelch tail elimination) type.
Definition anytone_settingsextension.cc:774
AnytoneBootSettingsExtension * bootSettings
The boot settings.
Definition anytone_settingsextension.hh:2191
AnytoneBluetoothSettingsExtension * _bluetoothSettings
The bluetooth settings.
Definition anytone_settingsextension.hh:2413
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_settingsextension.hh:2431
bool subChannelEnabled() const
Returns true if the sub-channel is enabled.
Definition anytone_settingsextension.cc:688
AnytoneBluetoothSettingsExtension * bluetoothSettings
The Bluetooth settings.
Definition anytone_settingsextension.hh:2213
VFOMode _modeB
Mode of VFO B.
Definition anytone_settingsextension.hh:2421
void enableKeepLastCaller(bool enable)
Enables/disables keeping the last caller on channel switch.
Definition anytone_settingsextension.cc:750
void setModeB(VFOMode mode)
Sets the mode for VFO B.
Definition anytone_settingsextension.cc:651
AnytoneToneSettingsExtension * toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2197
void setFan(FanControl ctlr)
Sets the fan control.
Definition anytone_settingsextension.cc:851
Frequency tbstFrequency() const
Returns the TBST frequency in Hz.
Definition anytone_settingsextension.cc:805
void setMinVFOScanFrequencyUHF(Frequency hz)
Sets the minimum VFO scan frequency for the UHF band in Hz.
Definition anytone_settingsextension.cc:704
AnytoneDMRSettingsExtension * _dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:2407
VFOMode modeB
The mode of VFO B.
Definition anytone_settingsextension.hh:2132
void setSelectedVFO(VFO vfo)
Sets the selected VFO.
Definition anytone_settingsextension.cc:680
Frequency _maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2427
STEType steType
The STE type.
Definition anytone_settingsextension.hh:2163
bool keepLastCaller
The keep-last-caller setting.
Definition anytone_settingsextension.hh:2154
AnytoneDisplaySettingsExtension * displaySettings
The display settings.
Definition anytone_settingsextension.hh:2199
VFOScanType vfoScanType
The VFO scan type.
Definition anytone_settingsextension.hh:2142
double steFrequency
The STE frequency in Hz.
Definition anytone_settingsextension.hh:2167
AnytoneRoamingSettingsExtension * roamingSettings
The Roaming settings.
Definition anytone_settingsextension.hh:2211
Interval steDuration
The STE duration in ms.
Definition anytone_settingsextension.hh:2172
Frequency minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2148
void setSTEDuration(Interval intv)
Sets the STE duration.
Definition anytone_settingsextension.cc:797
void setModeA(VFOMode mode)
Sets the mode for VFO A.
Definition anytone_settingsextension.cc:639
void setSTEFrequency(double freq)
Sets the STE (squelch tail elimination) frequency in Hz.
Definition anytone_settingsextension.cc:785
VFO _selectedVFO
The current VFO.
Definition anytone_settingsextension.hh:2424
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2426
void setMaxVFOScanFrequencyUHF(Frequency hz)
Sets the maximum VFO scan frequency for the UHF band in Hz.
Definition anytone_settingsextension.cc:715
Frequency _minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2428
Frequency maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2150
STEType _steType
The STE type.
Definition anytone_settingsextension.hh:2432
AnytoneSatelliteSettingsExtension * _satelliteSettings
The satellite settings.
Definition anytone_settingsextension.hh:2417
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_settingsextension.hh:2399
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_settingsextension.hh:2433
bool proModeEnabled() const
Returns true, if the "pro mode" is enabled.
Definition anytone_settingsextension.cc:818
VFO selectedVFO
The current active VFO.
Definition anytone_settingsextension.hh:2125
VFOMode _modeA
Mode of VFO A.
Definition anytone_settingsextension.hh:2420
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_settingsextension.hh:2435
ZoneReference * zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2137
bool maintainCallChannelEnabled() const
Returns true if the call-channel is maintained.
Definition anytone_settingsextension.cc:832
Implements the tone settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:460
bool startupToneEnabled() const
Returns true if the startup tone is enabled.
Definition anytone_settingsextension.cc:1552
bool startup
If true, the startup tone is enabled.
Definition anytone_settingsextension.hh:497
unsigned int keyToneLevel
The key tone level setting.
Definition anytone_settingsextension.hh:470
bool _talkPermitDigital
DMR talk permit tone.
Definition anytone_settingsextension.hh:591
bool _totNotification
TOT notification enabled.
Definition anytone_settingsextension.hh:597
void enableFMIdleChannelTone(bool enable)
Enables/disables the idle FM channel tone.
Definition anytone_settingsextension.cc:1544
bool callAlertEnabled() const
Returns true if call alert is enabled.
Definition anytone_settingsextension.cc:1480
AnytoneToneSettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:1431
Melody * _callMelody
Call melody.
Definition anytone_settingsextension.hh:599
bool _callAlert
Call alert tone enabled.
Definition anytone_settingsextension.hh:590
bool dmrIdle
If true, the idle tone is enabled for DMR channels.
Definition anytone_settingsextension.hh:493
bool wxAlarm
Enables weather alarm tone.
Definition anytone_settingsextension.hh:501
bool dmrIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for DMR channel.
Definition anytone_settingsextension.cc:1528
Melody * idleMelody
The idle melody.
Definition anytone_settingsextension.hh:506
bool _talkPermitAnalog
FM talk permit tone.
Definition anytone_settingsextension.hh:592
void enableDigitalResetTone(bool enable)
Enables/disables the reset tone for digital calls.
Definition anytone_settingsextension.cc:1520
Melody * callEndMelody
The call-end melody.
Definition anytone_settingsextension.hh:510
bool keyTone
The key tone setting.
Definition anytone_settingsextension.hh:466
bool fmIdle
If true, the idle tone is enabled for FM channels.
Definition anytone_settingsextension.hh:495
unsigned int _keyToneLevel
The level of key-tones, 0=user adjustable.
Definition anytone_settingsextension.hh:603
Melody * _callEndMelody
Call end melody.
Definition anytone_settingsextension.hh:602
bool talkPermitDigitalEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_settingsextension.cc:1492
bool tot
Enables transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.hh:499
bool smsAlert
If true, the SMS alert tone is enabled.
Definition anytone_settingsextension.hh:474
bool smsAlertEnabled() const
Returns true if SMS alert is enabled.
Definition anytone_settingsextension.cc:1468
void enableCallAlert(bool enable)
Enables/disables call alert.
Definition anytone_settingsextension.cc:1484
bool _wxAlarm
Weather alarm.
Definition anytone_settingsextension.hh:598
bool keyToneEnabled() const
Returns true if the key tone is enabled.
Definition anytone_settingsextension.cc:1456
void enableTOTNotification(bool enable)
Enables/disables the transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.cc:1568
bool talkPermitAnalogEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_settingsextension.cc:1504
void setKeyToneLevel(unsigned int level)
Sets the key-tone level.
Definition anytone_settingsextension.cc:1609
void enableDMRIdleChannelTone(bool enable)
Enables/disables the idle DMR channel tone.
Definition anytone_settingsextension.cc:1532
Melody * callMelody
The call melody.
Definition anytone_settingsextension.hh:504
Melody * _idleMelody
Idle melody.
Definition anytone_settingsextension.hh:600
bool _smsAlert
SMS alert tone enabled.
Definition anytone_settingsextension.hh:589
bool _dmrIdleChannelTone
Idle channel tone (DMR).
Definition anytone_settingsextension.hh:594
bool digitalResetToneEnabled() const
Returns true if the reset tone is enabled for digital calls.
Definition anytone_settingsextension.cc:1516
Melody * resetMelody
The reset melody.
Definition anytone_settingsextension.hh:508
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1446
void enableTalkPermitDigital(bool enable)
Enables/disables the talk permit tone for digital channels.
Definition anytone_settingsextension.cc:1496
void enableWXAlarm(bool enable)
Enables/disables weather alarm.
Definition anytone_settingsextension.cc:1580
bool dmrTalkPermit
If true, the DMR talk permit tone is enabled.
Definition anytone_settingsextension.hh:482
bool totNotification() const
Returns true if the transmit timeout notification is enabled (5s before TOT).
Definition anytone_settingsextension.cc:1564
bool _startupTone
Startup tone enabled.
Definition anytone_settingsextension.hh:596
void enableTalkPermitAnalog(bool enable)
Enables/disables the talk permit tone for analog channels.
Definition anytone_settingsextension.cc:1508
void enableStartupTone(bool enable)
Enables/disables the startup tone.
Definition anytone_settingsextension.cc:1556
bool fmIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for FM channel.
Definition anytone_settingsextension.cc:1540
bool _resetToneDigital
DMR reset tone.
Definition anytone_settingsextension.hh:593
bool fmTalkPermit
If true, the FM talk permit tone is enabled.
Definition anytone_settingsextension.hh:490
void enableKeyTone(bool enable)
Enables/disables the key tone.
Definition anytone_settingsextension.cc:1460
bool _fmIdleChannelTone
Idle channel tone (FM).
Definition anytone_settingsextension.hh:595
bool callAlert
If true, the call alert tone is enabled.
Definition anytone_settingsextension.hh:478
bool _keyTone
Key tone property.
Definition anytone_settingsextension.hh:588
Melody * _resetMelody
Reset melody.
Definition anytone_settingsextension.hh:601
void enableSMSAlert(bool enable)
Enables/disables SMS alert.
Definition anytone_settingsextension.cc:1472
bool dmrReset
If true, the DMR reset tone is enabled.
Definition anytone_settingsextension.hh:486
Represents a reference to a channel.
Definition configreference.hh:123
The base class of all channels (analog and digital) of a codeplug configuration.
Definition channel.hh:34
ConfigExtension(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1108
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:132
ConfigObjectList(const QMetaObject &elementTypes=ConfigItem::staticMetaObject, QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1385
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:1015
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
A config item that encodes a melody.
Definition melody.hh:20
Base class for all Radio objects.
Definition radio.hh:32
Implements a reference to a roaming zone.
Definition configreference.hh:273
Implements a reference to a zone.
Definition configreference.hh:295
Represents a zone within the generic configuration.
Definition zone.hh:15
Helper type to encode frequencies without any rounding error.
Definition frequency.hh:107