From 80e0dbb2908308a23c7e1273eeaa0625f9948420 Mon Sep 17 00:00:00 2001 From: Neal Probert Date: Tue, 3 Oct 2023 05:59:48 -0400 Subject: [PATCH] Updated Vcones to QT 6 --- gps_vcones/MainWindow.py | 6 +++--- gps_vcones/vcones_gui.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gps_vcones/MainWindow.py b/gps_vcones/MainWindow.py index 2395030..3b3dd29 100644 --- a/gps_vcones/MainWindow.py +++ b/gps_vcones/MainWindow.py @@ -8,9 +8,9 @@ ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ -from PySide2.QtCore import * -from PySide2.QtGui import * -from PySide2.QtWidgets import * +from PySide6.QtCore import * +from PySide6.QtGui import * +from PySide6.QtWidgets import * class Ui_MainWindow(object): diff --git a/gps_vcones/vcones_gui.py b/gps_vcones/vcones_gui.py index 2a7bf06..ac88953 100755 --- a/gps_vcones/vcones_gui.py +++ b/gps_vcones/vcones_gui.py @@ -13,9 +13,9 @@ import gpxpy import csv import yaml -from PySide2.QtGui import * -from PySide2.QtWidgets import QApplication, QMainWindow, QFileDialog -from PySide2.QtCore import QObject, Slot, Signal, QThread, QDir +from PySide6.QtGui import * +from PySide6.QtWidgets import QApplication, QMainWindow, QFileDialog +from PySide6.QtCore import QObject, Slot, Signal, QThread, QDir from MainWindow import Ui_MainWindow @@ -602,5 +602,5 @@ if __name__ == '__main__': window.load_cones(config['lists']) window.start_thread() - ret = app.exec_() + ret = app.exec() sys.exit(ret)