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.
- GnuPG-Bug-ID: T2139