source: sasview/src/sas/guiframe/config.py @ 8eee1d7

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 8eee1d7 was 0ea31ca, checked in by krzywon, 10 years ago

Changed the version number to 3.1.0and reworked the acknowledge panel
for a better look and feel.

  • Property mode set to 100644
File size: 4.2 KB
Line 
1"""
2Application settings
3"""
4import os
5import time
6from sas.guiframe.gui_style import GUIFRAME
7# Version of the application
8__appname__ = "DummyView"
9__version__ = '0.0.0'
10__build__ = '1'
11__download_page__ = 'http://sourceforge.net/projects/sasview/files/'
12__update_URL__ = ['svn.code.sf.net', 
13                  '/p/sasview/code/trunk/sasview.latestversion']
14
15
16# Debug message flag
17__EVT_DEBUG__ = True
18
19# Flag for automated testing
20__TEST__ = False
21
22# Debug message should be written to a file?
23__EVT_DEBUG_2_FILE__   = False
24__EVT_DEBUG_FILENAME__ = "debug.log"
25
26# About box info
27_do_aboutbox = True
28_do_acknowledge = True
29_do_tutorial = True
30_acknowledgement_preamble =\
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'''
39_acknowledgement_publications = \
40'''This work benefited from the use of the SasView application, originally
41developed under NSF award DMR-0520547.
42'''
43_acknowledgement =  \
44'''This work originally developed as part of the DANSE project funded by the NSF
45under grant DMR-0520547, and currently maintained by NIST, UMD, ORNL, ISIS, ESS
46and ILL.
47
48'''
49_homepage = "http://www.sasview.org"
50_download = "http://sourceforge.net/projects/sasview/files/"
51_authors = []
52_paper = "http://sourceforge.net/p/sasview/tickets/"
53_license = "mailto:help@sasview.org"
54_nsf_logo = "images/nsf_logo.png"
55_danse_logo = "images/danse_logo.png"
56_inst_logo = "images/utlogo.gif"
57_nist_logo = "images/nist_logo.png"
58_umd_logo = "images/umd_logo.png"
59_sns_logo = "images/sns_logo.png"
60_isis_logo = "images/isis_logo.png"
61_ess_logo = "images/ess_logo.png"
62_ill_logo = "images/ill_logo.png"
63_nist_url = "http://www.nist.gov/"
64_umd_url = "http://www.umd.edu/"
65_sns_url = "http://neutrons.ornl.gov/"
66_nsf_url = "http://www.nsf.gov"
67_danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html"
68_inst_url = "http://www.utk.edu"
69_isis_url = "http://www.isis.stfc.ac.uk/"
70_ess_url = "http://ess-scandinavia.eu/"
71_ill_url = "http://www.ill.eu/"
72_corner_image = "images/angles_flat.png"
73_welcome_image = "images/SVwelcome.png"
74_copyright = "(c) 2008, University of Tennessee"
75#edit the lists below of file state your plugin can read
76#for sasview this how you can edit these lists
77#PLUGIN_STATE_EXTENSIONS = ['.prv','.fitv', '.inv']
78#APPLICATION_STATE_EXTENSION = '.svs'
79#PLUGINS_WLIST = ['P(r) files (*.prv)|*.prv',
80#                  'Fitting files (*.fitv)|*.fitv',
81#                  'Invariant files (*.inv)|*.inv']
82#APPLICATION_WLIST = 'SasView files (*.svs)|*.svs'
83APPLICATION_WLIST = ''
84APPLICATION_STATE_EXTENSION = None
85PLUGINS_WLIST = []
86PLUGIN_STATE_EXTENSIONS = []
87SPLASH_SCREEN_PATH = "images/danse_logo.png"     
88DEFAULT_STYLE = GUIFRAME.SINGLE_APPLICATION
89SPLASH_SCREEN_WIDTH = 500
90SPLASH_SCREEN_HEIGHT = 300
91WELCOME_PANEL_ON  = False
92TUTORIAL_PATH = None
93SS_MAX_DISPLAY_TIME = 1500
94PLOPANEL_WIDTH = 350
95PLOPANEL_HEIGTH = 350
96GUIFRAME_WIDTH = 1000
97GUIFRAME_HEIGHT = 800
98CONTROL_WIDTH = -1
99CONTROL_HEIGHT = -1
100SetupIconFile_win = os.path.join("images", "ball.ico")
101SetupIconFile_mac = os.path.join("images", "ball.icns")
102DefaultGroupName = "DANSE"
103OutputBaseFilename = "setupGuiFrame"
104DATAPANEL_WIDTH = 235
105DATAPANEL_HEIGHT = 700
106FIXED_PANEL = True
107DATALOADER_SHOW = True
108CLEANUP_PLOT = False
109WELCOME_PANEL_SHOW = False
110#Show or hide toolbar at the start up
111TOOLBAR_SHOW = True
112# set a default perspective
113DEFAULT_PERSPECTIVE = 'None'
114# OPEN and SAVE project menu
115OPEN_SAVE_PROJECT_MENU = True
116CLEANUP_PLOT = False
117# OPEN and SAVE project menu
118OPEN_SAVE_PROJECT_MENU = False
119#VIEW MENU
120VIEW_MENU = False
121#EDIT MENU
122EDIT_MENU = False
123import wx.lib.newevent
124(StatusBarEvent, EVT_STATUS) = wx.lib.newevent.NewEvent()
125
126def printEVT(message):
127    if __EVT_DEBUG__:
128        print "%g%s" % (time.clock(), message)
129       
130        if __EVT_DEBUG_2_FILE__:
131            out = open(__EVT_DEBUG_FILENAME__, 'a')
132            out.write("%10g%s\n" % (time.clock(), message))
133            out.close()
134           
Note: See TracBrowser for help on using the repository browser.