Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigBridge ¶
type ConfigBridge struct { core.QObject // Models. GameModel *core.QAbstractListModel `property:"games"` // contains filtered or unexported fields }
ConfigBridge is the connection between QML and the Go config.
func NewConfig ¶
func NewConfig(cs config.Service, gm *config.GameModel, configPath string, logger log.Logger) *ConfigBridge
NewConfig returns a new config bridge with all dependencies set up.
func (*ConfigBridge) Connect ¶
func (c *ConfigBridge) Connect()
Connect will connect the QML signals to functions in Go.
type DiabloBridge ¶
type DiabloBridge struct { core.QObject // Models. FileModel *core.QAbstractListModel `property:"patchFiles"` // contains filtered or unexported fields }
DiabloBridge is the connection between QML and Go, it facilitates a way to setup signals that can be interpreted in Go code.
func (*DiabloBridge) Connect ¶
func (b *DiabloBridge) Connect()
Connect will connect the QML signals to functions in Go.
type LadderBridge ¶
type LadderBridge struct { core.QObject // Models. LadderModel *core.QAbstractListModel `property:"characters"` // contains filtered or unexported fields }
LadderBridge is the connection between QML and the ladder model.
func NewLadder ¶
func NewLadder(ls ladder.Service, lm *ladder.TopLadderModel, logger log.Logger) *LadderBridge
NewLadder creates a new ladder bridge with all dependencies set up.
func (*LadderBridge) Connect ¶
func (b *LadderBridge) Connect()
Connect will connect the QML signals to functions in Go.
type NewsBridge ¶
type NewsBridge struct { core.QObject // Models. NewsModel *core.QAbstractListModel `property:"items"` // contains filtered or unexported fields }
NewsBridge is the connection between QML and the news model.
func (*NewsBridge) Connect ¶
func (b *NewsBridge) Connect()
Connect will connect the QML signals to functions in Go.