E5Gui/E5PasswordMeter.py

changeset 2990
583beaf0b4b8
parent 2953
703452a2876f
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
2989:7efa8b8b6903 2990:583beaf0b4b8
42 " border: 2px solid black;" \ 42 " border: 2px solid black;" \
43 " border-radius: 5px;" \ 43 " border-radius: 5px;" \
44 " text-align: center; }}" \ 44 " text-align: center; }}" \
45 "QProgressBar::chunk:horizontal {{" \ 45 "QProgressBar::chunk:horizontal {{" \
46 " background-color: {0}; }}" 46 " background-color: {0}; }}"
47 self.setStyleSheet(self.__styleSheetTemplate.format(self.__noIndicator)) 47 self.setStyleSheet(
48 self.__styleSheetTemplate.format(self.__noIndicator))
48 49
49 def checkPasswordStrength(self, password): 50 def checkPasswordStrength(self, password):
50 """ 51 """
51 Public slot to check the password strength and update the 52 Public slot to check the password strength and update the
52 progress bar accordingly. 53 progress bar accordingly.

eric ide

mercurial