ui

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const CallinfoWindowID = gmtry.ID("callinfo")
View Source
const RateWindowID = "rate"
View Source
const ScoreWindowID = "score"

Variables

This section is empty.

Functions

func Run

func Run(version string, args []string)

Run the application

Types

type EntryController

type EntryController interface {
	GotoNextField() core.EntryField
	SetActiveField(core.EntryField)

	Enter(string)
	SendQuestion()
	StopTX()

	Log()
	Clear()
}

EntryController controls the entry of QSO data.

type KeyerController

type KeyerController interface {
	Send(int)
	Stop()
	EnterPattern(int, string)
	EnterSpeed(int)
	Save()
}

KeyerController controls the keyer.

type LogbookController

type LogbookController interface {
	SelectRow(int)
}

LogbookController represents the logbook controller.

type MainMenuController interface {
	About()
	New()
	Open()
	SaveAs()
	ExportCabrillo()
	ExportADIF()
	ExportCSV()
	OpenSettings()
	Quit()
	ShowCallinfo()
	ShowScore()
	ShowRate()
	ClearEntryFields()
	GotoEntryFields()
	EditLastQSO()
	LogQSO()
	SwitchToSPWorkmode()
	SwitchToRunWorkmode()
}

MainMenuController provides the functionality for the main menu.

type SettingsController added in v0.6.0

type SettingsController interface {
	Save()
	Reset()
	OpenDefaults()

	EnterStationCallsign(string)
	EnterStationOperator(string)
	EnterStationLocator(string)
	EnterContestName(string)
	EnterContestEnterTheirNumber(bool)
	EnterContestEnterTheirXchange(bool)
	EnterContestRequireTheirXchange(bool)
	EnterContestAllowMultiBand(bool)
	EnterContestAllowMultiMode(bool)
	EnterContestSameCountryPoints(string)
	EnterContestSameContinentPoints(string)
	EnterContestSpecificCountryPoints(string)
	EnterContestSpecificCountryPrefixes(string)
	EnterContestOtherPoints(string)
	EnterContestMultis(dxcc, wpx, xchange bool)
	EnterContestXchangeMultiPattern(string)
	EnterContestTestXchangeValue(string)
	EnterContestCountPerBand(bool)
	EnterContestCabrilloQSOTemplate(string)
}

type WorkmodeController

type WorkmodeController interface {
	SetWorkmode(core.Workmode)
}

WorkmodeController controls the workmode handling.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL