Changeset 73197d0 in sasview for sansguiframe/src/sans/guiframe/gui_manager.py
- Timestamp:
- Sep 9, 2011 3:57:52 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:
- 3bc6090
- Parents:
- 7f76f89
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
r2f81957 r73197d0 32 32 from sans.guiframe.gui_style import GUIFRAME 33 33 from sans.guiframe.gui_style import GUIFRAME_ID 34 #from sans.guiframe.events import NewLoadedDataEvent35 34 from sans.guiframe.data_panel import DataPanel 36 35 from sans.guiframe.panel_base import PanelBase 37 36 from sans.guiframe.gui_toolbar import GUIToolBar 38 37 from sans.guiframe.data_processor import GridFrame 38 from sans.guiframe.data_processor import BatchOutputDialog 39 39 from sans.guiframe.events import EVT_NEW_BATCH 40 40 from sans.dataloader.loader import Loader … … 288 288 Display data into a grid in batch mode and show the grid 289 289 """ 290 self.batch_frame.set_data(data) 291 self.batch_frame.Show(True) 292 293 290 #Neeed to save configuration for later 291 dlg = BatchOutputDialog(self, data) 292 flag = None 293 if dlg.ShowModal() == wx.ID_OK: 294 flag = dlg.onselect() 295 dlg.Destroy() 296 if flag == 1: 297 self.batch_frame.set_data(data) 298 self.batch_frame.Show(True) 299 elif flag == 2: 300 self.deplay_in_external_app(data) 301 302 def save_batch_into_file(self, data): 303 """ 304 Save data into file. default extension is .csv 305 """ 306 def deplay_in_external_app(self, data): 307 """ 308 Display data in the another application , by default Excel 309 """ 294 310 def on_batch_selection(self, event): 295 311 """
Note: See TracChangeset
for help on using the changeset viewer.