Changeset ad01b7c4 in sasview
- Timestamp:
- Aug 5, 2011 1:20:40 PM (13 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:
- 4206aa1
- Parents:
- 44429d0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/local_config.py
r3be3a80 rad01b7c4 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__ = "SansViewTool" 8 __version__ = ' 1.dev'9 __version__ = '0.9.2dev' 9 10 __download_page__ = 'http://danse.chem.utk.edu' 10 11 #__update_URL__ = 'http://danse.chem.utk.edu/sansview_version.php' … … 23 24 # About box info 24 25 _do_aboutbox=True 26 _do_tutorial = False 25 27 _acknowledgement = \ 26 28 '''This software was developed by the University of Tennessee as part of the … … 45 47 _copyright = "(c) 2009, University of Tennessee" 46 48 49 50 #edit the list of file state your plugin can read 51 APPLICATION_WLIST = '' 52 APPLICATION_STATE_EXTENSION = '' 53 GUIFRAME_WIDTH = 300 54 GUIFRAME_HEIGHT = 200 55 PLUGIN_STATE_EXTENSIONS = [] 56 PLUGINS_WLIST = [] 57 PLOPANEL_WIDTH = 415 58 PLOPANEL_HEIGTH = 370 59 DATAPANEL_WIDTH = 235 60 DATAPANEL_HEIGHT = 700 61 SPLASH_SCREEN_PATH = os.path.join("images","SVwelcome_mini.png") 62 TUTORIAL_PATH = os.path.join("media","Tutorial.pdf") 63 DEFAULT_STYLE = GUIFRAME.CALCULATOR_ON 64 SPLASH_SCREEN_WIDTH = 512 65 SPLASH_SCREEN_HEIGHT = 366 66 SS_MAX_DISPLAY_TIME = 6000 #6 sec 67 WELCOME_PANEL_SHOW = False 68 CLEANUP_PLOT = False 69 SetupIconFile_win = os.path.join("images", "ball.ico") 70 SetupIconFile_mac = os.path.join("images", "ball.icns") 71 DefaultGroupName = "DANSE" 72 OutputBaseFilename = "setupSansViewTool" 73 DATAPANEL_WIDTH = 235 74 FIXED_PANEL = True 75 DATALOADER_SHOW = False 76 CLEANUP_PLOT = False 77 WELCOME_PANEL_SHOW = False 78 #Open Save project menu 79 OPEN_SAVE_PROJECT_MENU = False 80 #Show or hide toolbar at the start up 81 TOOLBAR_SHOW = False 82 # set a default perspective 83 DEFAULT_PERSPECTIVE = 'None' 84 47 85 def printEVT(message): 48 86 if __EVT_DEBUG__: -
guiframe/gui_manager.py
rbc7bc839 rad01b7c4 118 118 DATAPANEL_HEIGHT = config.DATAPANEL_HEIGHT 119 119 PLUGIN_STATE_EXTENSIONS = config.PLUGIN_STATE_EXTENSIONS 120 OPEN_SAVE_MENU = config.OPEN_SAVE_PROJECT_MENU 120 121 extension_list = [] 121 122 if APPLICATION_STATE_EXTENSION is not None: … … 1147 1148 style = self.__gui_style & GUIFRAME.DATALOADER_ON 1148 1149 style1 = self.__gui_style & GUIFRAME.MULTIPLE_APPLICATIONS 1149 1150 id = wx.NewId()1151 hint_load_file = "read all analysis states saved previously"1152 self._save_appl_menu = self._file_menu.Append(id,1153 '&Open Project', hint_load_file)1154 wx.EVT_MENU(self, id, self._on_open_state_project)1150 if OPEN_SAVE_MENU: 1151 id = wx.NewId() 1152 hint_load_file = "read all analysis states saved previously" 1153 self._save_appl_menu = self._file_menu.Append(id, 1154 '&Open Project', hint_load_file) 1155 wx.EVT_MENU(self, id, self._on_open_state_project) 1155 1156 1156 1157 if style1 == GUIFRAME.MULTIPLE_APPLICATIONS: … … 1162 1163 '&Open Analysis', hint_load_file) 1163 1164 wx.EVT_MENU(self, id, self._on_open_state_application) 1164 1165 self._file_menu.AppendSeparator()1166 id = wx.NewId()1167 self._file_menu.Append(id, '&Save Project',1168 'Save the state of the whole analysis')1169 wx.EVT_MENU(self, id, self._on_save_project)1165 if OPEN_SAVE_MENU: 1166 self._file_menu.AppendSeparator() 1167 id = wx.NewId() 1168 self._file_menu.Append(id, '&Save Project', 1169 'Save the state of the whole analysis') 1170 wx.EVT_MENU(self, id, self._on_save_project) 1170 1171 if style1 == GUIFRAME.MULTIPLE_APPLICATIONS: 1171 1172 #self._file_menu.AppendSeparator() -
sansview/local_config.py
rbc7bc839 rad01b7c4 70 70 WELCOME_PANEL_SHOW = False 71 71 CLEANUP_PLOT = False 72 OPEN_SAVE_PROJECT_MENU = True 72 73 SetupIconFile_win = os.path.join("images", "ball.ico") 73 74 SetupIconFile_mac = os.path.join("images", "ball.icns")
Note: See TracChangeset
for help on using the changeset viewer.