23 lines
441 B
Python
23 lines
441 B
Python
import sys
|
|
|
|
from PyQt5 import QtGui
|
|
from PyQt5.QtWidgets import QApplication, QWidget, QInputDialog, QLineEdit, QFileDialog, QMainWindow
|
|
|
|
from main_window import Ui_MainWindow
|
|
|
|
|
|
class Window(QMainWindow, Ui_MainWindow):
|
|
|
|
def __init__(self, parent=None):
|
|
super().__init__(parent)
|
|
self.setupUi(self)
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app = QApplication(sys.argv)
|
|
win = Window()
|
|
win.show()
|
|
sys.exit(app.exec())
|