1#ifndef ANYTONE_SETTINGSEXTENSION_H
2#define ANYTONE_SETTINGSEXTENSION_H
6#include "configobject.hh"
7#include "configreference.hh"
10#include "frequency.hh"
62 Q_CLASSINFO(
"autoShutDownDelayDescription",
"The auto shut-down delay in minutes.")
69 Q_CLASSINFO(
"powerSaveDescription",
"Specifies the power save mode. "
70 "D686UV, D878UV(2) and DMR-6X2UV only.")
79 enum class PowerSave {
80 Off = 0, Save50 = 1, Save66 = 2
96 bool resetAutoShutdownOnCall()
const;
98 void enableResetAutoShutdownOnCall(
bool enable);
101 PowerSave powerSave()
const;
103 void setPowerSave(PowerSave mode);
108 void enableATPC(
bool enable);
179 Q_CLASSINFO(
"knobLockDescription",
"If enabled, the knob gets locked too.")
183 Q_CLASSINFO(
"keypadLockDescription",
"If enabled, the key-pad gets locked.")
187 Q_CLASSINFO(
"sideKeysLockDescription",
"If enabled, the side-keys get locked.")
191 Q_CLASSINFO(
"forcedKeyLockDescription",
"If enabled, the key-lock is forced.")
198 Off, Voltage, Power, Repeater, Reverse, Encryption, Call, VOX, ToggleVFO, SubPTT,
199 Scan, WFM, Alarm, RecordSwitch, Record, SMS, Dial, GPSInformation, Monitor, ToggleMainChannel,
200 HotKey1, HotKey2, HotKey3, HotKey4, HotKey5, HotKey6, WorkAlone, SkipChannel, DMRMonitor,
201 SubChannel, PriorityZone, VFOScan, MICSoundQuality, LastCallReply, ChannelType, Ranging,
202 Roaming, ChannelRanging, MaxVolume, Slot, APRSTypeSwitch,
Zone, ZoneUp, ZoneDown, Exit, Menu,
203 RoamingSet, APRSSet, Mute, MuteA, MuteB, CtcssDcsSet, TBSTSend, Bluetooth, GPS, ChannelName,
204 CDTScan, APRSSend, APRSInfo, Speaker, XBandRepeater, SimplexRepeater, GPSRoaming, Squelch,
205 NoiseReductionTX, DIMShut, SatPredict
213 Q_ENUM(UpDownKeyFunction)
222 KeyFunction funcKey1Short()
const;
224 void setFuncKey1Short(KeyFunction func);
226 KeyFunction funcKey1Long()
const;
228 void setFuncKey1Long(KeyFunction func);
231 KeyFunction funcKey2Short()
const;
233 void setFuncKey2Short(KeyFunction func);
235 KeyFunction funcKey2Long()
const;
237 void setFuncKey2Long(KeyFunction func);
240 KeyFunction funcKey3Short()
const;
242 void setFuncKey3Short(KeyFunction func);
244 KeyFunction funcKey3Long()
const;
246 void setFuncKey3Long(KeyFunction func);
249 KeyFunction funcKey4Short()
const;
251 void setFuncKey4Short(KeyFunction func);
253 KeyFunction funcKey4Long()
const;
255 void setFuncKey4Long(KeyFunction func);
258 KeyFunction funcKey5Short()
const;
260 void setFuncKey5Short(KeyFunction func);
262 KeyFunction funcKey5Long()
const;
264 void setFuncKey5Long(KeyFunction func);
267 KeyFunction funcKey6Short()
const;
269 void setFuncKey6Short(KeyFunction func);
271 KeyFunction funcKey6Long()
const;
273 void setFuncKey6Long(KeyFunction func);
276 KeyFunction funcKeyAShort()
const;
278 void setFuncKeyAShort(KeyFunction func);
280 KeyFunction funcKeyALong()
const;
282 void setFuncKeyALong(KeyFunction func);
285 KeyFunction funcKeyBShort()
const;
287 void setFuncKeyBShort(KeyFunction func);
289 KeyFunction funcKeyBLong()
const;
291 void setFuncKeyBLong(KeyFunction func);
294 KeyFunction funcKeyCShort()
const;
296 void setFuncKeyCShort(KeyFunction func);
298 KeyFunction funcKeyCLong()
const;
300 void setFuncKeyCLong(KeyFunction func);
303 KeyFunction funcKeyDShort()
const;
305 void setFuncKeyDShort(KeyFunction func);
307 KeyFunction funcKeyDLong()
const;
309 void setFuncKeyDLong(KeyFunction func);
312 KeyFunction funcKnobShort()
const;
314 void setFuncKnobShort(KeyFunction func);
316 KeyFunction funcKnobLong()
const;
318 void setFuncKnobLong(KeyFunction func);
323 void setLongPressDuration(
Interval ms);
326 UpDownKeyFunction upDownKeyFunction()
const;
328 void setUpDownKeyFunction(UpDownKeyFunction func);
331 bool autoKeyLockEnabled()
const;
333 void enableAutoKeyLock(
bool enabled);
336 bool knobLockEnabled()
const;
338 void enableKnobLock(
bool enable);
340 bool keypadLockEnabled()
const;
342 void enableKeypadLock(
bool enable);
344 bool sideKeysLockEnabled()
const;
346 void enableSideKeysLock(
bool enable);
348 bool forcedKeyLockEnabled()
const;
350 void enableForcedKeyLock(
bool enable);
392 Q_CLASSINFO(
"description",
"Tone settings for AnyTone devices.")
435 Q_CLASSINFO(
"backlightDuration",
"The duration in seconds, the backlight keeps lit after any action. ")
439 Q_CLASSINFO(
"backlightDurationTX",
"The duration in seconds, the backlight is lit during TX. "
440 "A value of 0 means off.")
444 Q_CLASSINFO(
"backlightDurationRX",
"The duration in seconds, the backlight is lit during RX.")
484 Q_CLASSINFO(
"channelNameColorDescription",
"Specifies the color of the channel name.")
487 Q_CLASSINFO(
"channelBNameColorDescription",
"Specifies the color of the channel name for VFO B.")
491 Q_CLASSINFO(
"zoneNameColorDescription",
"Specifies the color of the zone name.")
494 Q_CLASSINFO(
"zoneBNameColorDescription",
"Specifies the color of the zone name for VFO B.")
505 enum class LastCallerDisplayMode {
506 Off = 0, ID = 1, Call = 2, Both = 3
508 Q_ENUM(LastCallerDisplayMode)
512 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
517 enum class Language {
524 enum class DateFormat {
532 explicit AnytoneDisplaySettingsExtension(QObject *parent=
nullptr);
534 ConfigItem *clone()
const;
537 bool displayFrequencyEnabled()
const;
539 void enableDisplayFrequency(
bool enable);
542 unsigned int brightness()
const;
544 void setBrightness(
unsigned int level);
547 bool volumeChangePromptEnabled()
const;
549 void enableVolumeChangePrompt(
bool enable);
552 bool callEndPromptEnabled()
const;
554 void enableCallEndPrompt(
bool enable);
557 LastCallerDisplayMode lastCallerDisplay()
const;
559 void setLastCallerDisplay(LastCallerDisplayMode mode);
562 bool showClockEnabled()
const;
564 void enableShowClock(
bool enable);
567 bool showCallEnabled()
const;
569 void enableShowCall(
bool enable);
572 Color callColor()
const;
574 void setCallColor(Color color);
577 Language language()
const;
579 void setLanguage(Language lang);
581 DateFormat dateFormat()
const;
583 void setDateFormat(DateFormat format);
586 bool showChannelNumberEnabled()
const;
588 void enableShowChannelNumber(
bool enable);
591 bool showGlobalChannelNumber()
const;
593 void enableShowGlobalChannelNumber(
bool enable);
595 bool showColorCode()
const;
597 void enableShowColorCode(
bool enable);
599 bool showTimeSlot()
const;
601 void enableShowTimeSlot(
bool enable);
603 bool showChannelType()
const;
605 void enableShowChannelType(
bool enable);
608 bool showContact()
const;
610 void enableShowContact(
bool enable);
613 Color standbyTextColor()
const;
615 void setStandbyTextColor(Color color);
617 Color standbyBackgroundColor()
const;
619 void setStandbyBackgroundColor(Color color);
622 bool showLastHeardEnabled()
const;
624 void enableShowLastHeard(
bool enable);
627 Interval backlightDuration()
const;
629 void setBacklightDuration(Interval sec);
632 Interval backlightDurationTX()
const;
634 void setBacklightDurationTX(Interval sec);
637 Color channelNameColor()
const;
639 void setChannelNameColor(Color color);
641 Color channelBNameColor()
const;
643 void setChannelBNameColor(Color color);
646 Color zoneNameColor()
const;
648 void setZoneNameColor(Color color);
650 Color zoneBNameColor()
const;
652 void setZoneBNameColor(Color color);
655 Interval backlightDurationRX()
const;
657 void setBacklightDurationRX(Interval sec);
659 bool customChannelBackground()
const;
661 void enableCustomChannelBackground(
bool enable);
724 Internal = 0, External = 1, Both = 2
736 MainChannel, SubChannel
738 Q_ENUM(HandsetSpeakerSource)
753 VoxSource voxSource()
const;
755 void setVOXSource(VoxSource source);
758 bool recordingEnabled()
const;
760 void enableRecording(
bool enable);
763 bool enhanceAudioEnabled()
const;
765 void enableEnhanceAudio(
bool enable);
773 Speaker speaker()
const;
775 void setSpeaker(Speaker speaker);
778 HandsetSpeakerSource handsetSpeaker()
const;
780 void setHandsetSpeaker(HandsetSpeakerSource src);
783 HandsetType handsetType()
const;
785 void setHandsetType(HandsetType type);
807 Q_CLASSINFO(
"durationDescription",
"The time in seconds, the menu is shown.")
811 Q_CLASSINFO(
"separatorDescription",
"If enabled, the menu items are separated by a line.")
842 Q_CLASSINFO(
"IdPrefix",
"off")
844 Q_CLASSINFO(
"offsetDecription",
845 "Transmit-frequency offset in Hz.")
846 Q_CLASSINFO(
"offsetLongDecription",
847 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
848 "direction is specified for each VFO separately.")
902 Q_CLASSINFO(
"description",
"Auto-repeater settings for AnyTone devices.")
904 Q_CLASSINFO(
"directionADescription",
"Auto-repeater transmit-frequency offset direction for VFO A.")
908 Q_CLASSINFO(
"directionBDescription",
"Auto-repeater transmit-frequency offset direction for VFO B.")
912 Q_CLASSINFO(
"vhfMin",
"The minimum frequency in Hz of the VHF auto-repeater frequency range.")
916 Q_CLASSINFO(
"vhfMax",
"The maximum frequency in Hz of the VHF auto-repeater frequency range.")
920 Q_CLASSINFO(
"uhfMin",
"The minimum frequency in Hz of the UHF auto-repeater frequency range.")
924 Q_CLASSINFO(
"uhfMax",
"The maximum frequency in Hz of the UHF auto-repeater frequency range.")
928 Q_CLASSINFO(
"vhfDescription",
"A reference to an offset frequency for the VHF band.")
932 Q_CLASSINFO(
"uhfDescription",
"A reference to an offset frequency for the UHF band.")
936 Q_CLASSINFO(
"vhf2Min",
"The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
940 Q_CLASSINFO(
"vhf2Max",
"The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
944 Q_CLASSINFO(
"uhf2Min",
"The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
948 Q_CLASSINFO(
"uhf2Max",
"The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
952 Q_CLASSINFO(
"vhf2Description",
"A reference to an offset frequency for the second VHF band.")
956 Q_CLASSINFO(
"uhf2Description",
"A reference to an offset frequency for the second UHF band.")
960 Q_CLASSINFO(
"offsetDescription",
"The lists of offset frequencies.")
980 Direction directionA()
const;
982 void setDirectionA(Direction dir);
984 Direction directionB()
const;
986 void setDirectionB(Direction dir);
1082 Q_CLASSINFO(
"wakeHeadPeriod",
"Sets the wake head-period in ms. Should be set to 100ms.")
1086 Q_CLASSINFO(
"filterOwnIDDescription",
"If enabled, own ID is not shown in call lists.")
1090 Q_CLASSINFO(
"monitorSlotMatchDescription",
"Time-slot match-mode for DMR monitor.")
1094 Q_CLASSINFO(
"monitorColorCodeMatchDescription",
"If enabled, the DMR monitor will only open for "
1095 "matching color-codes.")
1099 Q_CLASSINFO(
"monitorIDMatchDescription",
"If enabled, the DMR monitor will only open for matching IDs.")
1103 Q_CLASSINFO(
"monitorTimeSlotHold",
"Whether the DMR monitor holds the time-slot.")
1116 enum class SlotMatch {
1117 Off = 0, Single = 1, Both = 2
1122 enum class TalkerAliasSource {
1123 Off = 0, UserDB = 1, Air = 2
1125 Q_ENUM(TalkerAliasSource)
1128 enum class EncryptionType {
1131 Q_ENUM(EncryptionType)
1135 explicit AnytoneDMRSettingsExtension(QObject *parent =
nullptr);
1137 ConfigItem *clone()
const;
1140 Interval manualGroupCallHangTime()
const;
1142 void setManualGroupCallHangTime(Interval sec);
1144 Interval manualPrivateCallHangTime()
const;
1146 void setManualPrivateCallHangTime(Interval sec);
1149 Interval wakeHeadPeriod()
const;
1151 void setWakeHeadPeriod(Interval ms);
1154 bool filterOwnIDEnabled()
const;
1156 void enableFilterOwnID(
bool enable);
1159 SlotMatch monitorSlotMatch()
const;
1161 void setMonitorSlotMatch(SlotMatch match);
1163 bool monitorColorCodeMatchEnabled()
const;
1165 void enableMonitorColorCodeMatch(
bool enable);
1167 bool monitorIDMatchEnabled()
const;
1169 void enableMonitorIDMatch(
bool enable);
1171 bool monitorTimeSlotHoldEnabled()
const;
1173 void enableMonitorTimeSlotHold(
bool enable);
1176 TalkerAliasSource talkerAliasSource()
const;
1178 void setTalkerAliasSource(TalkerAliasSource mode);
1181 EncryptionType encryption()
const;
1183 void setEncryption(EncryptionType type);
1207 Q_CLASSINFO(
"timeZoneDescription",
"Specifies the GPS time-zone (IANA name).")
1211 Q_CLASSINFO(
"positionReportingDescription",
"Enables GPS range reporting.")
1215 Q_CLASSINFO(
"updatePeriodDescription",
"Specifies the GPS reporting interval in seconds.")
1259 Q_CLASSINFO(
"Description",
"Collects all ranging/roaming settings for AnyTone devices.")
1264 Q_CLASSINFO(
"autoRoamPeriodDescription",
"Specifies the auto-roaming period in minutes.")
1268 Q_CLASSINFO(
"autoRoamDelayDescription",
"A delay in seconds before starting the auto-roaming.")
1272 Q_CLASSINFO(
"roamStart",
"Start condition for auto-roaming.")
1276 Q_CLASSINFO(
"roamReturn",
"Condition to return to the original repeater.")
1280 Q_CLASSINFO(
"rangeCheckDescription",
"Repeater range check.")
1284 Q_CLASSINFO(
"checkIntervalDescription",
"Repeater range check interval in seconds.")
1288 Q_CLASSINFO(
"retryCount",
"Number of retries to connect to a repeater before giving up.")
1295 Q_CLASSINFO(
"notificationDescription",
"Enables the repeater-check notification.")
1299 Q_CLASSINFO(
"notificationCountDescription",
"The number of repeater-check notifications.")
1312 Periodic=0, OutOfRange=1
1318 None = 0x00, Bell = 0x01, Voice = 0x02
1320 Q_ENUM(OutOfRangeAlert)
1329 bool autoRoam()
const;
1331 void enableAutoRoam(
bool enable);
1336 void setAutoRoamPeriod(
Interval min);
1340 void setAutoRoamDelay(
Interval sec);
1343 bool repeaterRangeCheckEnabled()
const;
1345 void enableRepeaterRangeCheck(
bool enable);
1347 Interval repeaterCheckInterval()
const;
1349 void setRepeaterCheckInterval(
Interval sec);
1351 unsigned int repeaterRangeCheckCount()
const;
1353 void setRepeaterRangeCheckCount(
unsigned int count);
1355 OutOfRangeAlert outOfRangeAlert()
const;
1357 void setOutOfRangeAlert(OutOfRangeAlert type);
1360 RoamStart roamingStartCondition()
const;
1362 void setRoamingStartCondition(RoamStart start);
1364 RoamStart roamingReturnCondition()
const;
1366 void setRoamingReturnCondition(RoamStart start);
1369 bool notificationEnabled()
const;
1371 void enableNotification(
bool enable);
1373 unsigned int notificationCount()
const;
1375 void setNotificationCount(
unsigned int n);
1378 bool gpsRoaming()
const;
1380 void enableGPSRoaming(
bool enable);
1411 Q_CLASSINFO(
"Description",
"Collects all bluetooth handset settings for AnyTone devices.")
1413 Q_CLASSINFO(
"shutdownDescription",
"Shuts the handset off too, when the radio is turned off.")
1416 Q_CLASSINFO(
"volumeLevelADescription",
"Sets the volume level for VFO A.")
1417 Q_PROPERTY(
unsigned int volumeLevelA READ volumeLevelA WRITE
setVolumeLevelA)
1418 Q_CLASSINFO(
"volumeLevelBDescription",
"Sets the volume level for VFO B.")
1419 Q_PROPERTY(
unsigned int volumeLevelB READ volumeLevelB WRITE
setVolumeLevelB)
1421 Q_CLASSINFO(
"micGainDescription",
"Specifies the microphone gain.")
1422 Q_PROPERTY(
unsigned int micGain READ micGain WRITE
setMicGain)
1424 Q_PROPERTY(
unsigned int squelch READ squelch WRITE
setSquelch)
1428 Q_PROPERTY(
unsigned int voxLevel READ voxLevel WRITE
setVoxLevel)
1455 unsigned int volumeLevelA()
const;
1459 unsigned int volumeLevelB()
const;
1464 unsigned int micGain()
const;
1469 unsigned int squelch()
const;
1474 unsigned int txNoiseReduction()
const;
1479 unsigned int voxLevel()
const;
1570 Q_CLASSINFO(
"Description",
"Collects all bluetooth settings for AnyTone devices.")
1671 Q_CLASSINFO(
"enabledDescription",
"If true, the repeater feature is enabled.")
1675 Q_CLASSINFO(
"monitorDescription",
"If true, the repeater-monitoring is enabled.")
1679 Q_CLASSINFO(
"timeSlotDescription",
"Specifies the time-slot of the primary repeater channel.")
1683 Q_CLASSINFO(
"secTimeSlotDescription",
"Specifies the time-slot of the secondary repeater channel.")
1687 Q_CLASSINFO(
"colorCodeDescription",
"Specifies the repeater color code.")
1710 bool enabled()
const;
1712 void enable(
bool enable);
1715 bool monitorEnabled()
const;
1717 void enableMonitor(
bool enable);
1720 TimeSlot timeSlot()
const;
1722 void setTimeSlot(TimeSlot ts);
1725 TimeSlot secTimeSlot()
const;
1727 void setSecTimeSlot(TimeSlot ts);
1730 ColorCode colorCode()
const;
1732 void setColorCode(ColorCode code);
1752 Q_CLASSINFO(
"powerDescription",
"Specifies the transmit power in satellite mode.")
1756 Q_CLASSINFO(
"squelchDescription",
"Specifies FM squelch level in satellite mode.")
1795 Q_CLASSINFO(
"description",
"Device specific settings for AnyTone devices.")
1797 Q_CLASSINFO(
"subChannelDescription",
"Enables/disables the sub-channel.")
1801 Q_CLASSINFO(
"selectedVFODecription",
"Specifies the currently selected VFO (A or B).")
1805 Q_CLASSINFO(
"modeADescription",
"Specifies the mode (memory or VFO) for VFO A.")
1806 Q_CLASSINFO(
"modeBDescription",
"Specifies the mode (memory or VFO) for VFO B.")
1812 Q_CLASSINFO(
"zoneADescription",
"Specifies the current zone for VFO A.")
1813 Q_CLASSINFO(
"zoneBDescription",
"Specifies the current zone for VFO B.")
1830 Q_CLASSINFO(
"keepLastCallerDescription",
"Keeps the last caller on channel switch")
1834 Q_CLASSINFO(
"vfoStepDescription",
"Specifies the VFO tuning steps in kHz.")
1838 Q_CLASSINFO(
"steTypeDescription",
"Specifies the STE (squelch tail elimination) type.")
1839 Q_CLASSINFO(
"steTypeLongDescription",
"Can also be used to disable the STE entirely.")
1843 Q_CLASSINFO(
"steFrequencyDescription",
"Specifies the STE (squelch tail elimination) frequency in Hz.")
1847 Q_CLASSINFO(
"steDurationDescription",
"Specifies the duration of the STE (squelch tail elimination) tone.")
1848 Q_CLASSINFO(
"steDurationLongDescription",
"Valid values are usually in the range between 10 and 1000ms.")
1852 Q_CLASSINFO(
"tbstFrequencyDescription",
"Specifies the TBST frequency in Hz.")
1853 Q_CLASSINFO(
"tbstFrequencyDescription",
"Should be one of 1000, 1450, 1750 and 2100 Hz. "
1854 "D878UV(2), D578UV and DMR-6X2UV only.")
1858 Q_CLASSINFO(
"proModeDescription",
"Enables 'professional' mode. This limits the option reachable via the menu.")
1893 Q_CLASSINFO(
"simplexRepeaterSettingsDescription",
1894 "Configuration for the DMR-6X2UV simplex-repeater feature.")
1898 Q_CLASSINFO(
"satelliteSettingsDescription",
1899 "Some settings of for satellite mode.")
1905 Time = 0, Carrier = 1, Stop = 2
1923 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
1927 enum class FanControl {
1928 PTT, Temperature, Both
1935 Q_INVOKABLE
explicit AnytoneSettingsExtension(QObject *parent=
nullptr);
1937 ConfigItem *clone()
const;
1940 AnytoneBootSettingsExtension *bootSettings()
const;
1942 AnytonePowerSaveSettingsExtension *powerSaveSettings()
const;
1944 AnytoneKeySettingsExtension *keySettings()
const;
1946 AnytoneToneSettingsExtension *toneSettings()
const;
1948 AnytoneDisplaySettingsExtension *displaySettings()
const;
1950 AnytoneAudioSettingsExtension *audioSettings()
const;
1952 AnytoneMenuSettingsExtension *menuSettings()
const;
1954 AnytoneAutoRepeaterSettingsExtension *autoRepeaterSettings()
const;
1956 AnytoneDMRSettingsExtension *dmrSettings()
const;
1958 AnytoneGPSSettingsExtension *gpsSettings()
const;
1960 AnytoneRoamingSettingsExtension *roamingSettings()
const;
1962 AnytoneBluetoothSettingsExtension *bluetoothSettings()
const;
1964 AnytoneRepeaterSettingsExtension *repeaterSettings()
const;
1966 AnytoneSatelliteSettingsExtension *satelliteSettings()
const;
1969 VFOScanType vfoScanType()
const;
1971 void setVFOScanType(VFOScanType type);
1974 VFOMode modeA()
const;
1976 void setModeA(VFOMode mode);
1978 VFOMode modeB()
const;
1980 void setModeB(VFOMode mode);
2060 FanControl
fan()
const;
2062 void setFan(FanControl ctlr);
Implements the audio settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:699
HandsetSpeakerSource handsetSpeaker
The source for the handset speaker.
Definition anytone_settingsextension.hh:717
bool _recording
Recording enabled.
Definition anytone_settingsextension.hh:789
void setHandsetType(HandsetType type)
Sets the handset type.
Definition anytone_settingsextension.cc:1776
void enableRecording(bool enable)
Enables/disables recording.
Definition anytone_settingsextension.cc:1698
void enableEnhanceAudio(bool enable)
Enables/disables enhanced audio.
Definition anytone_settingsextension.cc:1722
Interval muteDelay
The mute delay in minutes.
Definition anytone_settingsextension.hh:712
bool enhance
If true, the audio is "enhanced".
Definition anytone_settingsextension.hh:709
AnytoneAudioSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1674
bool recording
If true, recording is enabled.
Definition anytone_settingsextension.hh:706
HandsetType handsetType
The handset type.
Definition anytone_settingsextension.hh:719
Interval _voxDelay
VOX delay in ms.
Definition anytone_settingsextension.hh:788
Speaker speaker
The enables speakers.
Definition anytone_settingsextension.hh:715
VoxSource
Source for the VOX.
Definition anytone_settingsextension.hh:723
HandsetSpeakerSource
Possible handset speaker sources.
Definition anytone_settingsextension.hh:735
HandsetType _handsetType
Handset type.
Definition anytone_settingsextension.hh:795
void setHandsetSpeaker(HandsetSpeakerSource src)
Sets the handset speaker source.
Definition anytone_settingsextension.cc:1762
bool _enhanceAudio
Enhance audio.
Definition anytone_settingsextension.hh:791
void setVOXSource(VoxSource source)
Sets the VOX source.
Definition anytone_settingsextension.cc:1710
bool recordingEnabled() const
Returns true if recording is enabled.
Definition anytone_settingsextension.cc:1694
HandsetType
Specifies possible handset types.
Definition anytone_settingsextension.hh:741
VoxSource voxSource
The VOX source.
Definition anytone_settingsextension.hh:703
HandsetSpeakerSource _handsetSpeaker
Specifies the handset speaker source.
Definition anytone_settingsextension.hh:794
bool enhanceAudioEnabled() const
Returns true if the audio is "enhanced".
Definition anytone_settingsextension.cc:1718
void setSpeaker(Speaker speaker)
Sets, which speacker are enabled.
Definition anytone_settingsextension.cc:1748
void setMuteDelay(Interval intv)
Sets the mute delay.
Definition anytone_settingsextension.cc:1734
Interval _muteDelay
Mute delay in minutes.
Definition anytone_settingsextension.hh:792
VoxSource _voxSource
The VOX source.
Definition anytone_settingsextension.hh:790
Speaker
Possible speaker settings.
Definition anytone_settingsextension.hh:729
Speaker _speaker
Specifies which speaker are enabled.
Definition anytone_settingsextension.hh:793
Represents a list of auto-repeater offsets.
Definition anytone_settingsextension.hh:884
ConfigItem * allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err)
Allocates a member objects for the given YAML node.
Definition anytone_settingsextension.cc:2028
AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:2045
Represents a reference to a repeater offset.
Definition anytone_settingsextension.hh:872
AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2036
Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1999
separatelyFrequency offset
The offset frequency.
Definition anytone_settingsextension.hh:850
Frequency _offset
The transmit frequency offset in Hz.
Definition anytone_settingsextension.hh:865
void setOffset(Frequency offset)
Sets the transmit frequency offset in Hz.
Definition anytone_settingsextension.cc:2020
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2006
Implements the auto-repeater settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:900
Direction directionA
Specifies the auto-repeater transmit-frequency offset direction for VFO A.
Definition anytone_settingsextension.hh:906
Frequency uhfMin
The minimum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:922
AnytoneAutoRepeaterOffsetRef * uhf
A reference to the auto-repeater frequency for UHF.
Definition anytone_settingsextension.hh:934
AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:1832
Frequency _minUHF2
Minimum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1057
AnytoneAutoRepeaterOffsetRef * vhf2
A reference to the auto-repeater frequency for the second VHF band.
Definition anytone_settingsextension.hh:954
void setVHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:1896
AnytoneAutoRepeaterOffsetRef * uhfRef() const
Returns the reference for the UHF offset freuqency.
Definition anytone_settingsextension.cc:1931
void setUHF2Min(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the second UHF band.
Definition anytone_settingsextension.cc:1962
AnytoneAutoRepeaterOffsetRef * vhf
A reference to the auto-repeater frequency for VHF.
Definition anytone_settingsextension.hh:930
AnytoneAutoRepeaterOffsetRef * uhf2
A reference to the auto-repeater frequency for the second UHF band.
Definition anytone_settingsextension.hh:958
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1059
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1043
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_settingsextension.hh:1037
AnytoneAutoRepeaterOffsetList * offsets
The repeater transmit offset frequencies.
Definition anytone_settingsextension.hh:962
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1041
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_settingsextension.hh:1063
Frequency vhf2Max
The maximum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:942
void setVHF2Min(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the second VHF band.
Definition anytone_settingsextension.cc:1940
Direction directionB
Specifies the auto-repeater transmit-frequency offset direction for VFO B.
Definition anytone_settingsextension.hh:910
void setVHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_settingsextension.cc:1885
AnytoneAutoRepeaterOffsetRef * vhfRef() const
Returns the reference for the VHF offset freuqency.
Definition anytone_settingsextension.cc:1926
Direction _directionB
The auto-repeater direction for VFO B.
Definition anytone_settingsextension.hh:1039
void setVHF2Max(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the second VHF band.
Definition anytone_settingsextension.cc:1951
void setUHF2Max(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the second UHF band.
Definition anytone_settingsextension.cc:1973
void setDirectionB(Direction dir)
Set the auto-repeater offset direction for VFO V.
Definition anytone_settingsextension.cc:1873
Frequency uhfMax
The maximum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:926
AnytoneAutoRepeaterOffsetRef * vhf2Ref() const
Returns the reference for the second VHF offset freuqency.
Definition anytone_settingsextension.cc:1981
Direction
Encodes the auto-repeater offset sign.
Definition anytone_settingsextension.hh:966
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_settingsextension.hh:1049
void setDirectionA(Direction dir)
Set the auto-repeater offset direction for VFO A.
Definition anytone_settingsextension.cc:1862
Frequency _maxVHF2
Maximum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1055
void setUHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:1907
AnytoneAutoRepeaterOffsetRef * uhf2Ref() const
Returns the reference for the second UHF offset freuqency.
Definition anytone_settingsextension.cc:1986
AnytoneAutoRepeaterOffsetRef * _uhfOffset
A reference to the UHF offset frequency.
Definition anytone_settingsextension.hh:1051
Frequency vhf2Min
The minimum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:938
Frequency uhf2Min
The minimum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:946
void setUHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_settingsextension.cc:1918
Frequency vhfMin
The minimum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:914
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1045
Frequency uhf2Max
The maximum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:950
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_settingsextension.hh:1065
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1047
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1053
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_settingsextension.hh:1061
Frequency vhfMax
The maximum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_settingsextension.hh:918
Implements the bluetooth handset settings for AnyTone devices.
Definition anytone_settingsextension.hh:1408
void setVoxDelay(Interval delay)
Sets the VOX delay.
Definition anytone_settingsextension.cc:2195
void setFuncKeyALong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A long press function.
Definition anytone_settingsextension.cc:2248
AnytoneKeySettingsExtension::KeyFunction _funcKeyBLong
Function key B long press function.
Definition anytone_settingsextension.hh:1548
void setMicGain(unsigned int gain)
Sets the mic gain.
Definition anytone_settingsextension.cc:2135
ConfigItem * clone() const override
Clones this item.
Definition anytone_settingsextension.cc:2075
unsigned int _voxLevel
Specifies the VOX level.
Definition anytone_settingsextension.hh:1537
unsigned int _volumeLevelB
Specifies the volume level for VFO B.
Definition anytone_settingsextension.hh:1533
void setVolumeLevelB(unsigned int level)
Sets the volume level for VFO B.
Definition anytone_settingsextension.cc:2120
AnytoneKeySettingsExtension::KeyFunction _funcKeyCLong
Function key B long press function.
Definition anytone_settingsextension.hh:1550
unsigned int _volumeLevelA
Specifies the volume level for VFO A.
Definition anytone_settingsextension.hh:1532
void setFuncKeyCVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C very long press function.
Definition anytone_settingsextension.cc:2313
void setBacklight(Interval dur)
Sets the backlight duration.
Definition anytone_settingsextension.cc:2326
void setFuncKeyAVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A very long press function.
Definition anytone_settingsextension.cc:2287
unsigned int _txNoiseReduction
Specifies the transmit noise reduction level.
Definition anytone_settingsextension.hh:1536
unsigned int _squelch
Specifies the squelch level.
Definition anytone_settingsextension.hh:1535
void setTxNoiseReduction(unsigned int level)
Sets the transmit noise reduction level.
Definition anytone_settingsextension.cc:2165
void setFuncKeyCShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C short press function.
Definition anytone_settingsextension.cc:2235
AnytoneKeySettingsExtension::KeyFunction _funcKeyCShort
Function key B short press function.
Definition anytone_settingsextension.hh:1544
void setFuncKeyAShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key A short press function.
Definition anytone_settingsextension.cc:2209
bool shutdownEnabled() const
Returns true, if the handset is shutdown along with the radio.
Definition anytone_settingsextension.cc:2086
void setFuncKeyBLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B long press function.
Definition anytone_settingsextension.cc:2261
bool _shutdown
Shut the handset down along with the radio.
Definition anytone_settingsextension.hh:1531
AnytoneKeySettingsExtension::KeyFunction _funcKeyALong
Function key A long press function.
Definition anytone_settingsextension.hh:1546
Interval _voxDelay
Specifies the VOX delay.
Definition anytone_settingsextension.hh:1538
void enableShutdown(bool enable)
Enables/disables shutting the handset down along with the radio.
Definition anytone_settingsextension.cc:2091
AnytoneKeySettingsExtension::KeyFunction _funcKeyAShort
Function key A short press function.
Definition anytone_settingsextension.hh:1540
void setVoxLevel(unsigned int level)
Set the VOX level.
Definition anytone_settingsextension.cc:2180
void setVolumeLevelA(unsigned int level)
Sets the volume level for VFO A.
Definition anytone_settingsextension.cc:2105
void setFuncKeyBVeryLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B very long press function.
Definition anytone_settingsextension.cc:2300
AnytoneKeySettingsExtension::KeyFunction _funcKeyBShort
Function key B short press function.
Definition anytone_settingsextension.hh:1542
AnytoneKeySettingsExtension::KeyFunction _funcKeyBVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1554
void setFuncKeyCLong(AnytoneKeySettingsExtension::KeyFunction func)
Set function key C long press function.
Definition anytone_settingsextension.cc:2274
AnytoneKeySettingsExtension::KeyFunction _funcKeyCVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1556
Interval _backlight
Backlight duration.
Definition anytone_settingsextension.hh:1557
void setFuncKeyBShort(AnytoneKeySettingsExtension::KeyFunction func)
Set function key B short press function.
Definition anytone_settingsextension.cc:2222
AnytoneBluetoothHandsetSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2056
unsigned int _micGain
Specifies the mic gain.
Definition anytone_settingsextension.hh:1534
AnytoneKeySettingsExtension::KeyFunction _funcKeyAVeryLong
Function key A very long press function.
Definition anytone_settingsextension.hh:1552
void setSquelch(unsigned int level)
Sets the squelch level.
Definition anytone_settingsextension.cc:2150
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_settingsextension.hh:1567
Interval _pttSleep
PTT sleep timer, 0 is off.
Definition anytone_settingsextension.hh:1652
unsigned int micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1583
void setPTTSleepTimer(Interval intv)
Sets the PTT sleep timeout, 0 means off.
Definition anytone_settingsextension.cc:2394
Interval _holdDelay
What ever.
Definition anytone_settingsextension.hh:1658
bool enabled
If true, bluetooth is enabled.
Definition anytone_settingsextension.hh:1573
AnytoneBluetoothSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2338
bool internalSpeaker
If true, the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.hh:1581
bool _pttLatch
PTT latch flag.
Definition anytone_settingsextension.hh:1651
unsigned int speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1585
void setMicGain(unsigned int gain)
Sets the bluetooth mic gain.
Definition anytone_settingsextension.cc:2433
Interval holdDelay
The bluetooth hold delay.
Definition anytone_settingsextension.hh:1589
bool _internalMic
Additionally enables internal mic.
Definition anytone_settingsextension.hh:1653
bool internalMicEnabled() const
Returns true if the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2402
void enableInternalMic(bool enable)
Enables/disables internal mic additionally to the bluetooth input.
Definition anytone_settingsextension.cc:2407
void setSpeakerGain(unsigned int gain)
Sets the bluetooth speaker gain.
Definition anytone_settingsextension.cc:2446
bool _bluetoothEnabled
Enables bluetooth.
Definition anytone_settingsextension.hh:1650
void enableInternalSpeaker(bool enable)
Enables/disables internal speaker additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2420
const Interval & holdDuration() const
Returns the bluetooth hold duration.
Definition anytone_settingsextension.cc:2454
void enablePTTLatch(bool enable)
Enables/disables the PTT latch.
Definition anytone_settingsextension.cc:2364
void enableBluetooth(bool enable)
Enables/disables bluetooth.
Definition anytone_settingsextension.cc:2382
AnytoneBluetoothHandsetSettingsExtension * _handset
Handset settings.
Definition anytone_settingsextension.hh:1649
unsigned int _speakerGain
The bluetooth speaker gain.
Definition anytone_settingsextension.hh:1656
unsigned int _micGain
The bluetooth mic gain.
Definition anytone_settingsextension.hh:1655
Interval hold
The bluetooth hold duration.
Definition anytone_settingsextension.hh:1587
bool internalSpeakerEnabled() const
Returns true if the internal speaker is enabled additionally to the bluetooth output.
Definition anytone_settingsextension.cc:2415
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2350
AnytoneBluetoothHandsetSettingsExtension * handset
The handset settings.
Definition anytone_settingsextension.hh:1591
Interval _holdDuration
What ever.
Definition anytone_settingsextension.hh:1657
bool pttLatch
If true, the PTT latch is enabled.
Definition anytone_settingsextension.hh:1575
void setHoldDelay(const Interval &dur)
Sets the bluetooth hold delay.
Definition anytone_settingsextension.cc:2472
bool _internalSpeaker
Additionally enables internal speaker.
Definition anytone_settingsextension.hh:1654
void setHoldDuration(const Interval &dur)
Sets the bluetooth hold duration.
Definition anytone_settingsextension.cc:2459
Interval pttSleepTimer
The sleep timeout of the PTT button.
Definition anytone_settingsextension.hh:1577
bool internalMic
If true, the internal mic is enabled additionally to the bluetooth input.
Definition anytone_settingsextension.hh:1579
bool bluetoothEnabled() const
Returns true if bluetooth is enabled.
Definition anytone_settingsextension.cc:2377
Implements the boot settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:20
ZoneReference * priorityZoneB
The priority zone for VFO B.
Definition anytone_settingsextension.hh:26
AnytoneBootSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:777
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:786
ZoneReference * _priorityZoneA
Priority zone for VFO A.
Definition anytone_settingsextension.hh:48
bool gpsCheckEnabled() const
Returns true if the GPS check is enabled.
Definition anytone_settingsextension.cc:806
bool _gpsCheck
Enables GPS check.
Definition anytone_settingsextension.hh:50
ZoneReference * _priorityZoneB
Priority zone for VFO B.
Definition anytone_settingsextension.hh:49
void enableGPSCheck(bool enable)
Enables/disables the GPS check.
Definition anytone_settingsextension.cc:810
bool gpsCheck
Enables the GPS check.
Definition anytone_settingsextension.hh:29
ZoneReference * priorityZoneA
The priority zone for VFO A.
Definition anytone_settingsextension.hh:24
Implements the DMR settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1074
void enableMonitorColorCodeMatch(bool enable)
Enables/disables the CC match for the DMR monitor.
Definition anytone_settingsextension.cc:98
TalkerAliasSource talkerAliasSource() const
Returns the talker alias source.
Definition anytone_settingsextension.cc:131
bool monitorTimeSlotHoldEnabled() const
Returns true if the time-slot is held by the DMR monitor.
Definition anytone_settingsextension.cc:118
bool _monitorColorCodeMatch
Enables CC match for DMR monitor.
Definition anytone_settingsextension.hh:1191
void enableMonitorIDMatch(bool enable)
Enables/disables ID match for the DMR monitor.
Definition anytone_settingsextension.cc:110
Interval wakeHeadPeriod
Wake head-period in ms.
Definition anytone_settingsextension.hh:1084
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_settingsextension.hh:1192
void setManualGroupCallHangTime(Interval sec)
Sets the manual dialed group-call hang-time in seconds.
Definition anytone_settingsextension.cc:36
void setTalkerAliasSource(TalkerAliasSource mode)
Sets the talker alias source.
Definition anytone_settingsextension.cc:135
Interval manualPrivateCallHangTime
Manual dialed private-call hang-time in seconds.
Definition anytone_settingsextension.hh:1080
SlotMatch monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1092
EncryptionType _encryption
DMR encryption type.
Definition anytone_settingsextension.hh:1195
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.hh:1193
Interval _manualGroupCallHangTime
Hang-time for manual dialed group-calls in seconds.
Definition anytone_settingsextension.hh:1186
void enableMonitorTimeSlotHold(bool enable)
Enables/disables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.cc:122
bool filterOwnIDEnabled() const
If true, the own ID is not shown in call lists.
Definition anytone_settingsextension.cc:70
bool _filterOwnID
If enabled, the own ID is not shown in call lists.
Definition anytone_settingsextension.hh:1189
AnytoneDMRSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:9
void enableFilterOwnID(bool enable)
Enables/disables filtering of own ID.
Definition anytone_settingsextension.cc:74
void setManualPrivateCallHangTime(Interval sec)
Sets the manual dialed private-call hang-time in seconds.
Definition anytone_settingsextension.cc:49
bool monitorColorCodeMatchEnabled() const
Returns true if the CC match is enabled for the DMR monitor.
Definition anytone_settingsextension.cc:94
Interval manualGroupCallHangTime
Manual dialed group-call hang-time in seconds.
Definition anytone_settingsextension.hh:1078
bool filterOwnID
Filter own ID from call lists.
Definition anytone_settingsextension.hh:1088
void setEncryption(EncryptionType type)
Sets the encryption type.
Definition anytone_settingsextension.cc:148
void setMonitorSlotMatch(SlotMatch match)
Sets the slot-match mode for the DMR monitor.
Definition anytone_settingsextension.cc:86
EncryptionType encryption() const
Returns the encryption type.
Definition anytone_settingsextension.cc:144
SlotMatch _monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1190
void setWakeHeadPeriod(Interval ms)
Sets the wake head-period in ms.
Definition anytone_settingsextension.cc:62
bool monitorIDMatchEnabled() const
Returns true if the ID match is enabled for the DMR monitor.
Definition anytone_settingsextension.cc:106
Interval _wakeHeadPeriod
Wake head-period in ms, should be 100ms.
Definition anytone_settingsextension.hh:1188
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_settingsextension.hh:1194
Interval _manualPrivateCallHangTime
Hang-time for manual dialed private-calls in seconds.
Definition anytone_settingsextension.hh:1187
Implements the display settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:427
Language language() const
Returns the UI language.
Definition anytone_settingsextension.cc:1437
bool showCallEnabled() const
Returns true if the call is shown.
Definition anytone_settingsextension.cc:1413
void setZoneBNameColor(Color color)
Sets the zone name color for VFO B.
Definition anytone_settingsextension.cc:1638
void setDateFormat(DateFormat format)
Sets the date format.
Definition anytone_settingsextension.cc:1453
void setChannelNameColor(Color color)
Sets the color of the channel name.
Definition anytone_settingsextension.cc:1602
void enableShowGlobalChannelNumber(bool enable)
Enables/disables showing the global channel number.
Definition anytone_settingsextension.cc:1477
bool showChannelType() const
Returns true if the channel type is shown.
Definition anytone_settingsextension.cc:1509
Color _zoneNameColor
Color of zone name.
Definition anytone_settingsextension.hh:689
bool showLastHeardEnabled() const
Shows the last caller.
Definition anytone_settingsextension.cc:1533
bool _callEndPrompt
Call-end prompt enabled.
Definition anytone_settingsextension.hh:667
bool _showLastHeard
Shows the last caller.
Definition anytone_settingsextension.hh:682
bool _showTimeSlot
Show time slot.
Definition anytone_settingsextension.hh:677
LastCallerDisplayMode _lastCallerDisplay
Last-caller display mode.
Definition anytone_settingsextension.hh:668
bool _showColorCode
Show color code.
Definition anytone_settingsextension.hh:676
bool _showContact
Enables showing the contact.
Definition anytone_settingsextension.hh:679
void enableCallEndPrompt(bool enable)
Enables/disables the call-end prompt.
Definition anytone_settingsextension.cc:1381
bool displayFrequencyEnabled() const
Returns true, if the frequency is displayed instead of the channel name.
Definition anytone_settingsextension.cc:1353
Color _callColor
Color of call.
Definition anytone_settingsextension.hh:671
void enableDisplayFrequency(bool enable)
Enables/disables display of frequency.
Definition anytone_settingsextension.cc:1357
bool showGlobalChannelNumber() const
Returns true, if the global channel number is shown.
Definition anytone_settingsextension.cc:1473
bool showTimeSlot() const
Returns true if the time slot is shown.
Definition anytone_settingsextension.cc:1497
void setStandbyTextColor(Color color)
Sets the standby text color.
Definition anytone_settingsextension.cc:1549
bool _customChannelBackground
Custom channel background enabled.
Definition anytone_settingsextension.hh:686
AnytoneDisplaySettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:1314
bool showClockEnabled() const
Returns true if the clock is shown.
Definition anytone_settingsextension.cc:1401
void enableShowTimeSlot(bool enable)
Shows/hides time slot.
Definition anytone_settingsextension.cc:1501
void enableShowColorCode(bool enable)
Shows/hides color code.
Definition anytone_settingsextension.cc:1489
unsigned int brightness
The display brightness [1-10].
Definition anytone_settingsextension.hh:433
Color _channelNameColor
Color of channel name.
Definition anytone_settingsextension.hh:687
bool customChannelBackground() const
Returns true if the custom channel background is enabled.
Definition anytone_settingsextension.cc:1658
Color callColor() const
Returns the color of the call.
Definition anytone_settingsextension.cc:1425
void setLastCallerDisplay(LastCallerDisplayMode mode)
Sets the last caller display mode.
Definition anytone_settingsextension.cc:1393
void enableShowChannelNumber(bool enable)
Enables/disables the display of the channel number.
Definition anytone_settingsextension.cc:1465
unsigned int _brightness
The display brightness.
Definition anytone_settingsextension.hh:665
Color _zoneBNameColor
Color of zone name for VFO B.
Definition anytone_settingsextension.hh:690
Color zoneNameColor() const
Returns the color of the zone name.
Definition anytone_settingsextension.cc:1622
Color _standbyBackgroundColor
Standby background color.
Definition anytone_settingsextension.hh:681
void setStandbyBackgroundColor(Color color)
Sets the standby background color.
Definition anytone_settingsextension.cc:1561
bool callEndPromptEnabled() const
Returns true if the call-end prompt is shown.
Definition anytone_settingsextension.cc:1377
Interval _backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:683
void enableShowChannelType(bool enable)
Shows/hides channel type.
Definition anytone_settingsextension.cc:1513
bool displayFrequency
The display frequency setting.
Definition anytone_settingsextension.hh:431
bool showColorCode() const
Returns true if the color code is shown.
Definition anytone_settingsextension.cc:1485
Color _standbyTextColor
Standby text color.
Definition anytone_settingsextension.hh:680
bool _volumeChangePrompt
Volume-change prompt enabled.
Definition anytone_settingsextension.hh:666
bool _showChannelNumber
Show channel number.
Definition anytone_settingsextension.hh:674
Interval _backlightDurationTX
Backlight duration during TX (0=off).
Definition anytone_settingsextension.hh:684
bool _showGlobalChannelNumber
Show global channel number.
Definition anytone_settingsextension.hh:675
void setBacklightDuration(Interval sec)
Sets the backlight duration in seconds.
Definition anytone_settingsextension.cc:1575
Color channelNameColor() const
Returns the color of the channel name.
Definition anytone_settingsextension.cc:1598
void setBacklightDurationTX(Interval sec)
Sets the backlight duration during TX in seconds.
Definition anytone_settingsextension.cc:1589
bool showChannelNumberEnabled() const
Returns true if the channel number is shown.
Definition anytone_settingsextension.cc:1461
void enableShowLastHeard(bool enable)
Enables/disables display of last caller.
Definition anytone_settingsextension.cc:1537
DateFormat dateFormat() const
Returns the date format.
Definition anytone_settingsextension.cc:1449
bool _showClock
Display clock.
Definition anytone_settingsextension.hh:669
bool _showCall
Display call.
Definition anytone_settingsextension.hh:670
Interval backlightDurationTX() const
Returns backlight duration during TX.
Definition anytone_settingsextension.cc:1584
bool _displayFrequency
Display frequency property.
Definition anytone_settingsextension.hh:664
bool volumeChangePromptEnabled() const
Returns true if the volume-change prompt is shown.
Definition anytone_settingsextension.cc:1365
void setBacklightDurationRX(Interval sec)
Sets the backlight duration during RX in seconds.
Definition anytone_settingsextension.cc:1650
void enableCustomChannelBackground(bool enable)
Enables/disables the custom channel background.
Definition anytone_settingsextension.cc:1662
void setCallColor(Color color)
Sets the color of the call.
Definition anytone_settingsextension.cc:1429
bool showContact() const
Returns true if the contact is shown.
Definition anytone_settingsextension.cc:1521
void enableShowCall(bool enable)
Enables/disables display of call.
Definition anytone_settingsextension.cc:1417
void enableShowClock(bool enable)
Enables/disables clock.
Definition anytone_settingsextension.cc:1405
void setZoneNameColor(Color color)
Sets the color of the zone name.
Definition anytone_settingsextension.cc:1626
Color standbyTextColor() const
Returns the standby text color.
Definition anytone_settingsextension.cc:1545
Language _language
UI language.
Definition anytone_settingsextension.hh:672
void setLanguage(Language lang)
Sets the UI language.
Definition anytone_settingsextension.cc:1441
void setChannelBNameColor(Color color)
Sets the channel name color for VFO B.
Definition anytone_settingsextension.cc:1614
Color zoneBNameColor() const
Returns the color of the zone name for VFO B.
Definition anytone_settingsextension.cc:1634
Interval backlightDurationRX() const
Returns backlight duration during RX.
Definition anytone_settingsextension.cc:1646
void setBrightness(unsigned int level)
Sets the display brightness [1-10].
Definition anytone_settingsextension.cc:1345
LastCallerDisplayMode lastCallerDisplay() const
Returns the last caller display mode.
Definition anytone_settingsextension.cc:1389
DateFormat _dateFormat
The date format.
Definition anytone_settingsextension.hh:673
Color channelBNameColor() const
Returns the color of the channel name for VFO B.
Definition anytone_settingsextension.cc:1610
Interval backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:437
bool _showChannelType
Show channel type.
Definition anytone_settingsextension.hh:678
void enableVolumeChangePrompt(bool enable)
Enables/disables the volume-change prompt.
Definition anytone_settingsextension.cc:1369
Color standbyBackgroundColor() const
Returns the standby background color.
Definition anytone_settingsextension.cc:1557
Interval _backlightDurationRX
Backlight duration during RX.
Definition anytone_settingsextension.hh:685
void enableShowContact(bool enable)
Enables/disables the display of calling contact.
Definition anytone_settingsextension.cc:1525
Color _channelBNameColor
Color of channel name for VFO B.
Definition anytone_settingsextension.hh:688
Implements the GPS settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1204
Interval updatePeriod
GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1217
QString timeZone
The time-zone IANA Id.
Definition anytone_settingsextension.hh:1209
void enablePositionReporting(bool enable)
Enables/disables the GPS range reporting.
Definition anytone_settingsextension.cc:207
bool _gpsRangeReporting
Enables GPS range reporting.
Definition anytone_settingsextension.hh:1246
AnytoneGPSSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:159
QString ianaTimeZone() const
Returns the IANA ID of the time zone.
Definition anytone_settingsextension.cc:183
void setIANATimeZone(const QString &id)
Sets the time zone by IANA ID.
Definition anytone_settingsextension.cc:196
bool reportPosition
Enables GPS range reporting.
Definition anytone_settingsextension.hh:1213
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:167
QTimeZone _timeZone
The time zone.
Definition anytone_settingsextension.hh:1245
Interval _gpsRangingInterval
The GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1247
void setUpdatePeriod(Interval sec)
Sets the GPS ranging interval in seconds.
Definition anytone_settingsextension.cc:221
bool positionReportingEnabled() const
Returns true if the GPS range reporting is enabled.
Definition anytone_settingsextension.cc:202
void setTimeZone(const QTimeZone &zone)
Sets the time zone.
Definition anytone_settingsextension.cc:188
Implements the key settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:123
KeyFunction _funcKey6Short
Function of the function key 6, short press.
Definition anytone_settingsextension.hh:363
KeyFunction _funcKey3Short
Function of the function key 3, short press.
Definition anytone_settingsextension.hh:357
void setFuncKeyBLong(KeyFunction func)
Sets the key function for a long press on the function key B.
Definition anytone_settingsextension.cc:1097
KeyFunction funcKey6Short
Function key 6 (P6 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:147
KeyFunction funcKeyCLong
Function key C (PF3 on top or B on mic), long press function.
Definition anytone_settingsextension.hh:161
void setFuncKeyCLong(KeyFunction func)
Sets the key function for a long press on the function key C.
Definition anytone_settingsextension.cc:1120
void setFuncKey5Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 5.
Definition anytone_settingsextension.cc:1017
void enableKeypadLock(bool enable)
Enables/disables the key-pad lock.
Definition anytone_settingsextension.cc:1233
KeyFunction _funcKey1Long
Function of the function key 1, long press.
Definition anytone_settingsextension.hh:354
bool sideKeysLockEnabled() const
Returns true if the side-keys gets locked too.
Definition anytone_settingsextension.cc:1240
bool autoKeyLock
The auto key-lock property.
Definition anytone_settingsextension.hh:177
KeyFunction _funcKeyAShort
Function of the function key A, short press.
Definition anytone_settingsextension.hh:365
void setFuncKey2Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 2.
Definition anytone_settingsextension.cc:948
KeyFunction funcKey1Short
Function key 1 (P1 below or next to screen), short press function.
Definition anytone_settingsextension.hh:127
KeyFunction _funcKeyBShort
Function of the function key B, short press.
Definition anytone_settingsextension.hh:367
KeyFunction funcKey3Long
Function key 3 (P3 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:137
KeyFunction funcKey2Short
Function key 2 (P2 below or next to screen), short press function.
Definition anytone_settingsextension.hh:131
KeyFunction funcKey6Long
Function key 6 (P6 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:149
void enableKnobLock(bool enable)
Enables/disables the knob lock.
Definition anytone_settingsextension.cc:1222
bool _sideKeysLock
Side-keys are locked.
Definition anytone_settingsextension.hh:380
KeyFunction funcKey2Long
Function key 2 (P2 below or next to screen), long press function.
Definition anytone_settingsextension.hh:133
KeyFunction _funcKey5Long
Function of the function key 5, long press.
Definition anytone_settingsextension.hh:362
void setFuncKeyDLong(KeyFunction func)
Sets the key function for a long press on the function key D.
Definition anytone_settingsextension.cc:1143
KeyFunction funcKey1Long
Function key 1 (P1 below or next to screen), long press function.
Definition anytone_settingsextension.hh:129
KeyFunction _funcKey2Long
Function of the function key 2, long press.
Definition anytone_settingsextension.hh:356
KeyFunction funcKeyCShort
Function key C (PF3 on top or C on mic), short press function.
Definition anytone_settingsextension.hh:159
KeyFunction _funcKeyALong
Function of the function key A, long press.
Definition anytone_settingsextension.hh:366
KeyFunction _funcKey2Short
Function of the function key 2, short press.
Definition anytone_settingsextension.hh:355
KeyFunction
All possible key functions.
Definition anytone_settingsextension.hh:197
void setLongPressDuration(Interval ms)
Sets the long-press duration in ms.
Definition anytone_settingsextension.cc:1183
AnytoneKeySettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:890
void setFuncKey4Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 4.
Definition anytone_settingsextension.cc:994
KeyFunction _funcKnobLong
Function of the knob, long press.
Definition anytone_settingsextension.hh:374
void setUpDownKeyFunction(UpDownKeyFunction func)
Sets the up/down key function.
Definition anytone_settingsextension.cc:1197
void setFuncKeyDShort(KeyFunction func)
Sets the key function for a short press on the function key D.
Definition anytone_settingsextension.cc:1132
void setFuncKeyAShort(KeyFunction func)
Sets the key function for a short press on the function key A.
Definition anytone_settingsextension.cc:1063
KeyFunction funcKeyBShort
Function key B (PF2 second below PTT or B on mic), short press function.
Definition anytone_settingsextension.hh:155
KeyFunction funcKey5Long
Function key 5 (P5 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:145
KeyFunction funcKeyAShort
Function key A (PF1 below PTT or A on mic), short press function.
Definition anytone_settingsextension.hh:151
KeyFunction _funcKeyDShort
Function of the function key D, short press.
Definition anytone_settingsextension.hh:371
void setFuncKey3Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 3.
Definition anytone_settingsextension.cc:971
bool knobLockEnabled() const
Returns true if the knob gets locked too.
Definition anytone_settingsextension.cc:1218
Interval _longPressDuration
The long-press duration in ms.
Definition anytone_settingsextension.hh:375
KeyFunction funcKeyDShort
Function key D (D on mic, D578UV only), short press function.
Definition anytone_settingsextension.hh:163
bool autoKeyLockEnabled() const
Returns true, if the automatic key-lock feature is enabled.
Definition anytone_settingsextension.cc:1206
UpDownKeyFunction upDownKeyFunction() const
Returns the up/down key function.
Definition anytone_settingsextension.cc:1192
void setFuncKnobLong(KeyFunction func)
Sets the key function for a long press on the knob.
Definition anytone_settingsextension.cc:1170
void setFuncKey1Short(KeyFunction func)
Sets the key function for a short press on the function key 1.
Definition anytone_settingsextension.cc:925
KeyFunction _funcKey4Long
Function of the function key 4, long press.
Definition anytone_settingsextension.hh:360
void setFuncKey4Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 4.
Definition anytone_settingsextension.cc:1005
void setFuncKeyALong(KeyFunction func)
Sets the key function for a long press on the function key A.
Definition anytone_settingsextension.cc:1074
bool forcedKeyLock
If true, the key-lock is forced.
Definition anytone_settingsextension.hh:193
KeyFunction funcKey5Short
Function key 5 (P5 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:143
bool _forcedKeyLock
Forced key-lock.
Definition anytone_settingsextension.hh:381
KeyFunction funcKnobShort
Function knob (channel/frequency knob, D578UV only), short press function.
Definition anytone_settingsextension.hh:167
void setFuncKeyBShort(KeyFunction func)
Sets the key function for a short press on the function key B.
Definition anytone_settingsextension.cc:1086
void enableAutoKeyLock(bool enabled)
Enables/disables auto key-lock.
Definition anytone_settingsextension.cc:1210
KeyFunction _funcKey5Short
Function of the function key 5, short press.
Definition anytone_settingsextension.hh:361
void setFuncKey2Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 2.
Definition anytone_settingsextension.cc:959
KeyFunction _funcKeyCLong
Function of the function key C, long press.
Definition anytone_settingsextension.hh:370
KeyFunction funcKey4Short
Function key 4 (P4 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:139
void setFuncKey3Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 3.
Definition anytone_settingsextension.cc:982
KeyFunction _funcKey1Short
Function of the function key 1, short press.
Definition anytone_settingsextension.hh:353
KeyFunction funcKey3Short
Function key 3 (P3 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:135
bool keypadLockEnabled() const
Returns true if the key-pad gets locked too.
Definition anytone_settingsextension.cc:1229
KeyFunction _funcKnobShort
Function of the knob, short press.
Definition anytone_settingsextension.hh:373
void setFuncKnobShort(KeyFunction func)
Sets the key function for a short press on the knob.
Definition anytone_settingsextension.cc:1157
Interval longPressDuration
The long press duration in ms.
Definition anytone_settingsextension.hh:171
KeyFunction _funcKeyDLong
Function of the function key D, long press.
Definition anytone_settingsextension.hh:372
KeyFunction funcKeyBLong
Function key B (PF2 second below PTT or B on mic), long press function.
Definition anytone_settingsextension.hh:157
bool sideKeysLock
If true, the side-keys get locked too.
Definition anytone_settingsextension.hh:189
void setFuncKey5Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 5.
Definition anytone_settingsextension.cc:1028
UpDownKeyFunction upDownKeys
Up/down key functions (D578UV only).
Definition anytone_settingsextension.hh:174
KeyFunction _funcKeyBLong
Function of the function key B, long press.
Definition anytone_settingsextension.hh:368
KeyFunction funcKeyDLong
Function key D (D on mic, D578UV only), long press function.
Definition anytone_settingsextension.hh:165
bool _autoKeyLock
Auto key-lock property.
Definition anytone_settingsextension.hh:377
KeyFunction _funcKey4Short
Function of the function key 4, short press.
Definition anytone_settingsextension.hh:359
UpDownKeyFunction
Possible up/down key functions.
Definition anytone_settingsextension.hh:210
bool _knobLock
Knob locked too.
Definition anytone_settingsextension.hh:378
KeyFunction _funcKey3Long
Function of the function key 3, long press.
Definition anytone_settingsextension.hh:358
bool forcedKeyLockEnabled() const
Returns true if the key-lock is forced.
Definition anytone_settingsextension.cc:1251
KeyFunction _funcKeyCShort
Function of the function key C, short press.
Definition anytone_settingsextension.hh:369
UpDownKeyFunction _upDownFunction
The up/down key function.
Definition anytone_settingsextension.hh:376
KeyFunction funcKeyALong
Function key A (PF1 below PTT or A on mic), long press function.
Definition anytone_settingsextension.hh:153
void enableForcedKeyLock(bool enable)
Enables/disables the forced key-lock.
Definition anytone_settingsextension.cc:1255
bool knobLock
If true, the knob gets locked too.
Definition anytone_settingsextension.hh:181
KeyFunction funcKey4Long
Function key 4 (P4 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:141
void setFuncKey1Long(KeyFunction func)
Sets the key function for a long press on the function key 1.
Definition anytone_settingsextension.cc:936
KeyFunction _funcKey6Long
Function of the function key 6, long press.
Definition anytone_settingsextension.hh:364
bool keypadLock
If true, the key-pad gets locked too.
Definition anytone_settingsextension.hh:185
void enableSideKeysLock(bool enable)
Enables/disables the side-keys lock.
Definition anytone_settingsextension.cc:1244
void setFuncKey6Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 6.
Definition anytone_settingsextension.cc:1040
KeyFunction funcKnobLong
Function knob (channel/frequency knob, D578UV only), long press function.
Definition anytone_settingsextension.hh:169
void setFuncKey6Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 6.
Definition anytone_settingsextension.cc:1051
void setFuncKeyCShort(KeyFunction func)
Sets the key function for a short press on the function key C.
Definition anytone_settingsextension.cc:1109
bool _keypadLock
Key-pad is locked.
Definition anytone_settingsextension.hh:379
Implements the power-save settings for AnyTone devices.
Definition anytone_settingsextension.hh:59
PowerSave powerSave() const
Returns the power-save mode.
Definition anytone_settingsextension.cc:863
void setAutoShutdown(Interval min)
Sets the auto shut-down delay.
Definition anytone_settingsextension.cc:843
bool resetAutoShutdownOnCall
Resets the auto shut-down timer on every call.
Definition anytone_settingsextension.hh:67
Interval _autoShutDownDelay
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:111
AnytonePowerSaveSettingsExtension(QObject *parent=nullptr)
The power-save mode.
Definition anytone_settingsextension.cc:821
void enableResetAutoShutdownOnCall(bool enable)
Enables/disables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.cc:855
Interval autoShutdown
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:64
bool atpc() const
Returns true if the adaptive transmission power control is enabled.
Definition anytone_settingsextension.cc:875
PowerSave _powerSave
Power save mode property.
Definition anytone_settingsextension.hh:113
bool _resetAutoShutdownOnCall
Enables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.hh:112
void enableATPC(bool enable)
Enables/disables the adaptive transmission power control.
Definition anytone_settingsextension.cc:879
bool _atpc
Adaptive Transmission Power Control.
Definition anytone_settingsextension.hh:114
void setPowerSave(PowerSave mode)
Sets the power-save mode.
Definition anytone_settingsextension.cc:867
Implements the repeater settings for the BTECH DMR-6X2UV and AT-D578UV.
Definition anytone_settingsextension.hh:1668
TimeSlot _timeSlot
The primary channel time-slot.
Definition anytone_settingsextension.hh:1737
void setColorCode(ColorCode code)
Sets the color code match mode.
Definition anytone_settingsextension.cc:2556
bool enabled
Enables/disables the repeater feature.
Definition anytone_settingsextension.hh:1673
TimeSlot _secTimeSlot
The secondary channel time-slot.
Definition anytone_settingsextension.hh:1738
TimeSlot
Possible repeater time-slots.
Definition anytone_settingsextension.hh:1692
TimeSlot timeSlot
Time-slot of the primary repeater channel.
Definition anytone_settingsextension.hh:1681
void enable(bool enable)
Enables/disables the simplex repeater.
Definition anytone_settingsextension.cc:2505
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_settingsextension.hh:1736
TimeSlot secTimeSlot
Time-slot of the secondary repeater channel.
Definition anytone_settingsextension.hh:1685
void setSecTimeSlot(TimeSlot ts)
Sets the secondary channel time-slot.
Definition anytone_settingsextension.cc:2542
bool monitor
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:1677
ColorCode
Possible color code settings.
Definition anytone_settingsextension.hh:1698
bool monitorEnabled() const
If true, repeater monitoring is enabled.
Definition anytone_settingsextension.cc:2513
void setTimeSlot(TimeSlot ts)
Sets the primary (simplex) channel time-slot.
Definition anytone_settingsextension.cc:2529
void enableMonitor(bool enable)
Enables/disables repeater monitoring.
Definition anytone_settingsextension.cc:2517
ColorCode _colorCode
The color code match mode.
Definition anytone_settingsextension.hh:1739
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_settingsextension.hh:1735
AnytoneRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2483
Implements the ranging/roaming settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1256
RoamStart roamStart
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1274
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_settingsextension.hh:1390
void setAutoRoamPeriod(Interval min)
Sets the auto-roam period in minutes.
Definition anytone_settingsextension.cc:272
RoamingZoneReference * _defaultRoamingZone
The default roaming zone.
Definition anytone_settingsextension.hh:1398
unsigned int notificationCount
Repeater-check notification count.
Definition anytone_settingsextension.hh:1301
bool autoRoam
Enables auto-roaming.
Definition anytone_settingsextension.hh:1262
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_settingsextension.hh:1394
bool repeaterRangeCheckEnabled() const
Returns true if the repeater range check is enabled.
Definition anytone_settingsextension.cc:292
RoamStart roamReturn
Auto-roaming end/return condition.
Definition anytone_settingsextension.hh:1278
void setRoamingReturnCondition(RoamStart start)
Sets the auto-roaming return condition.
Definition anytone_settingsextension.cc:355
bool rangeCheck
Repeater range check.
Definition anytone_settingsextension.hh:1282
unsigned int _notificationCount
Number of notifications.
Definition anytone_settingsextension.hh:1396
Interval checkInterval
Repeater range check interval in seconds.
Definition anytone_settingsextension.hh:1286
AnytoneRoamingSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:233
bool _notification
Repeater check notification.
Definition anytone_settingsextension.hh:1395
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1393
RoamStart
Possible roaming start conditions.
Definition anytone_settingsextension.hh:1311
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_settingsextension.hh:1388
void setRoamingStartCondition(RoamStart start)
Sets the auto-roaming start condition.
Definition anytone_settingsextension.cc:343
void setRepeaterRangeCheckCount(unsigned int count)
Sets the number of retries before giving up.
Definition anytone_settingsextension.cc:319
void setRepeaterCheckInterval(Interval sec)
Sets the repeater check interval in seconds.
Definition anytone_settingsextension.cc:307
Interval repeaterCheckInterval() const
Returns the repeater check interval in seconds.
Definition anytone_settingsextension.cc:303
Interval _autoRoamPeriod
The auto-roam period in minutes.
Definition anytone_settingsextension.hh:1387
void setOutOfRangeAlert(OutOfRangeAlert type)
Sets the repeater out-of-range alert type.
Definition anytone_settingsextension.cc:331
bool _autoRoam
Enables auto roaming.
Definition anytone_settingsextension.hh:1386
void setNotificationCount(unsigned int n)
Sets the number of repeater-check notifications.
Definition anytone_settingsextension.cc:378
unsigned int retryCount
Retry count.
Definition anytone_settingsextension.hh:1290
Interval autoRoamPeriod
The auto-roaming period in minutes.
Definition anytone_settingsextension.hh:1266
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_settingsextension.hh:1397
OutOfRangeAlert outOfRangeAlert
Repeater out-of-range alert type.
Definition anytone_settingsextension.hh:1293
bool notificationEnabled() const
Returns true, if the repeater check notification is enabled.
Definition anytone_settingsextension.cc:363
void enableAutoRoam(bool enable)
Enables/disables auto-roaming.
Definition anytone_settingsextension.cc:260
bool gpsRoaming
GPS roaming enabled.
Definition anytone_settingsextension.hh:1307
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_settingsextension.hh:1392
RoamingZoneReference * defaultZone
The default roaming zone.
Definition anytone_settingsextension.hh:1304
void enableRepeaterRangeCheck(bool enable)
Enables/disables repeater range check.
Definition anytone_settingsextension.cc:296
unsigned int repeaterRangeCheckCount() const
Number of retries before givnig up.
Definition anytone_settingsextension.cc:315
OutOfRangeAlert
Possible repeater out-of-range alerts.
Definition anytone_settingsextension.hh:1317
RoamStart roamingReturnCondition() const
Returns the auto-roaming return condition.
Definition anytone_settingsextension.cc:351
Interval autoRoamDelay
The auto-roam delay.
Definition anytone_settingsextension.hh:1270
RoamStart roamingStartCondition() const
Returns the auto-roaming start condition.
Definition anytone_settingsextension.cc:339
void enableGPSRoaming(bool enable)
Enables/disables GPS roaming.
Definition anytone_settingsextension.cc:390
void enableNotification(bool enable)
Enables/disables the repeater-check notification.
Definition anytone_settingsextension.cc:367
bool notification
Repeater-check notification.
Definition anytone_settingsextension.hh:1297
void setAutoRoamDelay(Interval sec)
Sets the auto-roam delay in seconds.
Definition anytone_settingsextension.cc:284
unsigned int _repeaterRangeCheckCount
Number of range checks before giving up.
Definition anytone_settingsextension.hh:1391
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_settingsextension.hh:1389
Implements the satellite mode settings for the BTECH DMR-6X2UV PRO.
Definition anytone_settingsextension.hh:1749
void setPower(Channel::Power power)
Sets transmit power in satellite mode.
Definition anytone_settingsextension.cc:2591
AnytoneSatelliteSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_settingsextension.cc:2568
unsigned int squelch
Enables/disables the repeater monitor.
Definition anytone_settingsextension.hh:1758
void setSquelch(unsigned int squelch)
Sets squelch in satellite mode.
Definition anytone_settingsextension.cc:2605
Channel::Power power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:1754
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:2575
Channel::Power _power
Transmit power in satellite mode.
Definition anytone_settingsextension.hh:1778
unsigned int _squelch
FM squelch in satellite mode.
Definition anytone_settingsextension.hh:1780
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2075
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2107
void setMaxVFOScanFrequencyVHF(Frequency hz)
Sets the maximum VFO scan frequency for the VHF band in Hz.
Definition anytone_settingsextension.cc:652
VFOMode
Possible VFO modes.
Definition anytone_settingsextension.hh:1910
void setVFOStep(Frequency step)
Sets the VFO tuning step in kHz.
Definition anytone_settingsextension.cc:676
FanControl fan() const
Returns the fan control setting.
Definition anytone_settingsextension.cc:760
Frequency maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:1824
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_settingsextension.hh:1922
AnytonePowerSaveSettingsExtension * powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:1871
Frequency minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:1822
AnytoneAudioSettingsExtension * audioSettings
The audio settings.
Definition anytone_settingsextension.hh:1879
Frequency vfoStep
The VFO tuning step-size in kHz.
Definition anytone_settingsextension.hh:1836
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2101
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_settingsextension.hh:2073
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_settingsextension.hh:2114
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_settingsextension.hh:2115
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:1817
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2100
void setMinVFOScanFrequencyVHF(Frequency hz)
Sets the minimum VFO scan frequency for the VHF band in Hz.
Definition anytone_settingsextension.cc:641
VFOScanType
Encodes the possible VFO scan types.
Definition anytone_settingsextension.hh:1904
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2071
Q_INVOKABLE AnytoneSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_settingsextension.cc:406
AnytoneBootSettingsExtension * _bootSettings
Returns power setting for satellite mode.
Definition anytone_settingsextension.hh:2069
void enableProMode(bool enable)
Enables/disables the "pro mode".
Definition anytone_settingsextension.cc:737
VFO
Possible VFOs.
Definition anytone_settingsextension.hh:1916
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2083
AnytoneGPSSettingsExtension * gpsSettings
The GPS settings.
Definition anytone_settingsextension.hh:1887
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2103
AnytoneDMRSettingsExtension * dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:1885
AnytoneMenuSettingsExtension * menuSettings
The menu settings.
Definition anytone_settingsextension.hh:1881
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_settingsextension.hh:2097
void enableSubChannel(bool enable)
Enables/disables the sub-channel.
Definition anytone_settingsextension.cc:606
VFOMode modeA
The mode of VFO A.
Definition anytone_settingsextension.hh:1808
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2079
void setVFOScanType(VFOScanType type)
Sets the VFO scan type.
Definition anytone_settingsextension.cc:541
void enableMaintainCallChannel(bool enable)
Enables/disables maintaining the call-channel.
Definition anytone_settingsextension.cc:751
AnytoneMenuSettingsExtension * _menuSettings
The menu settings.
Definition anytone_settingsextension.hh:2081
bool subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:1799
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_settingsextension.hh:2108
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_settingsextension.hh:2087
AnytoneRepeaterSettingsExtension * repeaterSettings() const
A reference to the simplex repeater settings.
Definition anytone_settingsextension.cc:526
AnytoneAutoRepeaterSettingsExtension * autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:1883
AnytoneRepeaterSettingsExtension * _repeaterSettings
The repeater settings.
Definition anytone_settingsextension.hh:2093
Interval _steDuration
STE duration.
Definition anytone_settingsextension.hh:2112
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_settingsextension.hh:2089
AnytoneKeySettingsExtension * keySettings
The key settings.
Definition anytone_settingsextension.hh:1873
bool keepLastCallerEnabled() const
Returns true if the last caller is kept on channel switch.
Definition anytone_settingsextension.cc:660
void setTBSTFrequency(Frequency Hz)
Sets the TBST frequency in Hz.
Definition anytone_settingsextension.cc:723
void setSTEType(STEType type)
Sets the STE (squelch tail elimination) type.
Definition anytone_settingsextension.cc:688
AnytoneBootSettingsExtension * bootSettings
The boot settings.
Definition anytone_settingsextension.hh:1869
AnytoneBluetoothSettingsExtension * _bluetoothSettings
The bluetooth settings.
Definition anytone_settingsextension.hh:2091
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_settingsextension.hh:2109
bool subChannelEnabled() const
Returns true if the sub-channel is enabled.
Definition anytone_settingsextension.cc:602
AnytoneBluetoothSettingsExtension * bluetoothSettings
The Bluetooth settings.
Definition anytone_settingsextension.hh:1891
VFOMode _modeB
Mode of VFO B.
Definition anytone_settingsextension.hh:2099
void enableKeepLastCaller(bool enable)
Enables/disables keeping the last caller on channel switch.
Definition anytone_settingsextension.cc:664
void setModeB(VFOMode mode)
Sets the mode for VFO B.
Definition anytone_settingsextension.cc:565
AnytoneToneSettingsExtension * toneSettings
The tone settings.
Definition anytone_settingsextension.hh:1875
void setFan(FanControl ctlr)
Sets the fan control.
Definition anytone_settingsextension.cc:765
Frequency tbstFrequency() const
Returns the TBST frequency in Hz.
Definition anytone_settingsextension.cc:719
void setMinVFOScanFrequencyUHF(Frequency hz)
Sets the minimum VFO scan frequency for the UHF band in Hz.
Definition anytone_settingsextension.cc:618
AnytoneDMRSettingsExtension * _dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:2085
VFOMode modeB
The mode of VFO B.
Definition anytone_settingsextension.hh:1810
void setSelectedVFO(VFO vfo)
Sets the selected VFO.
Definition anytone_settingsextension.cc:594
Frequency _maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2105
STEType steType
The STE type.
Definition anytone_settingsextension.hh:1841
bool keepLastCaller
The keep-last-caller setting.
Definition anytone_settingsextension.hh:1832
AnytoneDisplaySettingsExtension * displaySettings
The display settings.
Definition anytone_settingsextension.hh:1877
VFOScanType vfoScanType
The VFO scan type.
Definition anytone_settingsextension.hh:1820
double steFrequency
The STE frequency in Hz.
Definition anytone_settingsextension.hh:1845
AnytoneRoamingSettingsExtension * roamingSettings
The Roaming settings.
Definition anytone_settingsextension.hh:1889
Interval steDuration
The STE duration in ms.
Definition anytone_settingsextension.hh:1850
Frequency minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:1826
void setSTEDuration(Interval intv)
Sets the STE duration.
Definition anytone_settingsextension.cc:711
void setModeA(VFOMode mode)
Sets the mode for VFO A.
Definition anytone_settingsextension.cc:553
void setSTEFrequency(double freq)
Sets the STE (squelch tail elimination) frequency in Hz.
Definition anytone_settingsextension.cc:699
VFO _selectedVFO
The current VFO.
Definition anytone_settingsextension.hh:2102
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2104
void setMaxVFOScanFrequencyUHF(Frequency hz)
Sets the maximum VFO scan frequency for the UHF band in Hz.
Definition anytone_settingsextension.cc:629
Frequency _minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2106
Frequency maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:1828
STEType _steType
The STE type.
Definition anytone_settingsextension.hh:2110
AnytoneSatelliteSettingsExtension * _satelliteSettings
The satellite settings.
Definition anytone_settingsextension.hh:2095
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_settingsextension.hh:2077
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_settingsextension.hh:2111
bool proModeEnabled() const
Returns true, if the "pro mode" is enabled.
Definition anytone_settingsextension.cc:732
VFO selectedVFO
The current active VFO.
Definition anytone_settingsextension.hh:1803
VFOMode _modeA
Mode of VFO A.
Definition anytone_settingsextension.hh:2098
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_settingsextension.hh:2113
ZoneReference * zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:1815
bool maintainCallChannelEnabled() const
Returns true if the call-channel is maintained.
Definition anytone_settingsextension.cc:746
Implements the tone settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:390
bool _totNotification
TOT notification enabled.
Definition anytone_settingsextension.hh:417
AnytoneToneSettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_settingsextension.cc:1267
bool wxAlarm
Enables weather alarm tone.
Definition anytone_settingsextension.hh:397
bool tot
Enables transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.hh:395
bool _wxAlarm
Weather alarm.
Definition anytone_settingsextension.hh:418
void enableTOTNotification(bool enable)
Enables/disables the transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.cc:1289
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1273
void enableWXAlarm(bool enable)
Enables/disables weather alarm.
Definition anytone_settingsextension.cc:1302
bool totNotification() const
Returns true if the transmit timeout notification is enabled (5s before TOT).
Definition anytone_settingsextension.cc:1284
The base class of all channels (analog and digital) of a codeplug configuration.
Definition channel.hh:38
ConfigExtension(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1234
Parse context for config objects.
Definition configobject.hh:43
Base class for all configuration objects (channels, zones, contacts, etc).
Definition configobject.hh:35
ConfigItem(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:158
ConfigObjectList(const QMetaObject &elementTypes=ConfigItem::staticMetaObject, QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1511
ConfigObjectReference(const QMetaObject &elementType=ConfigObject::staticMetaObject, QObject *parent=nullptr)
Hidden constructor.
Definition configreference.cc:17
ConfigObject(QObject *parent=nullptr)
Specifies the prefix for every ID assigned to every object during serialization.
Definition configobject.cc:1141
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
Represents a time interval.
Definition interval.hh:11
Base class for all Radio objects.
Definition radio.hh:32
Implements a reference to a roaming zone.
Definition configreference.hh:285
Implements a reference to a zone.
Definition configreference.hh:307
Represents a zone within the generic configuration.
Definition zone.hh:15
Helper type to encode frequencies without any rounding error.
Definition frequency.hh:107