Home » U++ Library support » U++ Widgets - General questions or Mixed problems » [Proposal] EditSecret dialogs (EditText variants), for password, etc input..
[Proposal] EditSecret dialogs (EditText variants), for password, etc input.. [message #53728] |
Fri, 24 April 2020 20:55 |
Oblivion
Messages: 1092 Registered: August 2007
|
Senior Contributor |
|
|
Hello, I've attached some functions that I think might be useful for handling paswords, passphrases, etc.
They are called EditSecret and EditSecretNotNull.
I propose adding these to U++ (either to CtrlLib, alongside EditText, or Bazaar).
The functions are based on the code of EditText and its variants.
Highlights are:
- QTF based.
- The dialog size is automatically adjusted to text size if there is an "instruction" text to display.
- Being qtf-based, it can display any qtf element, image, hyperlink or plain text. (Useful for redirecting user to help pages, etc...
- Has a nice, built-in "eye-shaped" password visibility toggle.
Attached file is both the code for above mentioned functions and a small example.
If you consider it a useful add on, or find any flaws in it, or that it needs more polish, let me know.
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Fri, 24 April 2020 21:07] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Apr 24 01:57:31 CEST 2024
Total time taken to generate the page: 0.02588 seconds
|