trying out another icon
This commit is contained in:
@@ -18,7 +18,7 @@ class AboutDialog(QDialog):
|
|||||||
heading_app_name.setFont(QFont("default", 25))
|
heading_app_name.setFont(QFont("default", 25))
|
||||||
heading_app_name.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByMouse)
|
heading_app_name.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByMouse)
|
||||||
app_icon = QLabel()
|
app_icon = QLabel()
|
||||||
app_icon.setPixmap(QPixmap("icon6.png"))
|
app_icon.setPixmap(QPixmap("icon7.png"))
|
||||||
heading = QWidget(self)
|
heading = QWidget(self)
|
||||||
hbox = QHBoxLayout(heading)
|
hbox = QHBoxLayout(heading)
|
||||||
hbox.addWidget(app_icon)
|
hbox.addWidget(app_icon)
|
||||||
|
|||||||
2
main.py
2
main.py
@@ -156,7 +156,7 @@ def stop_signal(signum, _stackframe):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
app.setWindowIcon(QIcon("icon6.png"))
|
app.setWindowIcon(QIcon("icon7.png"))
|
||||||
|
|
||||||
# translator = QTranslator()
|
# translator = QTranslator()
|
||||||
# if translator.load(QLocale("de"), "messages_de.ts"):
|
# if translator.load(QLocale("de"), "messages_de.ts"):
|
||||||
|
|||||||
Reference in New Issue
Block a user