trying out another icon

This commit is contained in:
2021-10-29 12:36:49 +02:00
parent d4db320e17
commit 029d60fc77
3 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ class AboutDialog(QDialog):
heading_app_name.setFont(QFont("default", 25))
heading_app_name.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByMouse)
app_icon = QLabel()
app_icon.setPixmap(QPixmap("icon6.png"))
app_icon.setPixmap(QPixmap("icon7.png"))
heading = QWidget(self)
hbox = QHBoxLayout(heading)
hbox.addWidget(app_icon)

BIN
icon7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -156,7 +156,7 @@ def stop_signal(signum, _stackframe):
if __name__ == "__main__":
app = QApplication(sys.argv)
app.setWindowIcon(QIcon("icon6.png"))
app.setWindowIcon(QIcon("icon7.png"))
# translator = QTranslator()
# if translator.load(QLocale("de"), "messages_de.ts"):