Skip to content
Snippets Groups Projects
Commit 359ccf84 authored by Petter Källström's avatar Petter Källström Committed by Petter Källström
Browse files

Now with version numer, and some more links

parent 92078a15
No related branches found
No related tags found
1 merge request!182About window
This commit is part of merge request !182. Comments created here will be created in the context of that merge request.
......@@ -14,6 +14,8 @@ from qtpy.QtWidgets import (
QVBoxLayout,
)
from b_asic._version import __version__
QUESTIONS = {
"Adding operations": (
"Select an operation under 'Special operations' or 'Core operations' "
......@@ -139,8 +141,6 @@ class AboutWindow(QDialog):
# ----------------------
# |3 links |4 OK | <- layout34
version_str = "Magic"
label1 = QLabel(
"# B-ASIC / Better ASIC Toolbox\n*Construct, simulate and analyze"
" components of an ASIC.*\n\nB-ASIC is an open source tool using"
......@@ -148,7 +148,7 @@ class AboutWindow(QDialog):
" ASICs.\n\nB-ASIC is developed under the MIT-license and any"
" extension to the program should follow that same license.\n\nTo"
" read more about how the GUI works please refer to the FAQ under"
f" 'Help'.\n\n*Version: {version_str}*"
f" 'Help'.\n\n*Version: {__version__}*"
)
label1.setTextFormat(Qt.MarkdownText)
label1.setWordWrap(True)
......@@ -160,8 +160,10 @@ class AboutWindow(QDialog):
self.logo2.setFixedWidth(100)
label3 = QLabel(
"""See the <a href="https://da.gitlab-pages.liu.se/B-ASIC/">documentation page</a>"""
""" and the <a href="https://gitlab.liu.se/da/B-ASIC/">git page</a>"""
"""See: <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://www.liu.se/?l=en">liu.se</a>,"""
""" <a href="https://liu.se/organisation/liu/isy/da">Computer Engineering</a>."""
)
label3.setOpenExternalLinks(True)
label3.linkHovered.connect(self.hoverText)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment