Changeset 481ff26 in sasview for src/sas/qtgui/AboutBox.py
- Timestamp:
- Jul 4, 2016 5:32:49 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- f0f309d
- Parents:
- f82ab8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/AboutBox.py
rf82ab8c r481ff26 1 # global2 import sys3 import os4 1 import functools 5 6 from PyQt4 import QtCore7 from PyQt4 import QtGui8 from PyQt4 import QtWebKit9 2 10 3 import sas.sasview … … 28 21 """ 29 22 version = sas.sasview.__version__ 30 build = sas.sasview.__build__31 23 32 version_text = r'<html><head/><body><p><span style=" font-size:24pt;">'\33 + str(version) + r'</span></p></body></html>'34 24 self.lblVersion.setText(str(version)) 35 25 lbl_font = self.font() … … 42 32 about_text += '<p>Comments? Bugs? Requests?<br/>' 43 33 about_text += r'<a href=mailto:help@sasview.org>Send us a ticket</a></p><br/>' 44 about_text += r'<a href=https://github.com/SasView/sasview/releases>Get the latest version</a></p><br/>' 34 about_text += r'<a href=' + str(LocalConfig.__download_page__)\ 35 + 'Get the latest version</a></p><br/>' 45 36 self.lblAbout.setText(about_text) 46 37 … … 52 43 Add actions to the logo push buttons 53 44 """ 54 self.cmdLinkUT.clicked.connect(functools.partial(GuiUtils.openLink, LocalConfig._inst_url)) 55 self.cmdLinkUMD.clicked.connect(functools.partial(GuiUtils.openLink, LocalConfig._umd_url)) 56 self.cmdLinkNIST.clicked.connect(functools.partial(GuiUtils.openLink, LocalConfig._nist_url)) 57 self.cmdLinkSNS.clicked.connect(functools.partial(GuiUtils.openLink, LocalConfig._sns_url)) 58 self.cmdLinkISIS.clicked.connect(functools.partial(GuiUtils.openLink, LocalConfig._isis_url)) 59 self.cmdLinkESS.clicked.connect(functools.partial(GuiUtils.openLink, LocalConfig._ess_url)) 60 self.cmdLinkILL.clicked.connect(functools.partial(GuiUtils.openLink, LocalConfig._ill_url)) 45 self.cmdLinkUT.clicked.connect(functools.partial( 46 GuiUtils.openLink, LocalConfig._inst_url)) 47 self.cmdLinkUMD.clicked.connect(functools.partial( 48 GuiUtils.openLink, LocalConfig._umd_url)) 49 self.cmdLinkNIST.clicked.connect(functools.partial( 50 GuiUtils.openLink, LocalConfig._nist_url)) 51 self.cmdLinkSNS.clicked.connect(functools.partial( 52 GuiUtils.openLink, LocalConfig._sns_url)) 53 self.cmdLinkISIS.clicked.connect(functools.partial( 54 GuiUtils.openLink, LocalConfig._isis_url)) 55 self.cmdLinkESS.clicked.connect(functools.partial( 56 GuiUtils.openLink, LocalConfig._ess_url)) 57 self.cmdLinkILL.clicked.connect(functools.partial( 58 GuiUtils.openLink, LocalConfig._ill_url)) 61 59 62 60 self.cmdOK.clicked.connect(self.close)
Note: See TracChangeset
for help on using the changeset viewer.