Changeset 1779e72 in sasview
- Timestamp:
- Apr 4, 2017 10:27:56 AM (8 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 7b15990, dd11014
- Parents:
- 7b7ec05
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/local_config.py
rf9d1f60 r1779e72 46 46 47 47 _acknowledgement = \ 48 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547,\n but is currently maintained by a collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO and TU Delftand the scattering community.\n\n SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project (Grant No 654000).\nA list of individual contributors can be found at: https://github.com/orgs/SasView/people48 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547,\n but is currently maintained by a collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, DLS, and the scattering community.\n\n SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project (Grant No 654000).\nA list of individual contributors can be found at: https://github.com/orgs/SasView/people 49 49 ''' 50 50 … … 70 70 _ansto_logo = os.path.join(icon_path, "ansto_logo.png") 71 71 _tudelft_logo = os.path.join(icon_path, "tudelft_logo.png") 72 _dls_logo = os.path.join(icon_path, "dls_logo.png") 72 73 _nsf_logo = os.path.join(icon_path, "nsf_logo.png") 73 74 _danse_logo = os.path.join(icon_path, "danse_logo.png") … … 83 84 _ansto_url = "http://www.ansto.gov.au/" 84 85 _tudelft_url = "http://www.tnw.tudelft.nl/en/cooperation/facilities/reactor-instituut-delft/" 86 _dls_url = "http://www.diamond.ac.uk/" 85 87 _danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html" 86 88 _inst_url = "http://www.utk.edu" 87 89 _corner_image = os.path.join(icon_path, "angles_flat.png") 88 90 _welcome_image = os.path.join(icon_path, "SVwelcome.png") 89 _copyright = "(c) 2009 - 2017, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO and TU Delft"91 _copyright = "(c) 2009 - 2017, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft and DLS" 90 92 marketplace_url = "http://marketplace.sasview.org/" 91 93 -
src/sas/sasgui/guiframe/aboutbox.py
r49e000b r1779e72 118 118 self.bitmap_button_ansto = wx.BitmapButton(self, -1, wx.NullBitmap) 119 119 self.bitmap_button_tudelft = wx.BitmapButton(self, -1, wx.NullBitmap) 120 self.bitmap_button_dls = wx.BitmapButton(self, -1, wx.NullBitmap) 120 121 121 122 self.static_line_3 = wx.StaticLine(self, -1) … … 137 138 self.Bind(wx.EVT_BUTTON, self.onAnstoLogo, self.bitmap_button_ansto) 138 139 self.Bind(wx.EVT_BUTTON, self.onTudelftLogo, self.bitmap_button_tudelft) 140 self.Bind(wx.EVT_BUTTON, self.onDlsLogo, self.bitmap_button_dls) 139 141 # end wxGlade 140 142 # fill in acknowledgements … … 229 231 logo = wx.Bitmap(image) 230 232 self.bitmap_button_tudelft.SetBitmapLabel(logo) 233 234 image = file_dir + "/images/dls_logo.png" 235 if os.path.isfile(config._dls_logo): 236 image = config._dls_logo 237 logo = wx.Bitmap(image) 238 self.bitmap_button_dls.SetBitmapLabel(logo) 231 239 232 240 # resize dialog window to fit version number nicely … … 260 268 self.bitmap_button_ansto.SetSize(self.bitmap_button_ansto.GetBestSize()) 261 269 self.bitmap_button_tudelft.SetSize(self.bitmap_button_tudelft.GetBestSize()) 270 self.bitmap_button_dls.SetSize(self.bitmap_button_dls.GetBestSize()) 262 271 # end wxGlade 263 272 … … 325 334 sizer_logos.Add(self.bitmap_button_tudelft, 0, 326 335 wx.LEFT|wx.ADJUST_MINSIZE, 2) 336 sizer_logos.Add(self.bitmap_button_dls, 0, 337 wx.LEFT|wx.ADJUST_MINSIZE, 2) 327 338 328 339 sizer_logos.Add((10, 50), 0, wx.ADJUST_MINSIZE, 0) … … 423 434 event.Skip() 424 435 436 def onDlsLogo(self, event): 437 """ 438 """ 439 # wxGlade: DialogAbout.<event_handler> 440 launchBrowser(config._dls_url) 441 event.Skip() 442 425 443 # end of class DialogAbout 426 444 -
src/sas/sasgui/guiframe/config.py
rf9d1f60 r1779e72 46 46 47 47 _acknowledgement = \ 48 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547,\n but is currently maintained by a collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO and TU Delftand the scattering community.\n\n SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project (Grant No 654000).\nA list of individual contributors can be found at: https://github.com/orgs/SasView/people48 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547,\n but is currently maintained by a collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, DLS, and the scattering community.\n\n SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project (Grant No 654000).\nA list of individual contributors can be found at: https://github.com/orgs/SasView/people 49 49 ''' 50 50 … … 83 83 _ansto_url = "http://www.ansto.gov.au/" 84 84 _tudelft_url = "http://www.tnw.tudelft.nl/en/cooperation/facilities/reactor-instituut-delft/" 85 _dls_url = "http://www.diamond.ac.uk/" 85 86 _danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html" 86 87 _inst_url = "http://www.utk.edu" 87 88 _corner_image = os.path.join(icon_path, "angles_flat.png") 88 89 _welcome_image = os.path.join(icon_path, "SVwelcome.png") 89 _copyright = "(c) 2009 - 2017, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO and TU Delft"90 _copyright = "(c) 2009 - 2017, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, and DLS" 90 91 marketplace_url = "http://marketplace.sasview.org/" 91 92
Note: See TracChangeset
for help on using the changeset viewer.