libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
D578UVCodeplug::ExtendedSettingsElement Class Reference

General settings extension element for the D578UV. More...

#include <d578uv_codeplug.hh>

Inheritance diagram for D578UVCodeplug::ExtendedSettingsElement:
Collaboration diagram for D578UVCodeplug::ExtendedSettingsElement:

Classes

struct  Limit
 Some limits for the settings. More...
struct  Offset
 Internal used offset within the element. More...

Public Member Functions

 ExtendedSettingsElement (uint8_t *ptr)
 Constructor.
void clear ()
 Resets the settings.
virtual AnytoneDMRSettingsExtension::TalkerAliasSource talkerAliasSource () const
 Returns the talker alias source.
virtual void setTalkerAliasSource (AnytoneDMRSettingsExtension::TalkerAliasSource mode)
 Sets the talker alias source.
virtual AnytoneDMRSettingsExtension::TalkerAliasEncoding talkerAliasEncoding () const
 Returns the talker alias encoding.
virtual void setTalkerAliasEncoding (AnytoneDMRSettingsExtension::TalkerAliasEncoding encoding)
 Sets the talker alias encoding.
virtual bool weatherAlarmEnabled () const
 Returns true if the weather alarm is enabled.
virtual void enableWeatherAlarm (bool enable)
 Enables/disables the weather alarm.
virtual bool repeaterEnabled () const
 Returns true if the repeater function is enabled.
virtual void enableRepeater (bool enable)
 Enables/disables the repeater function.
virtual AnytoneAudioSettingsExtension::Speaker speaker () const
 Returns the speaker setting.
virtual void setSpeaker (AnytoneAudioSettingsExtension::Speaker speaker)
 Sets the speaker setting.
virtual AnytoneAudioSettingsExtension::HandsetSpeakerSource micSpeakerSource () const
 Returns the microphone-speaker source.
virtual void setMicSpeakerSource (AnytoneAudioSettingsExtension::HandsetSpeakerSource source)
 Sets the microphone-speaker source.
virtual AnytoneGPSSettingsExtension::GPSMode gpsMode () const
 Returns the GPS mode.
virtual void setGPSMode (AnytoneGPSSettingsExtension::GPSMode mode)
 Sets the GPS mode.
virtual bool bluetoothPTTLatch () const
 Returns true if the BT PTT latch is enabled.
virtual void enableBluetoothPTTLatch (bool enable)
 Enables/disables bluetooth PTT latch.
virtual bool infiniteBluetoothPTTSleepDelay () const
 Returns true if the bluetooth PTT sleep delay is disabled (infinite).
virtual Interval bluetoothPTTSleepDelay () const
 Returns the bluetooth PTT sleep delay in minutes, 0=off.
virtual void setBluetoothPTTSleepDelay (Interval delay)
 Sets the bluetooth PTT sleep delay in minutes.
virtual void setInfiniteBluetoothPTTSleepDelay ()
 Sets the bluetooth PTT sleep delay to infinite/disabled.
virtual AnytoneSettingsExtension::FanControl fanControl () const
 Returns the fan-control setting.
virtual void setFanControl (AnytoneSettingsExtension::FanControl ctrl)
 Sets the fan-control setting.
virtual unsigned int weatherChannelIndex () const
 Returns the weather channel index.
virtual void setWeatherChannelIndex (unsigned int idx)
 Sets the weather channel index.
virtual bool infiniteManDialGroupCallHangTime () const
 Returns true if the manual dialed group call hang time is infinite.
virtual Interval manDialGroupCallHangTime () const
 Returns the manual dial group call hang time.
virtual void setManDialGroupCallHangTime (Interval dur)
 Sets the manual dial group call hang time.
virtual void setManDialGroupCallHangTimeInfinite ()
 Sets the manual dial group call hang time to infinite.
virtual bool infiniteManDialPrivateCallHangTime () const
 Returns true if the manual dialed private call hang time is infinite.
virtual Interval manDialPrivateCallHangTime () const
 Returns the manual dial private call hang time.
virtual void setManDialPrivateCallHangTime (Interval dur)
 Sets the manual dial private call hang time.
virtual void setManDialPrivateCallHangTimeInfinite ()
 Sets the manual dial private call hang time to infinite.
