2022-11-08 15:52:05 +05:00
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
from PyQt5.QtWidgets import QApplication
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import gui_base
|
|
|
|
|
2022-11-10 16:26:28 +05:00
|
|
|
class GUI(QtWidgets.QMainWindow, gui_base.Ui_MainWindow):
|
2022-11-08 15:52:05 +05:00
|
|
|
def __init__(self, parent=None):
|
|
|
|
super().__init__(parent)
|
|
|
|
self.setupUi(self)
|
|
|
|
|
|
|
|
def main():
|
|
|
|
app = QApplication(sys.argv)
|
|
|
|
gui = ExampleApp()
|
|
|
|
gui.show()
|
|
|
|
app.exec_()
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|
|
|
|
|