Documentation
¶
Index ¶
- type Bandmap
- type Callinfo
- type Controller
- func (c *Controller) Activate()
- func (c *Controller) CallinfoFrameChanged(frame core.CallinfoFrame)
- func (c *Controller) Clear()
- func (c *Controller) ContestChanged(contest core.Contest)
- func (c *Controller) CurrentValues() core.KeyerValues
- func (c *Controller) EditLastQSO()
- func (c *Controller) Enter(text string)
- func (c *Controller) EntrySelected(entry core.BandmapEntry)
- func (c *Controller) GotoNextField() core.EntryField
- func (c *Controller) GotoNextPlaceholder()
- func (c *Controller) Log()
- func (c *Controller) MarkInBandmap()
- func (c *Controller) Notify(listener any)
- func (c *Controller) QSOSelected(qso core.QSO)
- func (c *Controller) RefreshPrediction()
- func (c *Controller) RefreshView()
- func (c *Controller) SelectBestMatchOnFrequency()
- func (c *Controller) SelectMatch(index int)
- func (c *Controller) SendQuestion()
- func (c *Controller) SetActiveField(field core.EntryField)
- func (c *Controller) SetCallinfo(callinfo Callinfo)
- func (c *Controller) SetKeyer(keyer Keyer)
- func (c *Controller) SetLogbook(logbook Logbook)
- func (c *Controller) SetVFO(vfo core.VFO)
- func (c *Controller) SetView(view View)
- func (c *Controller) StartAutoRefresh()
- func (c *Controller) StationChanged(station core.Station)
- func (c *Controller) StopTX()
- func (c *Controller) VFOBandChanged(band core.Band)
- func (c *Controller) VFOFrequencyChanged(frequency core.Frequency)
- func (c *Controller) VFOModeChanged(mode core.Mode)
- func (c *Controller) WorkmodeChanged(workmode core.Workmode)
- type Keyer
- type Logbook
- type QSOList
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callinfo ¶
type Callinfo interface {
InputChanged(call string, band core.Band, mode core.Mode, exchange []string)
}
Callinfo functionality used for QSO entry.
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(settings core.Settings, clock core.Clock, qsoList QSOList, bandmap Bandmap, asyncRunner core.AsyncRunner) *Controller
NewController returns a new entry controller.
func (*Controller) Activate ¶ added in v0.5.0
func (c *Controller) Activate()
func (*Controller) CallinfoFrameChanged ¶ added in v0.22.0
func (c *Controller) CallinfoFrameChanged(frame core.CallinfoFrame)
func (*Controller) Clear ¶ added in v0.5.0
func (c *Controller) Clear()
func (*Controller) ContestChanged ¶ added in v0.6.0
func (c *Controller) ContestChanged(contest core.Contest)
func (*Controller) CurrentValues ¶
func (c *Controller) CurrentValues() core.KeyerValues
func (*Controller) EditLastQSO ¶ added in v0.5.0
func (c *Controller) EditLastQSO()
func (*Controller) Enter ¶
func (c *Controller) Enter(text string)
func (*Controller) EntrySelected ¶ added in v0.13.0
func (c *Controller) EntrySelected(entry core.BandmapEntry)
func (*Controller) GotoNextField ¶
func (c *Controller) GotoNextField() core.EntryField
func (*Controller) GotoNextPlaceholder ¶ added in v0.13.0
func (c *Controller) GotoNextPlaceholder()
func (*Controller) Log ¶
func (c *Controller) Log()
func (*Controller) MarkInBandmap ¶ added in v0.13.0
func (c *Controller) MarkInBandmap()
func (*Controller) Notify ¶ added in v0.13.0
func (c *Controller) Notify(listener any)
func (*Controller) QSOSelected ¶
func (c *Controller) QSOSelected(qso core.QSO)
func (*Controller) RefreshPrediction ¶ added in v0.19.0
func (c *Controller) RefreshPrediction()
func (*Controller) RefreshView ¶ added in v0.22.0
func (c *Controller) RefreshView()
func (*Controller) SelectBestMatchOnFrequency ¶ added in v0.22.0
func (c *Controller) SelectBestMatchOnFrequency()
func (*Controller) SelectMatch ¶ added in v0.20.0
func (c *Controller) SelectMatch(index int)
func (*Controller) SendQuestion ¶
func (c *Controller) SendQuestion()
func (*Controller) SetActiveField ¶
func (c *Controller) SetActiveField(field core.EntryField)
func (*Controller) SetCallinfo ¶
func (c *Controller) SetCallinfo(callinfo Callinfo)
func (*Controller) SetKeyer ¶
func (c *Controller) SetKeyer(keyer Keyer)
func (*Controller) SetLogbook ¶
func (c *Controller) SetLogbook(logbook Logbook)
func (*Controller) SetVFO ¶
func (c *Controller) SetVFO(vfo core.VFO)
func (*Controller) SetView ¶
func (c *Controller) SetView(view View)
func (*Controller) StartAutoRefresh ¶ added in v0.5.0
func (c *Controller) StartAutoRefresh()
func (*Controller) StationChanged ¶ added in v0.6.0
func (c *Controller) StationChanged(station core.Station)
func (*Controller) StopTX ¶ added in v0.5.0
func (c *Controller) StopTX()
func (*Controller) VFOBandChanged ¶ added in v0.13.0
func (c *Controller) VFOBandChanged(band core.Band)
func (*Controller) VFOFrequencyChanged ¶ added in v0.13.0
func (c *Controller) VFOFrequencyChanged(frequency core.Frequency)
func (*Controller) VFOModeChanged ¶ added in v0.13.0
func (c *Controller) VFOModeChanged(mode core.Mode)
func (*Controller) WorkmodeChanged ¶ added in v0.13.0
func (c *Controller) WorkmodeChanged(workmode core.Workmode)
type Keyer ¶
type Keyer interface {
SendQuestion(q string)
Stop()
}
Keyer functionality used for QSO entry.
type QSOList ¶
type QSOList interface {
FindDuplicateQSOs(callsign.Callsign, core.Band, core.Mode) []core.QSO
SelectLastQSO()
}
QSOList functionality used for QSO entry.
type View ¶
type View interface {
SetUTC(string)
SetMyCall(string)
SetFrequency(core.Frequency)
SetCallsign(string)
SetBand(text string)
SetMode(text string)
SetMyExchange(int, string)
SetTheirExchange(int, string)
SetMyExchangeFields([]core.ExchangeField)
SetTheirExchangeFields([]core.ExchangeField)
SetActiveField(core.EntryField)
SelectText(core.EntryField, string)
SetDuplicateMarker(bool)
SetEditingMarker(bool)
ShowMessage(...interface{})
ClearMessage()
}
View represents the visual part of the QSO data entry.
Click to show internal directories.
Click to hide internal directories.