Changeset 0849aec in sasview for src/sas/qtgui/Utilities
- Timestamp:
- Oct 30, 2017 7:50:09 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:
- 304d082
- Parents:
- 99ea1b0
- Location:
- src/sas/qtgui/Utilities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/GuiUtils.py
r895e7359 r0849aec 14 14 import logging 15 15 16 from PyQt4 import QtCore 17 from PyQt4 import QtGui 16 from PyQt5 import QtCore 17 from PyQt5 import QtGui 18 from PyQt5 import QtWidgets 18 19 19 20 from periodictable import formula as Formula … … 309 310 object_item = QtGui.QStandardItem() 310 311 object_item.setText(name) 311 #object_item.setData(QtCore.QVariant(update_data))312 312 object_item.setData(update_data) 313 313 … … 586 586 } 587 587 # Query user for filename. 588 filename = Qt Gui.QFileDialog.getSaveFileName(**kwargs)588 filename = QtWidgets.QFileDialog.getSaveFileName(**kwargs) 589 589 590 590 # User cancelled. … … 618 618 } 619 619 # Query user for filename. 620 filename = Qt Gui.QFileDialog.getSaveFileName(**kwargs)620 filename = QtWidgets.QFileDialog.getSaveFileName(**kwargs) 621 621 622 622 # User cancelled. -
src/sas/qtgui/Utilities/IPythonWidget.py
rfef38e8 r0849aec 1 from PyQt4 import QtCore, QtGui, QtSvg 1 from PyQt5 import QtCore 2 from PyQt5 import QtGui 3 from PyQt5 import QtWidgets 4 5 ##from PyQt4 import QtSvg 2 6 3 7 def new_load_qt(api_options): -
src/sas/qtgui/Utilities/SasviewLogger.py
- Property mode changed from 100755 to 100644
rb0b09b9 r0849aec 3 3 import logging 4 4 5 from PyQt 4 import QtCore5 from PyQt5.QtCore import * 6 6 7 7 8 class XStream(Q tCore.QObject):8 class XStream(QObject): 9 9 _stdout = None 10 10 _stderr = None 11 messageWritten = QtCore.pyqtSignal(str)11 messageWritten = pyqtSignal(str) 12 12 13 13 def flush(self):
Note: See TracChangeset
for help on using the changeset viewer.