Changeset 26970b3 in sasview
- Timestamp:
- May 31, 2018 1:27:34 AM (7 years ago)
- Branches:
- ESS_GUI, 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:
- caefb8a
- Parents:
- eca7c6f
- Location:
- src/sas/qtgui/Utilities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/sas/qtgui/Utilities/ModelEditor.py ¶
r8b480d27 r26970b3 1 1 from PyQt5 import QtCore 2 2 from PyQt5 import QtWidgets 3 4 from sas.qtgui.Utilities.PythonSyntax import PythonHighlighter5 3 6 4 from sas.qtgui.Utilities.UI.ModelEditor import Ui_ModelEditor … … 26 24 Here - just the highlighter connected to the text edit. 27 25 """ 26 # Weird import location - workaround for a bug in Sphinx choking on 27 # importing QSyntaxHighlighter 28 # DO NOT MOVE TO TOP 29 from sas.qtgui.Utilities.PythonSyntax import PythonHighlighter 28 30 self.highlight = PythonHighlighter(self.txtEditor.document()) 29 31 -
TabularUnified src/sas/qtgui/Utilities/PluginDefinition.py ¶
r3b8cc00 r26970b3 4 4 5 5 from sas.qtgui.Utilities.UI.PluginDefinitionUI import Ui_PluginDefinition 6 from sas.qtgui.Utilities.PythonSyntax import PythonHighlighter7 6 8 7 # txtName … … 62 61 txt_validator = QtGui.QRegExpValidator(rx) 63 62 self.txtName.setValidator(txt_validator) 63 # Weird import location - workaround for a bug in Sphinx choking on 64 # importing QSyntaxHighlighter 65 # DO NOT MOVE TO TOP 66 from sas.qtgui.Utilities.PythonSyntax import PythonHighlighter 64 67 self.highlight = PythonHighlighter(self.txtFunction.document()) 65 68
Note: See TracChangeset
for help on using the changeset viewer.