Skip to content
Snippets Groups Projects
Commit eeee0314 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Update about, fix image path and move logos

parent e9d6f98c
No related branches found
No related tags found
1 merge request!191Update about, fix image path and move logos
Pipeline #89720 passed
This commit is part of merge request !191. Comments created here will be created in the context of that merge request.
<img src="logo.png" width="278" height="100"> <img src="logos/logo.png" width="278" height="100">
# B-ASIC - Better ASIC Toolbox # B-ASIC - Better ASIC Toolbox
......
import pathlib
import sys # ONLY FOR DEBUG import sys # ONLY FOR DEBUG
from qtpy.QtCore import Qt from qtpy.QtCore import Qt
...@@ -43,13 +44,18 @@ class AboutWindow(QDialog): ...@@ -43,13 +44,18 @@ class AboutWindow(QDialog):
# |3 links |4 OK | <- layout34 # |3 links |4 OK | <- layout34
label1 = QLabel( label1 = QLabel(
"# B-ASIC / Better ASIC Toolbox\n*Construct, simulate and analyze" "# B-ASIC\n__Better ASIC and FPGA Signal Processing"
" components of an ASIC.*\n\nB-ASIC is an open source tool using" " Toolbox__\n\n*Construct, simulate and analyze signal processing"
" the B-ASIC library to construct, simulate and analyze" " algorithms aimed at implementation on an ASIC or"
" ASICs.\n\nB-ASIC is developed under the MIT-license and any" " FPGA.*\n\nB-ASIC is developed by the <a"
" extension to the program should follow that same license.\n\nTo" " href=\"https://liu.se/en/organisation/liu/isy/da\">Division of"
" read more about how the GUI works please refer to the FAQ under" " Computer Engineering</a> at <a"
f" 'Help'.\n\n*Version: {__version__}*" " href=\"https://liu.se/?l=en\">Linköping University</a>,"
" Sweden.\n\nB-ASIC is released under the <a"
" href=\"https://gitlab.liu.se/da/B-ASIC/-/blob/master/LICENSE\">MIT-license</a>"
" and any extension to the program should follow that same"
f" license.\n\n*Version: {__version__}*\n\nCopyright 2020-2023,"
" Oscar Gustafsson et al."
) )
label1.setTextFormat(Qt.MarkdownText) label1.setTextFormat(Qt.MarkdownText)
label1.setWordWrap(True) label1.setWordWrap(True)
...@@ -58,15 +64,17 @@ class AboutWindow(QDialog): ...@@ -58,15 +64,17 @@ class AboutWindow(QDialog):
self.logo2 = QLabel(self) self.logo2 = QLabel(self)
self.logo2.setPixmap( self.logo2.setPixmap(
QPixmap("../../small_logo.png").scaledToWidth(100) QPixmap(
str(pathlib.Path(__file__).parent.resolve())
+ "/../../logos/small_logo.png"
).scaledToWidth(100)
) )
self.logo2.setFixedWidth(100) self.logo2.setFixedWidth(100)
label3 = QLabel( label3 = QLabel(
"""See: <a href="https://da.gitlab-pages.liu.se/B-ASIC/">documentation</a>,""" """Additional resources: <a href="https://da.gitlab-pages.liu.se/B-ASIC/">documentation</a>,"""
""" <a href="https://gitlab.liu.se/da/B-ASIC/">git</a>,""" """ <a href="https://gitlab.liu.se/da/B-ASIC/">git repository</a>,"""
""" <a href="https://www.liu.se/?l=en">liu.se</a>,""" """ <a href="https://gitlab.liu.se/da/B-ASIC/-/issues">report issues and suggestions</a>."""
""" <a href="https://liu.se/organisation/liu/isy/da">Computer Engineering</a>."""
) )
label3.setOpenExternalLinks(True) label3.setOpenExternalLinks(True)
label3.linkHovered.connect(self.hoverText) label3.linkHovered.connect(self.hoverText)
......
...@@ -10,7 +10,7 @@ import shutil ...@@ -10,7 +10,7 @@ import shutil
project = 'B-ASIC' project = 'B-ASIC'
copyright = '2020-2023, Oscar Gustafsson et al' copyright = '2020-2023, Oscar Gustafsson et al'
author = 'Oscar Gustafsson et al' author = 'Oscar Gustafsson et al'
html_logo = "../logo_tiny.png" html_logo = "../logos/logo_tiny.png"
pygments_style = 'sphinx' pygments_style = 'sphinx'
......
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment