Skip to content
Snippets Groups Projects

About window

Merged Petter Källström requested to merge about_window into master
1 file
+ 7
5
Compare changes
  • Side-by-side
  • Inline
@@ -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)
Loading