Changeset d8161f2 in sasview


Ignore:
Timestamp:
Mar 25, 2017 3:56:07 PM (7 years ago)
Author:
ajj
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
e11ee1d
Parents:
29e2665
Message:

Fixing up the acknowledgment box

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasview/local_config.py

    r1d310bb rd8161f2  
    3333''' remember to:''' 
    3434_acknowledgement_preamble_bullet1 =\ 
    35 '''Acknowledge its use in your publications as suggested below;''' 
     35'''Acknowledge its use in your publications as :''' 
    3636_acknowledgement_preamble_bullet2 =\ 
    37 '''Reference SasView as : M. Doucet, et al. SasView Version 4.1, Zenodo''' +\ 
    38 ''', 10.5281/zenodo.438138;''' 
     37'''Reference SasView as:''' 
    3938_acknowledgement_preamble_bullet3 =\ 
    40 '''Reference the model you used if appropriate (see documentation for refs);''' 
     39'''Reference the model you used if appropriate (see documentation for refs)''' 
    4140_acknowledgement_preamble_bullet4 =\ 
    4241'''Send us your reference for our records: developers@sasview.org''' 
    4342_acknowledgement_publications = \ 
    44 '''This work benefited from the use of the SasView application, originally developed under NSF Award  
    45 DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme  
    46 under the SINE2020 project Grant No 654000.''' 
     43'''This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.''' 
     44_acknowledgement_citation = \ 
     45'''M. Doucet et al. SasView Version 4.1, Zenodo, 10.5281/zenodo.438138''' 
    4746 
    4847_acknowledgement =  \ 
    49 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547, but is currently maintained  
    50 by a collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO and TU Delft and the scattering community. SasView also contains code developed with funding from the  
    51 EU Horizon 2020 programme under the SINE2020 project (Grant No 654000). 
    52  
    53 A list of individual contributors can be found at: https://github.com/orgs/SasView/people 
     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 Delft 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 
    5449''' 
    5550 
  • src/sas/sasgui/guiframe/acknowledgebox.py

    rc1fdf84 rd8161f2  
    1111import wx.richtext 
    1212import wx.lib.hyperlink 
     13from wx.lib.expando import ExpandoTextCtrl 
    1314import random 
    1415import os.path 
     
    4445        wx.Dialog.__init__(self, *args, **kwds) 
    4546 
    46         self.ack = wx.TextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 
     47        self.ack = ExpandoTextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 
    4748        self.ack.SetValue(config._acknowledgement_publications) 
    48         self.ack.SetMinSize((-1, 55)) 
     49        #self.ack.SetMinSize((-1, 55)) 
     50        self.citation = ExpandoTextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 
     51        self.citation.SetValue(config._acknowledgement_citation) 
    4952        self.preamble = wx.StaticText(self, -1, config._acknowledgement_preamble) 
    5053        items = [config._acknowledgement_preamble_bullet1, 
     
    8184        sizer_titles.Add(self.preamble, 0, wx.ALL|wx.EXPAND, 5) 
    8285        sizer_titles.Add(self.list1, 0, wx.ALL|wx.EXPAND, 5) 
     86        sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 5) 
    8387        sizer_titles.Add(self.list2, 0, wx.ALL|wx.EXPAND, 5) 
     88        sizer_titles.Add(self.citation, 0, wx.ALL|wx.EXPAND, 5) 
    8489        sizer_titles.Add(self.list3, 0, wx.ALL|wx.EXPAND, 5) 
     90        #sizer_titles.Add(self.static_line, 0, wx.ALL|wx.EXPAND, 0) 
    8591        sizer_titles.Add(self.list4, 0, wx.ALL|wx.EXPAND, 5) 
    86         sizer_titles.Add(self.static_line, 0, wx.ALL|wx.EXPAND, 0) 
    87         sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 5) 
    8892        sizer_main.Add(sizer_titles, -1, wx.ALL|wx.EXPAND, 5) 
    8993        self.SetAutoLayout(True) 
Note: See TracChangeset for help on using the changeset viewer.