diff --git a/b_asic/GUI/about_window.py b/b_asic/GUI/about_window.py index 2d15775e60954e7f94ff7d7a29a5f3f04f83b7a6..0125715d5fc0b1f4557a45fcae1f310ff1217f2d 100644 --- a/b_asic/GUI/about_window.py +++ b/b_asic/GUI/about_window.py @@ -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)