Commit 5cf69519 authored by Gregor Moenke's avatar Gregor Moenke

the icon

parent e2233615
#### Version 0.8.16
- added the pyBOAT icon
- changed version numbering scheme
#### Version 0.8.1.5
- fixed Fourier spectra crash
......
......@@ -3,7 +3,7 @@
import sys,os
import argparse
__version__ = '0.8.1.5'
__version__ = '0.8.16'
# the object oriented API
from .api import WAnalyzer
......@@ -28,10 +28,24 @@ def main(argv=None):
# scripting is needed..
from PyQt5.QtWidgets import QApplication
from PyQt5.QtGui import QIcon
from PyQt5.QtCore import QSize
from pyboat.ui import start_menu
# --- initialize the Qt App ---
# args get not parsed inside Qt app
app = QApplication(sys.argv)
# add an application icon
abs_path = os.path.dirname(os.path.realpath(__file__))
icon = QIcon()
icon.addFile(abs_path + '/logo_circ128x128.png', QSize(128,128))
app.setWindowIcon(icon)
# -- parse command line arguments ---
parser = argparse.ArgumentParser()
parser.add_argument('--debug', action='store_true')
parser.add_argument('--version', action='version', version='pyBOAT '+__version__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment