Skip to content

Commit

Permalink
Merge pull request #2625 from SasView/populate-whats-new-with-last-ve…
Browse files Browse the repository at this point in the history
…rsion

Populate whats new with last version
  • Loading branch information
lucas-wilkins authored Sep 20, 2023
2 parents 6055c37 + 960a6ed commit 26bc71e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sas/qtgui/Utilities/WhatsNew/WhatsNew.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def __init__(self, parent=None):
self.setWindowTitle(f"What's New in SasView {sasview_version}")

self.browser = QTextBrowser()
self.browser.setOpenLinks(True)
self.browser.setOpenExternalLinks(True)

# Layout stuff
self.mainLayout = QVBoxLayout()
Expand All @@ -68,7 +70,9 @@ def __init__(self, parent=None):
self.showAgain = QCheckBox("Show on Startup")
self.showAgain.setChecked(True)

# add a horizontal spacer
self.buttonLayout.addWidget(self.showAgain)
self.buttonLayout.addSpacerItem(QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum))
self.buttonLayout.addWidget(self.closeButton)
self.buttonLayout.addWidget(self.nextButton)

Expand Down
11 changes: 11 additions & 0 deletions src/sas/qtgui/Utilities/WhatsNew/messages/5.0.6/1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>
<head/>
<body>

<h1>
Version 5.0.6
</h1>
<br>
<a href="https://www.sasview.org/docs/user/RELEASE.html#new-in-version-5-0-6">What's New in v5.0.6</a>
</body>
</html>

0 comments on commit 26bc71e

Please sign in to comment.