mirror of
https://github.com/shizand/statapp.git
synced 2025-04-03 16:13:44 +03:00
fix: миграция на PySide2
This commit is contained in:
parent
e4be73e1be
commit
6684b79931
@ -1,6 +1,5 @@
|
|||||||
from PySide6.QtCore import Slot
|
from PySide2.QtCore import Slot
|
||||||
from PySide6.QtGui import QIntValidator
|
from PySide2.QtWidgets import QDialog
|
||||||
from PySide6.QtWidgets import QDialog
|
|
||||||
|
|
||||||
from statapp.ui.ui_generate_window import Ui_GenerateWindow
|
from statapp.ui.ui_generate_window import Ui_GenerateWindow
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import numpy as np
|
||||||
from PySide2.QtCore import Slot
|
from PySide2.QtCore import Slot
|
||||||
from PySide2.QtWidgets import QMainWindow
|
from PySide2.QtWidgets import QMainWindow
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
from PySide6 import QtCore
|
from PySide2 import QtCore
|
||||||
from PySide6.QtCore import Qt
|
from PySide2.QtCore import Qt
|
||||||
|
|
||||||
|
|
||||||
class DataModel(QtCore.QAbstractTableModel):
|
class DataModel(QtCore.QAbstractTableModel):
|
||||||
|
16
statapp/ui/ui_generate_window.py
generated
16
statapp/ui/ui_generate_window.py
generated
@ -3,21 +3,15 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
## Form generated from reading UI file 'generate_window.ui'
|
## 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!
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
from PySide2.QtCore import *
|
||||||
QMetaObject, QObject, QPoint, QRect,
|
from PySide2.QtGui import *
|
||||||
QSize, QTime, QUrl, Qt)
|
from PySide2.QtWidgets import *
|
||||||
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)
|
|
||||||
|
|
||||||
class Ui_GenerateWindow(object):
|
class Ui_GenerateWindow(object):
|
||||||
def setupUi(self, GenerateWindow):
|
def setupUi(self, GenerateWindow):
|
||||||
|
Loading…
Reference in New Issue
Block a user