mqt

package
v0.0.0-...-b135ab3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Accept = -5

Accept ...

View Source
var Cancel = -6

Cancel ...

Functions

func AboutDialog

func AboutDialog(title, text string, parent *widgets.QMainWindow)

Menu Help

func AccessKeyDialog

func AccessKeyDialog(title, head string, win *widgets.QMainWindow) (int, string)

AccessKeyDialog ask for a password or access key.

func DialogEntries

func DialogEntries(title, head string, entryLabels, entryTexts []string,
	visibles []bool, win *widgets.QMainWindow) (int, []string)

DialogEntries for multiple entries

func DialogEntry

func DialogEntry(title, head, entryLabel, entryPre string,
	visible bool, win *widgets.QMainWindow) (int, string)

DialogEntry for an entry alone

func DialogTwoLabels

func DialogTwoLabels(title, text1, text2 string, win *widgets.QMainWindow)

DialogTwoLabels for two labels

func FileDialogForOpen

func FileDialogForOpen(parent widgets.QWidget_ITF, caption, dir, filter string) (int, string)

FileDialogForOpen returns a file path selected from of a dialog

func FileDialogForSave

func FileDialogForSave(parent widgets.QWidget_ITF, caption, dir, filter string) (int, string)

FileDialogForSave returns a file path selected from of a dialog

func MessageIWE

func MessageIWE(w, h int, class, title, msg, info string, win *widgets.QMainWindow)

Message IWE, for Info, Warning, Error, "", dialogs

func MessageIWED

func MessageIWED(w, h int, class, title, msg, info string, win *widgets.QDialog)

MessageIWED ...

func MessageQuestion

func MessageQuestion(w, h int, title, mess string, win *widgets.QMainWindow) int

MessageQuestion dialog

func OSKeyModifiers

func OSKeyModifiers() (int, int, int, int, int)

OSKeyModifiers changes modif keys meaning to accomodate to macos systems.

func SetLanguage

func SetLanguage(lng string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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