qdictmgr

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QS_dictManager = "dict_manager"
)

Variables

This section is empty.

Functions

func InitDicts

func InitDicts(conf *config.Config, popup bool)

Types

type DictFlagsCheckboxes

type DictFlagsCheckboxes struct {
	*widgets.QWidget
	// contains filtered or unexported fields
}

func NewDictFlagsCheckboxes

func NewDictFlagsCheckboxes(hide func()) *DictFlagsCheckboxes

func (*DictFlagsCheckboxes) SetActiveDictSetting

func (w *DictFlagsCheckboxes) SetActiveDictSetting(ds *dicts.DictionarySettings)

type DictManager

type DictManager struct {
	Dialog      *widgets.QDialog
	TableWidget *widgets.QTableWidget
	VolumeInput *widgets.QSpinBox
	TextWidgets []qtcommon.HasSetFont
	// contains filtered or unexported fields
}

func NewDictManager

func NewDictManager(
	app *widgets.QApplication,
	parent widgets.QWidget_ITF,
	conf *config.Config,
) *DictManager

TODO: break down

func (*DictManager) Run

func (dm *DictManager) Run() bool

Run shows the dialog, if it Cancel was clicked it returns false if OK was clicked, then applies and saves changes and returs true

Jump to

Keyboard shortcuts

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