From 750ed4f4e844cdd1483bf809d036cd04fbd8b139 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Tue, 10 Oct 2023 13:59:21 -0500 Subject: [PATCH] Update editor.py PySide6 --- cq_editor/widgets/editor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cq_editor/widgets/editor.py b/cq_editor/widgets/editor.py index 128891b..c8bdc80 100644 --- a/cq_editor/widgets/editor.py +++ b/cq_editor/widgets/editor.py @@ -2,9 +2,9 @@ import os from modulefinder import ModuleFinder from spyder.plugins.editor.widgets.codeeditor import CodeEditor -from PyQt5.QtCore import pyqtSignal, QFileSystemWatcher, QTimer -from PyQt5.QtWidgets import QAction, QFileDialog -from PyQt5.QtGui import QFontDatabase +from PySide6.QtCore import pyqtSignal, QFileSystemWatcher, QTimer +from PySide6.QtWidgets import QAction, QFileDialog +from PySide6.QtGui import QFontDatabase from path import Path import sys @@ -281,7 +281,7 @@ class Editor(CodeEditor,ComponentMixin): if __name__ == "__main__": - from PyQt5.QtWidgets import QApplication + from PySide6.QtWidgets import QApplication app = QApplication(sys.argv) editor = Editor()