common

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package common provides GUI helpers, such as dialog boxes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PasswordDialog

func PasswordDialog(callback func(err error, pwd string))

PasswordDialog checks the current private key for any passphrase. If the key is protected, it spawns an inputDialog window to ask the user's passphrase, and then calls the callback function with the result.

The callback is always called, even when an error occurs.

func ShowMsgBox

func ShowMsgBox(content string, critical bool)

ShowMsgBox pops a new Qt Msg Box containing the appropriate message regarding the critical flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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