SomberNight
7 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
3 changed files with
4 additions and
4 deletions
-
gui/qt/installwizard.py
-
gui/qt/password_dialog.py
-
gui/qt/seed_dialog.py
|
|
@ -314,7 +314,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): |
|
|
|
|
|
|
|
def set_icon(self, filename): |
|
|
|
prior_filename, self.icon_filename = self.icon_filename, filename |
|
|
|
self.logo.setPixmap(QPixmap(filename).scaledToWidth(60)) |
|
|
|
self.logo.setPixmap(QPixmap(filename).scaledToWidth(60, mode=Qt.SmoothTransformation)) |
|
|
|
return prior_filename |
|
|
|
|
|
|
|
def set_layout(self, layout, title=None, next_enabled=True): |
|
|
|
|
|
@ -103,7 +103,7 @@ class PasswordLayout(object): |
|
|
|
lockfile = ":icons/lock.png" |
|
|
|
else: |
|
|
|
lockfile = ":icons/unlock.png" |
|
|
|
logo.setPixmap(QPixmap(lockfile).scaledToWidth(36)) |
|
|
|
logo.setPixmap(QPixmap(lockfile).scaledToWidth(36, mode=Qt.SmoothTransformation)) |
|
|
|
|
|
|
|
grid.addWidget(QLabel(msgs[0]), 1, 0) |
|
|
|
grid.addWidget(self.new_pw, 1, 1) |
|
|
@ -198,7 +198,7 @@ class PasswordLayoutForHW(object): |
|
|
|
lockfile = ":icons/lock.png" |
|
|
|
else: |
|
|
|
lockfile = ":icons/unlock.png" |
|
|
|
logo.setPixmap(QPixmap(lockfile).scaledToWidth(36)) |
|
|
|
logo.setPixmap(QPixmap(lockfile).scaledToWidth(36, mode=Qt.SmoothTransformation)) |
|
|
|
|
|
|
|
vbox.addLayout(grid) |
|
|
|
|
|
|
|
|
|
@ -112,7 +112,7 @@ class SeedLayout(QVBoxLayout): |
|
|
|
hbox = QHBoxLayout() |
|
|
|
if icon: |
|
|
|
logo = QLabel() |
|
|
|
logo.setPixmap(QPixmap(":icons/seed.png").scaledToWidth(64)) |
|
|
|
logo.setPixmap(QPixmap(":icons/seed.png").scaledToWidth(64, mode=Qt.SmoothTransformation)) |
|
|
|
logo.setMaximumWidth(60) |
|
|
|
hbox.addWidget(logo) |
|
|
|
hbox.addWidget(self.seed_e) |
|
|
|