diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-09-27 15:00:08 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-09-28 07:31:36 +0000 |
commit | 3412dc563119221bd730c1487937519df0761792 (patch) | |
tree | d738ea0a24c1013e589e69240d6fc91ae13ed999 /examples/transform/ui.py | |
parent | 3c4cafdf834c9b683501efca72dbbe1093cf6f9a (diff) |
Clean up import hierarchy
PythonExtension.QtCreator.*
-> QtCreator.*
PythonExtension.PluginInstance
-> QtCreator.PythonExtensions
Also enables imports of the form "from QtCreator import Core" it is no
longer necessary to write QtCreator.Core....
Change-Id: Ib9b433868dcc3fc7d1d534c6023bae7bf6d05fec
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'examples/transform/ui.py')
-rw-r--r-- | examples/transform/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/transform/ui.py b/examples/transform/ui.py index 21892ef..cc5b7f1 100644 --- a/examples/transform/ui.py +++ b/examples/transform/ui.py @@ -38,7 +38,7 @@ ## ############################################################################# -from PythonExtension import QtCreator +from QtCreator import Core from PySide2 import QtWidgets template = """# Parameters: @@ -53,7 +53,7 @@ filebody def getCode(): return QtWidgets.QInputDialog.getMultiLineText( - QtCreator.Core.ICore.dialogParent(), + Core.ICore.dialogParent(), "Input transformation expression", "Transform expression:", template |