Documentation
¶
Index ¶
- func GoLogWindow() error
- func MsgError(p walk.Form, err error)
- func MsgInformation(p walk.Form, info string)
- func NewSourceFileModel() *sourceFileModel
- func OpenFilePicker(parent walk.Form, title, filters string) (*string, error)
- func OpenFilePickerWithInitialDir(parent walk.Form, title, filters string, initialdirpath string) (*string, error)
- func OpenFolderPicker(parent walk.Form, title string) (*string, error)
- func OptionsWindow(parent *walk.MainWindow) error
- func SaveFilePicker(parent walk.Form, title, filters string) (*string, error)
- type BandListModel
- type BandLookupModel
- func (m *BandLookupModel) Checked(index int) bool
- func (m *BandLookupModel) GetBands() []config.Band
- func (m *BandLookupModel) Merge(bands []config.Band)
- func (m *BandLookupModel) RowCount() int
- func (m *BandLookupModel) SetChecked(index int, checked bool) error
- func (m *BandLookupModel) Sort(col int, order walk.SortOrder) error
- func (m *BandLookupModel) Value(row, col int) interface{}
- type DXClusterModel
- type ModeListModel
- type ModeLookupModel
- func (m *ModeLookupModel) Checked(index int) bool
- func (m *ModeLookupModel) GetModes() []config.Mode
- func (m *ModeLookupModel) Merge(modes []config.Mode)
- func (m *ModeLookupModel) RowCount() int
- func (m *ModeLookupModel) SetChecked(index int, checked bool) error
- func (m *ModeLookupModel) Sort(col int, order walk.SortOrder) error
- func (m *ModeLookupModel) Value(row, col int) interface{}
- type QSOModel
- func (m *QSOModel) ClearSearch()
- func (m *QSOModel) Export()
- func (m *QSOModel) ResetRows()
- func (m *QSOModel) RowCount() int
- func (m *QSOModel) Search(date, time, call, band, mode, rstrcvd, rstsent string)
- func (m *QSOModel) Sort(col int, order walk.SortOrder) error
- func (m *QSOModel) Value(row, col int) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoLogWindow ¶
func GoLogWindow() error
gologWindow creates the main window and begins processing of user input
func MsgInformation ¶
MsgInformation displays dialog to user with non-error information
func NewSourceFileModel ¶
func NewSourceFileModel() *sourceFileModel
func OpenFilePicker ¶
OpenFilePicker presents the open file dialog for the user to choose a file
func OpenFilePickerWithInitialDir ¶
func OpenFilePickerWithInitialDir(parent walk.Form, title, filters string, initialdirpath string) (*string, error)
OpenFilePicker presents the open file dialog for the user to choose a file
func OpenFolderPicker ¶
OpenFolderPicker presents the browse for folder dialog for the user to choose a folder
func OptionsWindow ¶
func OptionsWindow(parent *walk.MainWindow) error
Types ¶
type BandListModel ¶
type BandListModel struct { walk.BindingValueProvider walk.ListModelBase // contains filtered or unexported fields }
func NewBandListModel ¶
func NewBandListModel() *BandListModel
func (*BandListModel) BindingValue ¶
func (m *BandListModel) BindingValue(index int) interface{}
func (*BandListModel) ItemCount ¶
func (m *BandListModel) ItemCount() int
func (*BandListModel) RefreshItems ¶
func (m *BandListModel) RefreshItems()
func (*BandListModel) Value ¶
func (m *BandListModel) Value(index int) interface{}
type BandLookupModel ¶
type BandLookupModel struct { walk.ReflectTableModelBase walk.ItemChecker walk.SorterBase // contains filtered or unexported fields }
func NewBandLookupModel ¶
func NewBandLookupModel() *BandLookupModel
func (*BandLookupModel) Checked ¶
func (m *BandLookupModel) Checked(index int) bool
func (*BandLookupModel) GetBands ¶
func (m *BandLookupModel) GetBands() []config.Band
func (*BandLookupModel) Merge ¶
func (m *BandLookupModel) Merge(bands []config.Band)
func (*BandLookupModel) RowCount ¶
func (m *BandLookupModel) RowCount() int
func (*BandLookupModel) SetChecked ¶
func (m *BandLookupModel) SetChecked(index int, checked bool) error
func (*BandLookupModel) Value ¶
func (m *BandLookupModel) Value(row, col int) interface{}
type DXClusterModel ¶
type DXClusterModel struct { walk.TableModelBase walk.SorterBase // contains filtered or unexported fields }
DXClusterModel is used to display cluster spots in the main windows TableView
func NewDXClusterModel ¶
func NewDXClusterModel() *DXClusterModel
func (*DXClusterModel) ResetRows ¶
func (m *DXClusterModel) ResetRows()
ResetRows loads Spots from the database
func (*DXClusterModel) RowCount ¶
func (m *DXClusterModel) RowCount() int
RowCount is called by the TableView from SetModel and every time the model publishes a RowsReset event
func (*DXClusterModel) Sort ¶
func (m *DXClusterModel) Sort(col int, order walk.SortOrder) error
Sort is called by the TableView to sort the model always sorted by ID so latest spots are on top
func (*DXClusterModel) Value ¶
func (m *DXClusterModel) Value(row, col int) interface{}
Value is called by the TableView when it needs the text to display for a given cell
type ModeListModel ¶
type ModeListModel struct { walk.BindingValueProvider walk.ListModelBase // contains filtered or unexported fields }
func NewModeListModel ¶
func NewModeListModel() *ModeListModel
func (*ModeListModel) BindingValue ¶
func (m *ModeListModel) BindingValue(index int) interface{}
func (*ModeListModel) ItemCount ¶
func (m *ModeListModel) ItemCount() int
func (*ModeListModel) RefreshItems ¶
func (m *ModeListModel) RefreshItems()
func (*ModeListModel) Value ¶
func (m *ModeListModel) Value(index int) interface{}
type ModeLookupModel ¶
type ModeLookupModel struct { walk.ReflectTableModelBase walk.ItemChecker walk.SorterBase // contains filtered or unexported fields }
func NewModeLookupModel ¶
func NewModeLookupModel() *ModeLookupModel
func (*ModeLookupModel) Checked ¶
func (m *ModeLookupModel) Checked(index int) bool
func (*ModeLookupModel) GetModes ¶
func (m *ModeLookupModel) GetModes() []config.Mode
func (*ModeLookupModel) Merge ¶
func (m *ModeLookupModel) Merge(modes []config.Mode)
func (*ModeLookupModel) RowCount ¶
func (m *ModeLookupModel) RowCount() int
func (*ModeLookupModel) SetChecked ¶
func (m *ModeLookupModel) SetChecked(index int, checked bool) error
func (*ModeLookupModel) Value ¶
func (m *ModeLookupModel) Value(row, col int) interface{}
type QSOModel ¶
type QSOModel struct { walk.TableModelBase walk.SorterBase // contains filtered or unexported fields }
QSOModel is used to display QSOs in the main windows TableView
func NewQSOModel ¶
func NewQSOModel() *QSOModel
func (*QSOModel) ClearSearch ¶
func (m *QSOModel) ClearSearch()
ClearSearch clears the selection criteria in the model
func (*QSOModel) Export ¶
func (m *QSOModel) Export()
Export generates an adif with the items in the model
func (*QSOModel) RowCount ¶
RowCount is called by the TableView from SetModel and every time the model publishes a RowsReset event