Handle SETQUALITYBAR and SETQUALITYBAR_TT in pinentry.py.