gui: added icon
This commit is contained in:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 51 KiB |
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user