- Timestamp:
- Aug 4, 2017 7:17:06 AM (7 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:
- ee18d33
- Parents:
- 7adc2a8
- Location:
- src/sas/qtgui/Utilities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/GuiUtils.py
r6ff2eb3 r985ad94 96 96 97 97 ## TODO: CHANGE FOR SHIPPED PATH IN RELEASE 98 HELP_DIRECTORY_LOCATION = "docs/sphinx-docs/build/html" 98 if os.path.splitext(sys.argv[0])[1].lower() != ".py": 99 HELP_DIRECTORY_LOCATION = "doc" 100 else: 101 HELP_DIRECTORY_LOCATION = "docs/sphinx-docs/build/html" 99 102 IMAGES_DIRECTORY_LOCATION = HELP_DIRECTORY_LOCATION + "/_images" 100 103 -
src/sas/qtgui/Utilities/IPythonWidget.py
- Property mode changed from 100755 to 100644
r83eb5208 r985ad94 1 def new_load_qt(api_options): 2 from PyQt4 import QtCore, QtGui, QtSvg 3 return QtCore, QtGui, QtSvg, 'pyqt' 4 5 def qtconsole_new_load_qt(api_options): 6 from PyQt4 import QtCore, QtGui, QtSvg 7 8 # Alias PyQt-specific functions for PySide compatibility. 9 QtCore.Signal = QtCore.pyqtSignal 10 QtCore.Slot = QtCore.pyqtSlot 11 return QtCore, QtGui, QtSvg, 'pyqt' 12 13 # Do some monkey patching to satisfy pyinstaller complaining 14 # about pyside/pyqt confusion 15 from IPython.external import qt_loaders 16 qt_loaders.load_qt = new_load_qt 17 18 from qtconsole import qt_loaders as qtconsole_qt_loaders 19 qtconsole_qt_loaders.load_qt = qtconsole_new_load_qt 20 21 1 22 from qtconsole.rich_jupyter_widget import RichJupyterWidget 2 23 from qtconsole.inprocess import QtInProcessKernelManager
Note: See TracChangeset
for help on using the changeset viewer.