Changeset d85c194 in sasview for src/sas/sasgui/guiframe/gui_manager.py
- Timestamp:
- Feb 22, 2016 9:04:24 AM (9 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:
- 06aaa75d
- Parents:
- d7bb526
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/gui_manager.py
rb699768 rd85c194 29 29 import json 30 30 31 from sas. guiframe.events import EVT_CATEGORY32 from sas. guiframe.events import EVT_STATUS33 from sas. guiframe.events import EVT_APPEND_BOOKMARK34 from sas. guiframe.events import EVT_PANEL_ON_FOCUS35 from sas. guiframe.events import EVT_NEW_LOAD_DATA36 from sas. guiframe.events import EVT_NEW_COLOR37 from sas. guiframe.events import StatusEvent38 from sas. guiframe.events import NewPlotEvent39 from sas. guiframe.gui_style import GUIFRAME40 from sas. guiframe.gui_style import GUIFRAME_ID41 from sas. guiframe.data_panel import DataPanel42 from sas. guiframe.panel_base import PanelBase43 from sas. guiframe.gui_toolbar import GUIToolBar44 from sas. guiframe.data_processor import GridFrame45 from sas. guiframe.events import EVT_NEW_BATCH46 from sas. guiframe.CategoryManager import CategoryManager31 from sas.sasgui.guiframe.events import EVT_CATEGORY 32 from sas.sasgui.guiframe.events import EVT_STATUS 33 from sas.sasgui.guiframe.events import EVT_APPEND_BOOKMARK 34 from sas.sasgui.guiframe.events import EVT_PANEL_ON_FOCUS 35 from sas.sasgui.guiframe.events import EVT_NEW_LOAD_DATA 36 from sas.sasgui.guiframe.events import EVT_NEW_COLOR 37 from sas.sasgui.guiframe.events import StatusEvent 38 from sas.sasgui.guiframe.events import NewPlotEvent 39 from sas.sasgui.guiframe.gui_style import GUIFRAME 40 from sas.sasgui.guiframe.gui_style import GUIFRAME_ID 41 from sas.sasgui.guiframe.data_panel import DataPanel 42 from sas.sasgui.guiframe.panel_base import PanelBase 43 from sas.sasgui.guiframe.gui_toolbar import GUIToolBar 44 from sas.sasgui.guiframe.data_processor import GridFrame 45 from sas.sasgui.guiframe.events import EVT_NEW_BATCH 46 from sas.sasgui.guiframe.CategoryManager import CategoryManager 47 47 from sas.sascalc.dataloader.loader import Loader 48 from sas. guiframe.proxy import Connection48 from sas.sasgui.guiframe.proxy import Connection 49 49 from matplotlib import _pylab_helpers 50 50 … … 121 121 if config is None: 122 122 # Didn't find local config, load the default 123 import sas. guiframe.config as config123 import sas.sasgui.guiframe.config as config 124 124 logging.info("using default local_config") 125 125 else: … … 128 128 logging.info("found local_config in %s" % PATH_APP) 129 129 130 from sas. guiframe.customdir import SetupCustom130 from sas.sasgui.guiframe.customdir import SetupCustom 131 131 c_conf_dir = SetupCustom().setup_dir(PATH_APP) 132 132 custom_config = _find_local_config('custom_config', c_conf_dir) … … 312 312 #data manager 313 313 self.batch_on = False 314 from sas. guiframe.data_manager import DataManager314 from sas.sasgui.guiframe.data_manager import DataManager 315 315 self._data_manager = DataManager() 316 316 self._data_panel = None#DataPanel(parent=self) … … 814 814 """ 815 815 # Status bar 816 from sas. guiframe.gui_statusbar import StatusBar816 from sas.sasgui.guiframe.gui_statusbar import StatusBar 817 817 self.sb = StatusBar(self, wx.ID_ANY) 818 818 self.SetStatusBar(self.sb) … … 869 869 if style1 == GUIFRAME.DATALOADER_ON: 870 870 try: 871 from sas. guiframe.local_perspectives.data_loader import data_loader871 from sas.sasgui.guiframe.local_perspectives.data_loader import data_loader 872 872 self._data_plugin = data_loader.Plugin() 873 873 plugins.append(self._data_plugin) … … 878 878 if style2 == GUIFRAME.PLOTTING_ON: 879 879 try: 880 from sas. guiframe.local_perspectives.plotting import plotting880 from sas.sasgui.guiframe.local_perspectives.plotting import plotting 881 881 self._plotting_plugin = plotting.Plugin() 882 882 plugins.append(self._plotting_plugin) … … 1453 1453 Build a panel to allow to edit Mask 1454 1454 """ 1455 from sas. guiframe.startup_configuration \1455 from sas.sasgui.guiframe.startup_configuration \ 1456 1456 import StartupConfiguration as ConfDialog 1457 1457 … … 2123 2123 """ 2124 2124 if config._do_acknowledge: 2125 import sas. guiframe.acknowledgebox as AcknowledgeBox2125 import sas.sasgui.guiframe.acknowledgebox as AcknowledgeBox 2126 2126 dialog = AcknowledgeBox.DialogAcknowledge(None, -1, "") 2127 2127 dialog.ShowModal() … … 2135 2135 """ 2136 2136 if config._do_aboutbox: 2137 import sas. guiframe.aboutbox as AboutBox2137 import sas.sasgui.guiframe.aboutbox as AboutBox 2138 2138 dialog = AboutBox.DialogAbout(None, -1, "") 2139 2139 dialog.ShowModal() … … 2150 2150 if IS_WIN: 2151 2151 try: 2152 from sas. guiframe.pdfview import PDFFrame2152 from sas.sasgui.guiframe.pdfview import PDFFrame 2153 2153 dialog = PDFFrame(None, -1, "Tutorial", path) 2154 2154 # put icon … … 2362 2362 else: 2363 2363 #if not append then new plot 2364 from sas. guiframe.dataFitting import Data2D2364 from sas.sasgui.guiframe.dataFitting import Data2D 2365 2365 if issubclass(Data2D, new_plot.__class__): 2366 2366 #for 2 D always plot in a separated new plot … … 3395 3395 parent=parent, 3396 3396 id=wx.ID_ANY) 3397 from sas. guiframe.gui_statusbar import SPageStatusbar3397 from sas.sasgui.guiframe.gui_statusbar import SPageStatusbar 3398 3398 statusBar = SPageStatusbar(s_screen) 3399 3399 s_screen.SetStatusBar(statusBar)
Note: See TracChangeset
for help on using the changeset viewer.