fix: миграция на PySide2

This commit is contained in:
Maxim Slipenko 2023-09-27 10:25:53 +03:00
parent e4be73e1be
commit 6684b79931
4 changed files with 10 additions and 16 deletions

View File

@ -1,6 +1,5 @@
from PySide6.QtCore import Slot
from PySide6.QtGui import QIntValidator
from PySide6.QtWidgets import QDialog
from PySide2.QtCore import Slot
from PySide2.QtWidgets import QDialog
from statapp.ui.ui_generate_window import Ui_GenerateWindow

View File

@ -1,3 +1,4 @@
import numpy as np
from PySide2.QtCore import Slot
from PySide2.QtWidgets import QMainWindow

View File

@ -1,6 +1,6 @@
import numpy as np
from PySide6 import QtCore
from PySide6.QtCore import Qt
from PySide2 import QtCore
from PySide2.QtCore import Qt
class DataModel(QtCore.QAbstractTableModel):

View File

@ -3,21 +3,15 @@
################################################################################
## Form generated from reading UI file 'generate_window.ui'
##
## Created by: Qt User Interface Compiler version 6.5.2
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
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, QDialog, QDoubleSpinBox, QGridLayout,
QLabel, QPushButton, QSizePolicy, QSpinBox,
QWidget)
from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *
class Ui_GenerateWindow(object):
def setupUi(self, GenerateWindow):