virtual AnytoneKeySettingsExtension::KeyFunction chKnobShortPressFunction () const
 Returns the short-press function for the channel knob.
virtual void setChKnobShortPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the channel knob short-press function.
virtual AnytoneKeySettingsExtension::KeyFunction chKnobLongPressFunction () const
 Returns the long-press function for the channel knob.
virtual void setChKnobLongPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the channel knob long-press function.
AnytoneDisplaySettingsExtension::Color channelBNameColor () const
 Returns the color of the channel name for VFO B.
void setChannelBNameColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the channel name color for the VFO B.
virtual AnytoneDMRSettingsExtension::EncryptionType encryption () const
 Returns the encryption mode.
virtual void setEncryption (AnytoneDMRSettingsExtension::EncryptionType mode)
 Sets the encryption mode.
virtual bool professionalMode () const
 Returns true if the professional mode is enabled.
virtual void enableProfessionalMode (bool enable)
 Enables/disables professional mode.
virtual Interval steDuration () const
 Returns the STE (squelch tail elimination) duration.
virtual void setSTEDuration (Interval dur)
 Sets the STE (squelch tail elimination) duration.
virtual AnytoneAudioSettingsExtension::HandsetType micType () const
 Returns the microphone type.
virtual void setMicType (AnytoneAudioSettingsExtension::HandsetType type)
 Sets the microphone type.
AnytoneDisplaySettingsExtension::Color zoneANameColor () const
 Returns the color of the zone name for VFO A.
void setZoneANameColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the zone name color for the VFO A.
AnytoneDisplaySettingsExtension::Color zoneBNameColor () const
 Returns the color of the zone name for VFO B.
void setZoneBNameColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the zone name color for the VFO B.
virtual bool resetAutoShutdownOnCall () const
 Returns true if the auto-shutdown timer is reset on a call.
virtual void enableResetAutoShutdownOnCall (bool enable)
 Enables/disables reset on call of the auto-shutdown timer.
virtual bool showColorCode () const
 Returns true if the color code is shown.
virtual void enableShowColorCode (bool enable)
 Enables/disables display of color code.
virtual bool showTimeSlot () const
 Returns true if the time slot is shown.
virtual void enableShowTimeSlot (bool enable)
 Enables/disables display of time slot.
virtual bool showChannelType () const
 Returns true if the channel type is shown.
virtual void enableShowChannelType (bool enable)
 Enables/disables display of channel type.
virtual bool fmIdleTone () const
 Returns true if the FM idle channel tone is enabled.
virtual void enableFMIdleTone (bool enable)
 Enables/disables FM idle channel tone.
virtual AnytoneDisplaySettingsExtension::DateFormat dateFormat () const
 Returns the date format.
virtual void setDateFormat (AnytoneDisplaySettingsExtension::DateFormat format)
 Sets the date format.
virtual unsigned int fmMicGain () const
 Returns the FM Mic gain [1,10].
virtual void setFMMicGain (unsigned int gain)
 Sets the analog mic gain [1,10].
virtual AnytoneKeySettingsExtension::KeyFunction btSK1ShortPressFunction () const
 Returns the short-press function for SK1 of the BT handset.
virtual void setBtSK1ShortPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK1 short-press function of the BT handset.
virtual AnytoneKeySettingsExtension::KeyFunction btSK2ShortPressFunction () const
 Returns the short-press function for SK2 of the BT handset.
virtual void setBtSK2ShortPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK2 short-press function of the BT handset.
virtual AnytoneKeySettingsExtension::KeyFunction btSK3ShortPressFunction () const
 Returns the short-press function for SK3 of the BT handset.
virtual void setBtSK3ShortPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK3 short-press function of the BT handset.
virtual AnytoneKeySettingsExtension::KeyFunction btSK1LongPressFunction () const
 Returns the lone-press function for SK1 of the BT handset.
virtual void setBtSK1LongPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK1 long-press function of the BT handset.
virtual AnytoneKeySettingsExtension::KeyFunction btSK2LongPressFunction () const
 Returns the long-press function for SK2 of the BT handset.
virtual void setBtSK2LongPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK2 long-press function of the BT handset.
virtual AnytoneKeySettingsExtension::KeyFunction btSK3LongPressFunction () const
 Returns the long-press function for SK3 of the BT handset.
