Changeset 1b4cb41 in sasview for src/sas/sasgui/guiframe
- Timestamp:
- Sep 28, 2018 12:08:27 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 3d72901, e9920cd
- Parents:
- 94ce044
- Location:
- src/sas/sasgui/guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/aboutbox.py
rb963b20 r1b4cb41 108 108 self.bitmap_button_tudelft = wx.BitmapButton(self, -1, wx.NullBitmap) 109 109 self.bitmap_button_dls = wx.BitmapButton(self, -1, wx.NullBitmap) 110 self.bitmap_button_bam = wx.BitmapButton(self, -1, wx.NullBitmap) 110 111 111 112 self.static_line_3 = wx.StaticLine(self, -1) … … 128 129 self.Bind(wx.EVT_BUTTON, self.onTudelftLogo, self.bitmap_button_tudelft) 129 130 self.Bind(wx.EVT_BUTTON, self.onDlsLogo, self.bitmap_button_dls) 131 self.Bind(wx.EVT_BUTTON, self.onBamLogo, self.bitmap_button_bam) 130 132 # end wxGlade 131 133 # fill in acknowledgements … … 226 228 logo = wx.Bitmap(image) 227 229 self.bitmap_button_dls.SetBitmapLabel(logo) 230 231 image = file_dir + "/images/bam_logo.png" 232 if os.path.isfile(config._bam_logo): 233 image = config._bam_logo 234 logo = wx.Bitmap(image) 235 self.bitmap_button_bam.SetBitmapLabel(logo) 228 236 229 237 # resize dialog window to fit version number nicely … … 258 266 self.bitmap_button_tudelft.SetSize(self.bitmap_button_tudelft.GetBestSize()) 259 267 self.bitmap_button_dls.SetSize(self.bitmap_button_dls.GetBestSize()) 268 self.bitmap_button_bam.SetSize(self.bitmap_button_bam.GetBestSize()) 260 269 # end wxGlade 261 270 … … 325 334 sizer_logos.Add(self.bitmap_button_dls, 0, 326 335 wx.LEFT|wx.ADJUST_MINSIZE, 2) 336 sizer_logos.Add(self.bitmap_button_bam, 0, 337 wx.LEFT|wx.ADJUST_MINSIZE, 2) 327 338 328 339 sizer_logos.Add((10, 50), 0, wx.ADJUST_MINSIZE, 0) … … 430 441 event.Skip() 431 442 443 def onBamLogo(self, event): 444 """ 445 """ 446 # wxGlade: DialogAbout.<event_handler> 447 launchBrowser(config._bam_url) 448 event.Skip() 449 432 450 # end of class DialogAbout 433 451 -
src/sas/sasgui/guiframe/config.py
r8ac05a5 r1b4cb41 51 51 '''M. Doucet et al. SasView Version 4.1.2, Zenodo, 10.5281/zenodo.825675''' 52 52 _acknowledgement = \ 53 '''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: http://www.sasview.org/contact.html53 '''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, BAM 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: http://www.sasview.org/contact.html 54 54 ''' 55 55 … … 90 90 _tudelft_url = "http://www.tnw.tudelft.nl/en/cooperation/facilities/reactor-instituut-delft/" 91 91 _dls_url = "http://www.diamond.ac.uk/" 92 _bam_url = "http://www.bam.de/" 92 93 _danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html" 93 94 _inst_url = "http://www.utk.edu" 94 95 _corner_image = os.path.join(icon_path, "angles_flat.png") 95 96 _welcome_image = os.path.join(icon_path, "SVwelcome.png") 96 _copyright = "(c) 2009 - 2018, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, and DLS"97 _copyright = "(c) 2009 - 2018, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO, TU Delft, DLS and BAM" 97 98 marketplace_url = "http://marketplace.sasview.org/" 98 99
Note: See TracChangeset
for help on using the changeset viewer.