Changeset 0ea31ca in sasview for src/sas/guiframe
- Timestamp:
- Mar 18, 2015 11:18:11 AM (10 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.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 2eeca83
- Parents:
- 682c432
- Location:
- src/sas/guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/acknowledgebox.py
rf53cd30 r0ea31ca 9 9 10 10 import wx 11 import wx.richtext 11 12 import wx.lib.hyperlink 12 13 import random … … 44 45 45 46 self.ack = wx.TextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 46 self.ack.SetBackgroundColour(wx.NullColour)47 47 self.ack.SetValue(config._acknowledgement_publications) 48 self.ack.SetMinSize((-1, 60))48 self.ack.SetMinSize((-1,55)) 49 49 self.preamble = wx.StaticText(self, -1, config._acknowledgement_preamble) 50 items = [config._acknowledgement_preamble_bullet1, 51 config._acknowledgement_preamble_bullet2, 52 config._acknowledgement_preamble_bullet3] 53 self.list1 = wx.StaticText(self, -1, "\t(1) " + items[0]) 54 self.list2 = wx.StaticText(self, -1, "\t(2) " + items[1]) 55 self.list3 = wx.StaticText(self, -1, "\t(3) " + items[2]) 50 56 self.static_line = wx.StaticLine(self, 0) 51 52 57 self.__set_properties() 53 58 self.__do_layout() … … 57 62 """ 58 63 # begin wxGlade: DialogAbout.__set_properties 64 self.preamble.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) 65 self.preamble.SetFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) 59 66 self.SetTitle("Acknowledging SasView") 60 self.SetSize((5 00, 225))67 self.SetSize((525, 225)) 61 68 # end wxGlade 62 69 … … 67 74 sizer_main = wx.BoxSizer(wx.VERTICAL) 68 75 sizer_titles = wx.BoxSizer(wx.VERTICAL) 69 sizer_titles.Add(self.preamble, 0, wx.ALL|wx.EXPAND, 0) 70 sizer_titles.Add(self.static_line, 0, wx.EXPAND, 0) 71 sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 0) 76 sizer_titles.Add(self.preamble, 0, wx.ALL|wx.EXPAND, 5) 77 sizer_titles.Add(self.list1, 0, wx.ALL|wx.EXPAND, 5) 78 sizer_titles.Add(self.list2, 0, wx.ALL|wx.EXPAND, 5) 79 sizer_titles.Add(self.list3, 0, wx.ALL|wx.EXPAND, 5) 80 sizer_titles.Add(self.static_line, 0, wx.ALL|wx.EXPAND, 0) 81 sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 5) 72 82 sizer_main.Add(sizer_titles, -1, wx.ALL|wx.EXPAND, 5) 73 83 self.SetAutoLayout(True) -
src/sas/guiframe/config.py
r4bf54044 r0ea31ca 29 29 _do_tutorial = True 30 30 _acknowledgement_preamble =\ 31 '''If you found this software useful to your work please remember to acknowledge 32 its use in your publications as suggested below and reference the SasView website: 33 http://www.sasview.org/. Please also consider letting us know by sending us the 34 reference to your work. This will help us to ensure the long term support and 35 development of the software. 36 ''' 31 '''To ensure the long term support and development of this software please''' +\ 32 ''' remember to do the following.''' 33 _acknowledgement_preamble_bullet1 =\ 34 '''Acknowledge its use in your publications as suggested below''' 35 _acknowledgement_preamble_bullet2 =\ 36 '''Reference the following website: http://www.sasview.org''' 37 _acknowledgement_preamble_bullet3 =\ 38 '''Send us your reference for our records: sansdanse@gmail.com''' 37 39 _acknowledgement_publications = \ 38 '''This work benefited from software developed by the DANSE project under NSF 39 award DMR-0520547 and currently maintained by NIST, UMD, ORNL, ISIS, ESS 40 and ILL. 40 '''This work benefited from the use of the SasView application, originally 41 developed under NSF award DMR-0520547. 41 42 ''' 42 43 _acknowledgement = \ 43 '''This software was developed by the University of Tennessee as part of the44 Distributed Data Analysis of Neutron Scattering Experiments (DANSE) 45 project funded by the US National Science Foundation. 44 '''This work originally developed as part of the DANSE project funded by the NSF 45 under grant DMR-0520547, and currently maintained by NIST, UMD, ORNL, ISIS, ESS 46 and ILL. 46 47 47 48 '''
Note: See TracChangeset
for help on using the changeset viewer.