Changeset 68c53a4 in sasview
- Timestamp:
- Mar 25, 2011 8:39:51 AM (14 years ago)
- 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
- Location:
- sansview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/local_config.py
rb9b9930 r68c53a4 3 3 """ 4 4 import time 5 5 import os 6 from sans.guiframe.gui_style import GUIFRAME 6 7 # Version of the application 7 8 __appname__ = "SansView" … … 44 45 _welcome_image = "images/SVwelcome.png" 45 46 _copyright = "(c) 2009, University of Tennessee" 47 #edit the list of file state your plugin can read 48 PLUGIN_STATE_EXTENSIONS = ['.prv','.fitv', '.inv'] 49 APPLICATION_STATE_EXTENSION = '.svs' 50 # 51 WLIST = ['SansView files (*.svs)|*.svs', 52 'P(r) files (*.prv)|*.prv', 53 'Fitting files (*.fitv)|*.fitv', 54 'Invariant files (*.inv)|*.inv'] 55 56 SPLASH_SCREEN_PATH = os.path.join("images","SVwelcome.png") 57 DEFAULT_STYLE = GUIFRAME.MULTIPLE_APPLICATIONS|GUIFRAME.TOOL_ON 58 SPLASH_SCREEN_WIDTH = 500 59 SPLASH_SCREEN_HEIGHT = 300 60 SS_MAX_DISPLAY_TIME = 3000 #3 sec 61 PLOPANEL_WIDTH = 400 62 PLOPANEL_HEIGTH = 400 63 GUIFRAME_WIDTH = 1000 64 GUIFRAME_HEIGHT = 800 46 65 47 66 def printEVT(message): -
sansview/sansview.py
ra07e72f r68c53a4 36 36 """ 37 37 """ 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 42 39 43 40 class SansView():
Note: See TracChangeset
for help on using the changeset viewer.