gui: added icon

This commit is contained in:
2026-06-02 10:52:14 +02:00
parent df60d51efb
commit 44f2a6d0b8
2 changed files with 6 additions and 0 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 51 KiB

+5
View File
@@ -1,6 +1,8 @@
import os
import sys
import traceback
from PySide6 import QtGui
from PySide6.QtCore import QCommandLineParser, QCommandLineOption
from PySide6.QtWidgets import QApplication, QMessageBox
@@ -20,6 +22,9 @@ def main():
app.setApplicationVersion("0.3.1")
app.setOrganizationName("PSI")
app.setOrganizationDomain("psi.ch")
basedir = os.path.dirname(__file__)
icon_path = os.path.join(basedir, "aaregui_logo.svg")
app.setWindowIcon(QtGui.QIcon(icon_path))
# Create the parser
parser = QCommandLineParser()