Versions in this module Expand all Collapse all v2 v2.0.1 Apr 26, 2023 Changes in this version + const QS_frequencyTable + const QS_mainSplitter + func ConfigFont() *gui.QFont + func LoadConfig() bool + func LoadHistory() error + func NewPNGIconTextButton(label string, imageName string) *widgets.QPushButton + func OpenConfig() + func PathFromUnix(pathStr string) string + func Run() + func SaveHistory() + type Application struct + func (app *Application) LoadUserStyle() + func (app *Application) ReloadConfig() + func (app *Application) ReloadFont() + func (app *Application) ReloadUserStyle() + func (app *Application) Run() + type ArticleView struct + func NewArticleView(app *Application) *ArticleView + func (view *ArticleView) KeyPressEventDefault(event gui.QKeyEvent_ITF) + func (view *ArticleView) SetResult(res common.SearchResultIface) + func (view *ArticleView) SetupCustomHandlers() + func (view *ArticleView) ZoomIn(ran int) + func (view *ArticleView) ZoomOut(ran int) + type AudioCache struct + func NewAudioCache() *AudioCache + func (c *AudioCache) Get(urlStr string) (*core.QUrl, error) + func (c *AudioCache) ReloadConfig() + type HeaderLabel struct + func CreateHeaderLabel(app *Application) *HeaderLabel + func (label *HeaderLabel) ReloadConfig() + func (label *HeaderLabel) SetResult(res common.SearchResultIface) + func (label *HeaderLabel) SetText(text string) + type HeaderTemplateInput struct + DictName string + Score uint8 + Term string + Terms []string + type HistoryView struct + func NewHistoryView() *HistoryView + func (view *HistoryView) AddHistory(query string) + func (view *HistoryView) AddHistoryList(list []string) + func (view *HistoryView) ClearHistory() + func (view *HistoryView) SetupCustomHandlers() + func (view *HistoryView) TrimHistory(maxSize int) + type KeyPressIface interface + ConnectKeyPressEvent func(func(event *gui.QKeyEvent)) + KeyPressEventDefault func(event gui.QKeyEvent_ITF) + type QueryArgs struct + ArticleView *ArticleView + Entry *widgets.QLineEdit + HeaderLabel *HeaderLabel + HistoryView *HistoryView + ModeCombo *widgets.QComboBox + PostQuery func(string) + ResultList *ResultListWidget + func (w *QueryArgs) AddHistoryAndFrequency(query string) + func (w *QueryArgs) ResetQuery() + func (w *QueryArgs) SetNoResult(query string) + type ResultListWidget struct + Active common.SearchResultIface + ArticleView *ArticleView + HeaderLabel *HeaderLabel + func NewResultListWidget(articleView *ArticleView, headerLabel *HeaderLabel, ...) *ResultListWidget + func (w *ResultListWidget) Clear() + func (w *ResultListWidget) OnActivate(row int) + func (w *ResultListWidget) SetResults(results []common.SearchResultIface) Other modules containing this package github.com/ilius/ayandict