Home GnuPG

Qt: Add actions to make passphrase visible
49a7ac5209aaUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Qt: Add actions to make passphrase visible

* qt/main.cpp (qt_cmd_handler): Support visibility tooltips.
* qt/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog):
 Add a checkbox or line actions.
 (PinEntryDialog::checkRepeat): Renabed to textChanged.
 (PinEntryDialog::toggleVisibility): New. Toggle echo mode.
* qt/pinentrydialog.h: Update accordingly.

The Action comes in two flavors to avoid having to include new
icons in pinentry (and thus have a text-only fallback) and also
because Qt4 does not support direct line edit actions and I don't
want to raise the requirement to Qt 5.2 yet.

Details

Provenance
aheineckeAuthored on Apr 14 2016, 3:01 PM
Parents
rP15685a9c1471: Add support for visibility string options
Branches
Unknown
Tags
Unknown