ui

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const AppID = "ft.hellocontest"
View Source
const CallinfoWindowID = gmtry.ID("callinfo")
View Source
const RateWindowID = "rate"
View Source
const ScoreWindowID = "score"
View Source
const SpotsWindowID = "spots"

Variables

This section is empty.

Functions

func Run

func Run(version string, sponsors string, args []string)

Run the application

Types

type AcceptFocusFunc added in v0.17.0

type AcceptFocusFunc func(bool)

type CallinfoController added in v0.14.0

type CallinfoController interface {
	Refresh()
}

type EntryController

type EntryController interface {
	GotoNextField() core.EntryField
	GotoNextPlaceholder()
	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()
	SelectPreset(string)
}

KeyerController controls the keyer.

type LogbookController

type LogbookController interface {
	GetExchangeFields() ([]core.ExchangeField, []core.ExchangeField)
	SelectRow(int)
}

LogbookController represents the logbook controller.

type MainMenuController interface {
	OpenWiki()
	Sponsors()
	About()
	New()
	Open()
	SaveAs()
	ExportCabrillo()
	ExportADIF()
	ExportCSV()
	ExportCallhistory()
	OpenContestRulesPage()
	OpenContestUploadPage()
	OpenSettings()
	OpenConfigurationFile()
	Quit()
	ShowCallinfo()
	ShowScore()
	ShowRate()
	ShowSpots()
	ClearEntryFields()
	GotoEntryFields()
	EditLastQSO()
	LogQSO()
	SwitchToSPWorkmode()
	SwitchToRunWorkmode()
	MarkInBandmap()
	GotoHighestValueSpot()
	GotoNearestSpot()
	GotoNextSpotUp()
	GotoNextSpotDown()
	SendSpotsToTci() bool
	SetSendSpotsToTci(bool)
}

MainMenuController provides the functionality for the main menu.

type NewContestController added in v0.16.0

type NewContestController interface {
	SelectContestIdentifier(string)
	EnterContestName(string)
}

type RadioMenuController added in v0.15.0

type RadioMenuController interface {
	SelectRadio(name string)
	SelectKeyer(name string)
}

type SettingsController added in v0.6.0

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

	EnterStationCallsign(string)
	EnterStationOperator(string)
	EnterStationLocator(string)

	SelectContestIdentifier(string)
	OpenContestRulesPage()
	OpenContestUploadPage()
	ClearCallHistory()

	EnterContestExchangeValue(core.EntryField, string)
	EnterContestGenerateSerialExchange(bool)
	EnterContestGenerateReport(bool)

	EnterContestName(string)
	EnterContestStartTime(string)
	SetContestStartTimeToday()
	SetContestStartTimeNow()
	SetOperationModeSprint(bool)
	EnterContestCallHistoryFile(string)
	EnterContestCallHistoryFieldName(core.EntryField, string)
	EnterQSOsGoal(string)
	EnterPointsGoal(string)
	EnterMultisGoal(string)
}

type SpotSourceMenuController added in v0.13.0

type SpotSourceMenuController interface {
	SetSpotSourceEnabled(string, bool)
}

type SpotsController added in v0.13.0

type SpotsController interface {
	SetVisibleBand(core.Band)
	SetActiveBand(core.Band)

	RemainingLifetime(int) float64
	EntryVisible(int) bool
	SelectEntry(int)
}

type StopKeyController added in v0.9.0

type StopKeyController interface {
	Stop()
	DoubleStop()
}

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