Changeset 68c53a4 in sasview for sansview/local_config.py


Ignore:
Timestamp:
Mar 25, 2011 10:39:51 AM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
cc835cd8
Parents:
3e943e8
Message:

working on local config of sansview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/local_config.py

    rb9b9930 r68c53a4  
    33""" 
    44import time 
    5  
     5import os 
     6from sans.guiframe.gui_style import GUIFRAME 
    67# Version of the application 
    78__appname__ = "SansView" 
     
    4445_welcome_image = "images/SVwelcome.png" 
    4546_copyright = "(c) 2009, University of Tennessee" 
     47#edit the list of file state your plugin can read 
     48PLUGIN_STATE_EXTENSIONS = ['.prv','.fitv', '.inv'] 
     49APPLICATION_STATE_EXTENSION = '.svs' 
     50# 
     51WLIST = ['SansView files (*.svs)|*.svs', 
     52                  'P(r) files (*.prv)|*.prv', 
     53                  'Fitting files (*.fitv)|*.fitv', 
     54                  'Invariant files (*.inv)|*.inv'] 
     55 
     56SPLASH_SCREEN_PATH = os.path.join("images","SVwelcome.png") 
     57DEFAULT_STYLE = GUIFRAME.MULTIPLE_APPLICATIONS|GUIFRAME.TOOL_ON 
     58SPLASH_SCREEN_WIDTH = 500 
     59SPLASH_SCREEN_HEIGHT = 300 
     60SS_MAX_DISPLAY_TIME = 3000 #3 sec 
     61PLOPANEL_WIDTH = 400 
     62PLOPANEL_HEIGTH = 400 
     63GUIFRAME_WIDTH = 1000 
     64GUIFRAME_HEIGHT = 800 
    4665 
    4766def printEVT(message): 
Note: See TracChangeset for help on using the changeset viewer.