virtual void setBtSK3LongPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK3 long-press function of the BT handset.
virtual unsigned int btHandsetMicGain () const
 Returns the BT handset mic gain [1-10].
virtual void setBtHandsetMicGain (unsigned int gain)
 Sets the BT handset mic gain.
virtual Interval btHandsetBacklightDuration () const
 Returns the bluetooth handset backlight duration.
virtual void setBtHandsetBacklightDuration (Interval delay)
 Sets the bluetooth handset backlight duration.
virtual AnytoneKeySettingsExtension::UpDownKeyFunction micUpDownKeyFunction () const
 Returns the function of up/down keys on microphone.
virtual void setMicUpDownKeyFunction (AnytoneKeySettingsExtension::UpDownKeyFunction func)
 Sets the microphone up/down key function.
virtual bool totNotification () const
 Returns true if the transmit timeout notification is enabled.
virtual void enableTOTNotification (bool enable)
 Enables/disables transmit timeout notification.
virtual bool gpsRoaming () const
 Returns true if the GPS roaming is enabled.
virtual void enableGPSRoaming (bool enable)
 Enables/disables GPS roaming.
virtual AnytoneRepeaterSettingsExtension::ColorCode repColorCodeMatch () const
 Returns the repeater colorcode match mode.
virtual void setRepColorCodeMatch (AnytoneRepeaterSettingsExtension::ColorCode mode)
 Sets the repeater colorcode match mode.
virtual AnytoneRepeaterSettingsExtension::TimeSlot repTimeSlotAMatch () const
 Returns the repeater timeslots for VFO A.
virtual void setRepTimeSlotAMatch (AnytoneRepeaterSettingsExtension::TimeSlot mode)
 Sets the repeater timeslots for VFO A.
virtual AnytoneRepeaterSettingsExtension::TimeSlot repTimeSlotBMatch () const
 Returns the repeater timeslots for VFO B.
virtual void setRepTimeSlotBMatch (AnytoneRepeaterSettingsExtension::TimeSlot mode)
 Sets the repeater timeslots for VFO B.
virtual unsigned int btHandsetSquelch () const
 Returns the BT handset squelch level [0, 1-10].
virtual void setBtHandsetSquelch (unsigned int level)
 Sets the BT handset squelch level [0, 1-10].
virtual bool btHandsetAutoPowerOffEnabled () const
 If true, the BT handset to shut off automatically, if the device powers down.
virtual void enableBtHandsetAutoPowerOff (bool enable)
 Enables/disables the BT handset to shut off automatically, if the device powers down.
virtual AnytoneKeySettingsExtension::KeyFunction btSK1VeryLongPressFunction () const
 Returns the very-long-press function for SK1 of the BT handset.
virtual void setBtSK1VeryLongPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK1 very-long-press function of the BT handset.
virtual AnytoneKeySettingsExtension::KeyFunction btSK2VeryLongPressFunction () const
 Returns the very-long-press function for SK2 of the BT handset.
virtual void setBtSK2VeryLongPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK2 very-long-press function of the BT handset.
virtual AnytoneKeySettingsExtension::KeyFunction btSK3VeryLongPressFunction () const
 Returns the very-long-press function for SK3 of the BT handset.
