source: sasview/calculatorview/local_config.py @ 6d52f21d

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 6d52f21d was ed94228, checked in by Jae Cho <jhjcho@…>, 13 years ago

fixed some conflicting w/ gui-updates

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[3be3a80]1"""
2    Application settings
3"""
4import time
[ad01b7c4]5import os
6from sans.guiframe.gui_style import GUIFRAME
[3be3a80]7# Version of the application
8__appname__ = "SansViewTool"
[ad01b7c4]9__version__ = '0.9.2dev'
[3be3a80]10__download_page__ = 'http://danse.chem.utk.edu'
11#__update_URL__ = 'http://danse.chem.utk.edu/sansview_version.php'
12
13
14# Debug message flag
15__EVT_DEBUG__ = False
16
17# Flag for automated testing
18__TEST__ = False
19
20# Debug message should be written to a file?
21__EVT_DEBUG_2_FILE__   = False
22__EVT_DEBUG_FILENAME__ = "debug.log"
23
24# About box info
25_do_aboutbox=True
[ad01b7c4]26_do_tutorial = False
[3be3a80]27_acknowledgement =  \
28'''This software was developed by the University of Tennessee as part of the
29Distributed Data Analysis of Neutron Scattering Experiments (DANSE)
30project funded by the US National Science Foundation.
31
32'''
33_homepage = "http://danse.chem.utk.edu"
34_download = "http://danse.chem.utk.edu/sansview.html"
35_authors = []
36_paper = "http://danse.us/trac/sans/newticket"
37_license = "mailto:sansdanse@gmail.com"
38
[ed94228]39_nsf_logo = "images/icons/nsf_logo.png"
40_danse_logo = "images/icons/danse_logo.png"
41_inst_logo = "images/icons/utlogo.gif"
[3be3a80]42_nsf_url = "http://www.nsf.gov"
43_danse_url = "http://www.cacr.caltech.edu/projects/danse/release/index.html"
44_inst_url = "http://www.utk.edu"
[ed94228]45_corner_image = "images/icons/angles_flat.png"
46_welcome_image = "images/icons/SVwelcome.png"
[3be3a80]47_copyright = "(c) 2009, University of Tennessee"
48
[ad01b7c4]49
50#edit the list of file state your plugin can read
51APPLICATION_WLIST = ''
[ed94228]52APPLICATION_STATE_EXTENSION = None
[ad01b7c4]53GUIFRAME_WIDTH = 300
54GUIFRAME_HEIGHT = 200
55PLUGIN_STATE_EXTENSIONS = []
56PLUGINS_WLIST = []
57PLOPANEL_WIDTH = 415
58PLOPANEL_HEIGTH = 370
59DATAPANEL_WIDTH = 235
60DATAPANEL_HEIGHT = 700
[ed94228]61SPLASH_SCREEN_PATH = os.path.join("images","icons","SVwelcome_mini.png")
[ad01b7c4]62TUTORIAL_PATH = os.path.join("media","Tutorial.pdf")
63DEFAULT_STYLE = GUIFRAME.CALCULATOR_ON
64SPLASH_SCREEN_WIDTH = 512
65SPLASH_SCREEN_HEIGHT = 366
66SS_MAX_DISPLAY_TIME = 6000 #6 sec
[8e3dc19]67WELCOME_PANEL_ON  = False
[ad01b7c4]68CLEANUP_PLOT = False
[ed94228]69SetupIconFile_win = os.path.join("images","icons", "ball.ico")
70SetupIconFile_mac = os.path.join("images","icons", "ball.icns")
[ad01b7c4]71DefaultGroupName = "DANSE"
72OutputBaseFilename = "setupSansViewTool"
73DATAPANEL_WIDTH = 235
74FIXED_PANEL = True
75DATALOADER_SHOW = False
76CLEANUP_PLOT = False
77WELCOME_PANEL_SHOW = False
78#Open Save project menu
79OPEN_SAVE_PROJECT_MENU = False
[83a0940]80#VIEW MENU
81VIEW_MENU = False
82#EDIT MENU
83EDIT_MENU = False
[ad01b7c4]84#Show or hide toolbar at the start up
85TOOLBAR_SHOW = False
86# set a default perspective
87DEFAULT_PERSPECTIVE = 'None'
88
[3be3a80]89def printEVT(message):
90    if __EVT_DEBUG__:
91        print "%g%s" % (time.clock(), message)
92       
93        if __EVT_DEBUG_2_FILE__:
94            out = open(__EVT_DEBUG_FILENAME__, 'a')
95            out.write("%10g%s\n" % (time.clock(), message))
96            out.close()
97           
Note: See TracBrowser for help on using the repository browser.