diff --git a/gps_tool/MainWindow.py b/gps_tool/MainWindow.py index 7996411..cc15ef8 100644 --- a/gps_tool/MainWindow.py +++ b/gps_tool/MainWindow.py @@ -1,17 +1,23 @@ # -*- coding: utf-8 -*- ################################################################################ -## Form generated from reading UI file '' +## Form generated from reading UI file 'mainwindow.ui' ## -## Created by: Qt User Interface Compiler version 5.15.2 +## Created by: Qt User Interface Compiler version 6.5.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ -from PySide6.QtCore import * -from PySide6.QtGui import * -from PySide6.QtWidgets import * - +from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale, + QMetaObject, QObject, QPoint, QRect, + QSize, QTime, QUrl, Qt) +from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor, + QFont, QFontDatabase, QGradient, QIcon, + QImage, QKeySequence, QLinearGradient, QPainter, + QPalette, QPixmap, QRadialGradient, QTransform) +from PySide6.QtWidgets import (QApplication, QFrame, QGraphicsView, QLabel, + QMainWindow, QMenuBar, QPushButton, QSizePolicy, + QStatusBar, QTextEdit, QWidget) class Ui_MainWindow(object): def setupUi(self, MainWindow): @@ -118,7 +124,7 @@ class Ui_MainWindow(object): self.txtSatellites.setObjectName(u"txtSatellites") self.txtSatellites.setGeometry(QRect(230, 10, 220, 280)) font = QFont() - font.setFamily(u"Courier") + font.setFamilies([u"Courier"]) self.txtSatellites.setFont(font) self.toggleLogging = QPushButton(self.centralwidget) self.toggleLogging.setObjectName(u"toggleLogging") @@ -141,13 +147,13 @@ class Ui_MainWindow(object): font1 = QFont() font1.setPointSize(10) font1.setBold(True) - font1.setWeight(QFont.Bold) self.label_14.setFont(font1) self.txtCount = QLabel(self.centralwidget) self.txtCount.setObjectName(u"txtCount") self.txtCount.setGeometry(QRect(150, 10, 61, 16)) self.txtCount.setFrameShape(QFrame.Panel) self.txtCount.setFrameShadow(QFrame.Sunken) + self.txtCount.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QMenuBar(MainWindow) self.menubar.setObjectName(u"menubar") diff --git a/gps_tool/README.venv b/gps_tool/README.venv index 1b47b87..3058f56 100755 --- a/gps_tool/README.venv +++ b/gps_tool/README.venv @@ -10,5 +10,5 @@ pip list > requirements.txt RUN source venv/bin/activate -python vcones_gui.py & +python gps_tool.py & deactivate diff --git a/gps_vcones/MainWindow.py b/gps_vcones/MainWindow.py index 3b3dd29..c5f2840 100644 --- a/gps_vcones/MainWindow.py +++ b/gps_vcones/MainWindow.py @@ -3,15 +3,22 @@ ################################################################################ ## Form generated from reading UI file 'mainwindow.ui' ## -## Created by: Qt User Interface Compiler version 5.15.2 +## Created by: Qt User Interface Compiler version 6.5.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ -from PySide6.QtCore import * -from PySide6.QtGui import * -from PySide6.QtWidgets import * - +from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale, + QMetaObject, QObject, QPoint, QRect, + QSize, QTime, QUrl, Qt) +from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor, + QFont, QFontDatabase, QGradient, QIcon, + QImage, QKeySequence, QLinearGradient, QPainter, + QPalette, QPixmap, QRadialGradient, QTransform) +from PySide6.QtWidgets import (QApplication, QCheckBox, QFrame, QLabel, + QLineEdit, QListWidget, QListWidgetItem, QMainWindow, + QMenuBar, QPushButton, QSizePolicy, QStatusBar, + QWidget) class Ui_MainWindow(object): def setupUi(self, MainWindow):