4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to show all saved logins. |
7 Module implementing a dialog to show all saved logins. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSlot |
12 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtGui import QDialog, QFont, QFontMetrics, QSortFilterProxyModel |
13 from PyQt4.QtGui import QDialog, QFont, QFontMetrics, QSortFilterProxyModel |
12 |
14 |
13 from E5Gui import E5MessageBox |
15 from E5Gui import E5MessageBox |
23 """ |
25 """ |
24 Constructor |
26 Constructor |
25 |
27 |
26 @param parent reference to the parent widget (QWidget) |
28 @param parent reference to the parent widget (QWidget) |
27 """ |
29 """ |
28 super().__init__(parent) |
30 super(PasswordsDialog, self).__init__(parent) |
29 self.setupUi(self) |
31 self.setupUi(self) |
30 |
32 |
31 self.__showPasswordsText = self.trUtf8("Show Passwords") |
33 self.__showPasswordsText = self.trUtf8("Show Passwords") |
32 self.__hidePasswordsText = self.trUtf8("Hide Passwords") |
34 self.__hidePasswordsText = self.trUtf8("Hide Passwords") |
33 self.passwordsButton.setText(self.__showPasswordsText) |
35 self.passwordsButton.setText(self.__showPasswordsText) |