I have written a program calculating a quality index for a password. For this, I need to know how many characters are available in each group of characters (lowercase letter, uppercase letter, arabic numerals, others (punctuation, symbols, spaces)).
How can I achieve this?
QLocale::language() and QLocale::country() are giving the ground information.
Now, if I do not want to precompute for each language the number of characters belonging to each group as defined above, I should be able to "scan" the keyboard.
To do that, I would need to know how the physical keys are mapped into software event through the keyboard driver. Is that information available? and if yes, how to access it?
May be somebody has another idea how to achieve the task!
Thank you for your valuable time
Alain
Bookmarks