23 lines
569 B
Python
23 lines
569 B
Python
from PyQt6 import QtCore, QtGui, QtWidgets
|
|
from ui import Ui_Controller
|
|
|
|
class Window(QtWidgets.QMainWindow):
|
|
def __init__(self):
|
|
QtWidgets.QMainWindow.__init__(self)
|
|
self.ui = Ui_Controller()
|
|
self.ui.setupUi(self)
|
|
|
|
self.ui.Read.clicked.connect(self.handleCalculate)
|
|
|
|
def connectMethods(self):
|
|
pass
|
|
|
|
def handleCalculate(self):
|
|
self.ui.Status.setText("Goool")
|
|
|
|
if __name__ == '__main__':
|
|
import sys
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
window = Window()
|
|
window.show()
|
|
sys.exit(app.exec()) |