virtual void setBtSK3VeryLongPressFunction (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the SK3 very-long-press function of the BT handset.
virtual unsigned int btHandsetTxNoiseRedLevel () const
 Returns the BT handset TX noise reduction level [0,1-10].
virtual void setBtHandsetTxNoiseRedLevel (unsigned int level)
 Sets the BT handset TX noise reduction level [0,1-10].
virtual unsigned int btHandsetVOXLevel () const
 Returns the BT handset VOX level [0,1-10].
virtual void setBtHandsetVOXLevel (unsigned int level)
 Sets the BT handset VOX level [0,1-10].
virtual Interval btHandsetVOXDelay () const
 Returns the VOX delay for the BT handset.
virtual void setBtHandsetVOXDelay (Interval delay)
 Sets the VOX delay for the BT handset.
virtual unsigned int btHandsetVolumeA () const
 Returns the BT handset volume for VFO A [0,1,10].
virtual void setBtHandsetVolumeA (unsigned int vol)
 Sets the BF handset volume for VFO A [0,1,10].
virtual unsigned int btHandsetVolumeB () const
 Returns the BT handset volume for VFO B [0,1,10].
virtual void setBtHandsetVolumeB (unsigned int vol)
 Sets the BF handset volume for VFO B [0,1,10].
virtual void callEndToneMelody (Melody &melody) const
 Returns the call-end tone melody.
virtual void setCallEndToneMelody (const Melody &melody)
 Sets the call-end tone melody.
virtual void allCallToneMelody (Melody &melody) const
 Returns the all-call tone melody.
virtual void setAllCallToneMelody (const Melody &melody)
 Sets the all-call tone melody.
virtual bool fromConfig (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
 Encodes the settings from the config.
virtual bool updateConfig (Context &ctx, const ErrorStack &err=ErrorStack())
 Update config from settings.
Public Member Functions inherited from AnytoneCodeplug::ExtendedSettingsElement
virtual bool linkConfig (Context &ctx, const ErrorStack &err=ErrorStack())
 Link config from settings extension.
Public Member Functions inherited from Codeplug::Element
 Element (const Element &other)
 Copy constructor.
virtual ~Element ()
 Destructor.
Elementoperator= (const Element &other)
 Copy assignment.
virtual bool isValid () const
 Returns true if the pointer is not null.
bool fill (uint8_t value, unsigned offset=0, int size=-1)
 Fills the memsets the entire element to the given value.
bool getBit (const Offset::Bit &offset) const
 Reads a specific bit at the given byte-offset.
bool getBit (unsigned offset, unsigned bit) const
 Reads a specific bit at the given byte-offset.
void setBit (const Offset::Bit &offset, bool value=true)
 Sets a specific bit at the given byte-offset.
void setBit (unsigned offset, unsigned bit, bool value=true)
 Sets a specific bit at the given byte-offset.
void clearBit (unsigned offset, unsigned bit)
 Clears a specific bit at the given byte-offset.
void clearBit (const Offset::Bit &offset)
 Clears a specific bit.
uint8_t getUInt2 (const Offset::Bit &offset) const
 Reads a 2bit unsigned integer at the given bit-offset.
uint8_t getUInt2 (unsigned offset, unsigned bit) const
 Reads a 2bit unsigned integer at the given byte- and bit-offset.
void setUInt2 (const Offset::Bit &offset, uint8_t value)
 Stores a 2bit unsigned integer at the given bit-offset.
void setUInt2 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 2bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt3 (const Offset::Bit &offset) const
 Reads a 3bit unsigned integer at the given bit-offset.
uint8_t getUInt3 (unsigned offset, unsigned bit) const
 Reads a 3bit unsigned integer at the given byte- and bit-offset.
void setUInt3 (const Offset::Bit &offset, uint8_t value)
 Stores a 3bit unsigned integer at the given bit-offset.
void setUInt3 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 3bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt4 (const Offset::Bit &offset) const
 Reads a 4bit unsigned integer at the given bit-offset.
uint8_t getUInt4 (unsigned offset, unsigned bit) const
 Reads a 4bit unsigned integer at the given byte- and bit-offset.
void setUInt4 (const Offset::Bit &offset, uint8_t value)
 Stores a 4bit unsigned integer at the given bit-offset.
void setUInt4 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 4bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt5 (const Offset::Bit &offset) const
 Reads a 5bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt5 (unsigned offset, unsigned bit) const
 Reads a 5bit unsigned integer at the given byte- and bit-offset.
void setUInt5 (const Offset::Bit &offset, uint8_t value)
 Stores a 5bit unsigned integer at the given byte- and bit-offset.
void setUInt5 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 5bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt6 (const Offset::Bit &offset) const
 Reads a 6bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt6 (unsigned offset, unsigned bit) const
 Reads a 6bit unsigned integer at the given byte- and bit-offset.
void setUInt6 (const Offset::Bit &offset, uint8_t value)
 Stores a 6bit unsigned integer at the given byte- and bit-offset.
void setUInt6 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 6bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt8 (unsigned offset) const
 Reads a 8bit unsigned integer at the given byte- and bit-offset.
void setUInt8 (unsigned offset, uint8_t value)
 Reads a 8bit unsigned integer at the given byte- and bit-offset.
int8_t getInt8 (unsigned offset) const
 Reads a 8bit signed integer at the given byte- and bit-offset.
void setInt8 (unsigned offset, int8_t value)
 Reads a 8bit signed integer at the given byte- and bit-offset.
uint16_t getUInt16_be (unsigned offset) const
 Reads a 16bit big-endian unsigned integer at the given byte-offset.
uint16_t getUInt16_le (unsigned offset) const
 Reads a 16bit little-endian unsigned integer at the given byte-offset.
void setUInt16_be (unsigned offset, uint16_t value)
 Stores a 16bit big-endian unsigned integer at the given byte-offset.
void setUInt16_le (unsigned offset, uint16_t value)
 Stores a 16bit little-endian unsigned integer at the given byte-offset.
uint32_t getUInt24_be (unsigned offset) const
 Reads a 24bit big-endian unsigned integer at the given byte-offset.
uint32_t getUInt24_le (unsigned offset) const
 Reads a 24bit little-endian unsigned integer at the given byte-offset.
void setUInt24_be (unsigned offset, uint32_t value)
 Stores a 24bit big-endian unsigned integer at the given byte-offset.
void setUInt24_le (unsigned offset, uint32_t value)
 Stores a 24bit little-endian unsigned integer at the given byte-offset.
uint32_t getUInt32_be (unsigned offset) const
 Reads a 32bit big-endian unsigned integer at the given byte-offset.
uint32_t getUInt32_le (unsigned offset) const
 Reads a 32bit little-endian unsigned integer at the given byte-offset.
void setUInt32_be (unsigned offset, uint32_t value)
 Stores a 32bit big-endian unsigned integer at the given byte-offset.
void setUInt32_le (unsigned offset, uint32_t value)
 Stores a 32bit little-endian unsigned integer at the given byte-offset.
uint64_t getUInt64_be (unsigned offset) const
 Reads a 64bit big-endian unsigned integer at the given byte-offset.
uint64_t getUInt64_le (unsigned offset) const
 Reads a 64bit little-endian unsigned integer at the given byte-offset.
void setUInt64_be (unsigned offset, uint64_t value)
 Stores a 64bit big-endian unsigned integer at the given byte-offset.
void setUInt64_le (unsigned offset, uint64_t value)
 Stores a 64bit little-endian unsigned integer at the given byte-offset.
uint8_t getBCD2 (unsigned offset) const
 Reads a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
void setBCD2 (unsigned offset, uint8_t value)
 Stores a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
uint16_t getBCD4_be (unsigned offset) const
 Reads a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
void setBCD4_be (unsigned offset, uint16_t value)
 Stores a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
uint16_t getBCD4_le (unsigned offset) const
 Reads a 4-digit (2-byte/16bit) BDC value in little-endian at the given byte-offset.
void setBCD4_le (unsigned offset, uint16_t value)
 Stores a 4-digit (1-byte/16bit) BDC value in little-endian at the given byte-offset.
uint32_t getBCD8_be (unsigned offset) const
 Reads a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
void setBCD8_be (unsigned offset, uint32_t value)
 Stores a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
uint32_t getBCD8_le (unsigned offset) const
 Reads a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
void setBCD8_le (unsigned offset, uint32_t value)
 Stores a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
QString readASCII (unsigned offset, unsigned maxlen, uint8_t eos=0x00) const
 Reads up to maxlen ASCII chars at the given byte-offset using eos as the string termination char.
void writeASCII (unsigned offset, const QString &txt, unsigned maxlen, uint8_t eos=0x00)
 Stores up to maxlen ASCII chars at the given byte-offset using eos as the string termination char.
QString readUnicode (unsigned offset, unsigned maxlen, uint16_t eos=0x0000) const
 Reads up to maxlen unicode chars at the given byte-offset using eos as the string termination char.
void writeUnicode (unsigned offset, const QString &txt, unsigned maxlen, uint16_t eos=0x0000)
 Stores up to maxlen unicode chars at the given byte-offset using eos as the string termination char.

Static Public Member Functions

static constexpr unsigned int size ()
 Returns the size of the element.

Protected Types

enum class  Speaker { Microphone =0 , Radio =1 , Both =2 }
enum class  SpeakerSource { MainChannel = 0 , SubChannel = 1 }
 Encoding of microphone-speaker source.
enum class  GPSMode { GPS = 0 , Beidou =1 , GPS_Beidou =2 }
 Encoding of possible GPS modes.
enum class  FanControl { PTT =0 , Temperature =1 , Both =2 }
 Encoding of possible fan-control settings.
enum class  MicType { AnyTone = 0 , Generic = 1 }
 Possible mic types.
enum class  UpDownKeyFunction { Channel = 0 , Volume = 1 }
 Encoding of up/down key functions.
enum class  RepeaterColorCodeMatch { None = 0 , VFO_A = 1 , VFO_B = 2 }
 Encoding of repeater color code match.
enum class  RepeaterTimeSlotMatch { Any = 0 , RX1_TX2 = 1 , RX2_TX1 = 2 }
 Encoding of repeater timeslot match.

Protected Member Functions

 ExtendedSettingsElement (uint8_t *ptr, unsigned size)
 Hidden Constructor.
Protected Member Functions inherited from AnytoneCodeplug::ExtendedSettingsElement
 ExtendedSettingsElement (uint8_t *ptr, unsigned size)
 Hidden constructor.
Protected Member Functions inherited from Codeplug::Element
 Element (uint8_t *ptr, size_t size)
 Hidden constructor.

Additional Inherited Members

Protected Attributes inherited from Codeplug::Element
uint8_t * _data
 Holds the pointer to the element.
size_t _size
 Holds the size of the element.

Detailed Description

General settings extension element for the D578UV.

Member Function Documentation

◆ channelBNameColor()

AnytoneDisplaySettingsExtension::Color D578UVCodeplug::ExtendedSettingsElement::channelBNameColor ( ) const
virtual

Returns the color of the channel name for VFO B.

Implements AnytoneCodeplug::ExtendedSettingsElement.

◆ clear()

void D578UVCodeplug::ExtendedSettingsElement::clear ( )
virtual

Resets the settings.

Reimplemented from Codeplug::Element.

◆ fromConfig()

bool D578UVCodeplug::ExtendedSettingsElement::fromConfig ( const Flags & flags,
Context & ctx,
const ErrorStack & err = ErrorStack() )
virtual

Encodes the settings from the config.

Reimplemented from AnytoneCodeplug::ExtendedSettingsElement.

◆ setChannelBNameColor()

void D578UVCodeplug::ExtendedSettingsElement::setChannelBNameColor ( AnytoneDisplaySettingsExtension::Color )
virtual

Sets the channel name color for the VFO B.

Implements AnytoneCodeplug::ExtendedSettingsElement.

◆ setZoneANameColor()

void D578UVCodeplug::ExtendedSettingsElement::setZoneANameColor ( AnytoneDisplaySettingsExtension::Color )
virtual

Sets the zone name color for the VFO A.

Implements AnytoneCodeplug::ExtendedSettingsElement.

◆ setZoneBNameColor()

void D578UVCodeplug::ExtendedSettingsElement::setZoneBNameColor ( AnytoneDisplaySettingsExtension::Color )
virtual

Sets the zone name color for the VFO B.

Implements AnytoneCodeplug::ExtendedSettingsElement.

◆ updateConfig()

bool D578UVCodeplug::ExtendedSettingsElement::updateConfig ( Context & ctx,
const ErrorStack & err = ErrorStack() )
virtual

Update config from settings.

Reimplemented from AnytoneCodeplug::ExtendedSettingsElement.

◆ zoneANameColor()

AnytoneDisplaySettingsExtension::Color D578UVCodeplug::ExtendedSettingsElement::zoneANameColor ( ) const
virtual

Returns the color of the zone name for VFO A.

Implements AnytoneCodeplug::ExtendedSettingsElement.

◆ zoneBNameColor()

AnytoneDisplaySettingsExtension::Color D578UVCodeplug::ExtendedSettingsElement::zoneBNameColor ( ) const
virtual

Returns the color of the zone name for VFO B.

Implements AnytoneCodeplug::ExtendedSettingsElement.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.13.3-build/qdmr-0.13.3/lib/d578uv_codeplug.hh
  • /builddir/build/BUILD/qdmr-0.13.3-build/qdmr-0.13.3/lib/d578uv_codeplug.cc