Changeset ff49d4d in sasview
- Timestamp:
- Aug 5, 2016 9:01:43 AM (8 years ago)
- Branches:
- 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
- Children:
- 51b2b51
- Parents:
- af7078b
- Location:
- src/sas/qtgui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/GuiManager.py
r1af348e rff49d4d 22 22 from UI.AcknowledgementsUI import Acknowledgements 23 23 from AboutBox import AboutBox 24 from IPythonWidget import IPythonWidget 24 25 25 26 # Perspectives … … 537 538 Display the Jupyter console as a docked widget. 538 539 """ 539 from IPythonWidget import IPythonWidget540 540 terminal = IPythonWidget() 541 541 -
src/sas/qtgui/IPythonWidget.py
r1af348e rff49d4d 27 27 self.kernel_manager.kernel.shell.run_code( 28 28 '\n'.join('import %s as %s' % t for t in MODULES_TO_IMPORT)) 29 30 guisupport.start_event_loop_qt4(app) -
src/sas/qtgui/UnitTesting/GuiManagerTest.py
r0cd8612 rff49d4d 16 16 from AboutBox import AboutBox 17 17 from WelcomePanel import WelcomePanel 18 from IPythonWidget import IPythonWidget 18 19 19 20 from GuiManager import GuiManager … … 85 86 self.assertIn(message_logged, self.manager.logDockWidget.widget().toPlainText()) 86 87 88 def testConsole(self): 89 """ 90 Test the docked QtConsole 91 """ 92 # Invoke the console action 93 self.manager.actionPython_Shell_Editor() 94 95 # Test the widegt properties 96 self.assertIsInstance(self.manager.ipDockWidget, QDockWidget) 97 self.assertIsInstance(self.manager.ipDockWidget.widget(), IPythonWidget) 98 self.assertEqual(self.manager._workspace.dockWidgetArea(self.manager.ipDockWidget), Qt.RightDockWidgetArea) 99 87 100 def testUpdatePerspective(self): 88 101 """
Note: See TracChangeset
for help on using the changeset viewer.