Changeset 68c53a4 in sasview


Ignore:
Timestamp:
Mar 25, 2011 8:39:51 AM (14 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

Location:
sansview
Files:
2 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): 
  • sansview/sansview.py

    ra07e72f r68c53a4  
    3636    """ 
    3737    """ 
    38     SIZE = (APP_WIDTH, APP_HEIGHT) 
    39     TITLE = local_config.__appname__ 
    40     PROG_SPLASH_PATH = os.path.join("images","SVwelcome.png") 
    41     STYLE = GSTYLE 
     38   
    4239 
    4340class SansView(): 
Note: See TracChangeset for help on using the changeset viewer.