source: sasview/src/sas/guiframe/config.py @ 1394952

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 1394952 was fd5ac0d, checked in by krzywon, 10 years ago

I have completed the removal of all SANS references.
I will build, run, and run all unit tests before pushing.

  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[41d466f]1"""
[d955bf19]2Application settings
[41d466f]3"""
[8500e2c]4import os
[41d466f]5import time
[79492222]6from sas.guiframe.gui_style import GUIFRAME
[41d466f]7# Version of the application
8__appname__ = "DummyView"
[8182fbb]9__version__ = '0.0.0'
[3f68e93]10__build__ = '1'
[657e52c]11__download_page__ = 'http://sourceforge.net/projects/sasview/files/'
12__update_URL__ = ['svn.code.sf.net', 
[fd5ac0d]13                  '/p/sasview/code/trunk/sasview.latestversion']
[41d466f]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
[eaa85e7]28_do_tutorial = True
[41d466f]29_acknowledgement =  \
30'''This software was developed by the University of Tennessee as part of the
31Distributed Data Analysis of Neutron Scattering Experiments (DANSE)
32project funded by the US National Science Foundation.
33
34'''
[657e52c]35_homepage = "http://www.sasview.org"
36_download = "http://sourceforge.net/projects/sasview/files/"
[41d466f]37_authors = []
[657e52c]38_paper = "http://sourceforge.net/p/sasview/tickets/"
39_license = "mailto:help@sasview.org"
[41d466f]40_nsf_logo = "images/nsf_logo.png"
41_danse_logo = "images/danse_logo.png"
42_inst_logo = "images/utlogo.gif"
[6e48fd0]43_nist_logo = "images/nist_logo.png"
44_umd_logo = "images/umd_logo.png"
45_sns_logo = "images/sns_logo.png"
[657e52c]46_isis_logo = "images/isis_logo.png"
47_ess_logo = "images/ess_logo.png"
48_ill_logo = "images/ill_logo.png"
[6e48fd0]49_nist_url = "http://www.nist.gov/"
50_umd_url = "http://www.umd.edu/"
51_sns_url = "http://neutrons.ornl.gov/"
[41d466f]52_nsf_url = "http://www.nsf.gov"
53_danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html"
54_inst_url = "http://www.utk.edu"
[657e52c]55_isis_url = "http://www.isis.stfc.ac.uk/"
56_ess_url = "http://ess-scandinavia.eu/"
57_ill_url = "http://www.ill.eu/"
[41d466f]58_corner_image = "images/angles_flat.png"
[86340d4]59_welcome_image = "images/SVwelcome.png"
[41d466f]60_copyright = "(c) 2008, University of Tennessee"
[957723f]61#edit the lists below of file state your plugin can read
[fd5ac0d]62#for sasview this how you can edit these lists
[957723f]63#PLUGIN_STATE_EXTENSIONS = ['.prv','.fitv', '.inv']
64#APPLICATION_STATE_EXTENSION = '.svs'
[4c01978]65#PLUGINS_WLIST = ['P(r) files (*.prv)|*.prv',
[957723f]66#                  'Fitting files (*.fitv)|*.fitv',
67#                  'Invariant files (*.inv)|*.inv']
[fd5ac0d]68#APPLICATION_WLIST = 'SasView files (*.svs)|*.svs'
[4c01978]69APPLICATION_WLIST = ''
[957723f]70APPLICATION_STATE_EXTENSION = None
[4c01978]71PLUGINS_WLIST = []
72PLUGIN_STATE_EXTENSIONS = []
[957723f]73SPLASH_SCREEN_PATH = "images/danse_logo.png"     
74DEFAULT_STYLE = GUIFRAME.SINGLE_APPLICATION
75SPLASH_SCREEN_WIDTH = 500
76SPLASH_SCREEN_HEIGHT = 300
[70ecd530]77WELCOME_PANEL_ON  = False
[dcbd4e2c]78TUTORIAL_PATH = None
[49d019c]79SS_MAX_DISPLAY_TIME = 1500
[ea4dfe0]80PLOPANEL_WIDTH = 350
81PLOPANEL_HEIGTH = 350
[957723f]82GUIFRAME_WIDTH = 1000
83GUIFRAME_HEIGHT = 800
[53f9e40]84CONTROL_WIDTH = -1
85CONTROL_HEIGHT = -1
[9cd6872]86SetupIconFile_win = os.path.join("images", "ball.ico")
87SetupIconFile_mac = os.path.join("images", "ball.icns")
[7bf9a8c]88DefaultGroupName = "DANSE"
89OutputBaseFilename = "setupGuiFrame"
[ead432b]90DATAPANEL_WIDTH = 235
91DATAPANEL_HEIGHT = 700
92FIXED_PANEL = True
93DATALOADER_SHOW = True
94CLEANUP_PLOT = False
95WELCOME_PANEL_SHOW = False
96#Show or hide toolbar at the start up
97TOOLBAR_SHOW = True
98# set a default perspective
99DEFAULT_PERSPECTIVE = 'None'
[dcbd4e2c]100# OPEN and SAVE project menu
101OPEN_SAVE_PROJECT_MENU = True
[70ecd530]102CLEANUP_PLOT = False
103# OPEN and SAVE project menu
104OPEN_SAVE_PROJECT_MENU = False
105#VIEW MENU
106VIEW_MENU = False
107#EDIT MENU
108EDIT_MENU = False
[41d466f]109import wx.lib.newevent
110(StatusBarEvent, EVT_STATUS) = wx.lib.newevent.NewEvent()
111
112def printEVT(message):
113    if __EVT_DEBUG__:
114        print "%g%s" % (time.clock(), message)
115       
116        if __EVT_DEBUG_2_FILE__:
117            out = open(__EVT_DEBUG_FILENAME__, 'a')
118            out.write("%10g%s\n" % (time.clock(), message))
119            out.close()
120           
Note: See TracBrowser for help on using the repository browser.