main_ui.py 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'main_ui.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.11.3
  5. #
  6. # WARNING! All changes made in this file will be lost!
  7. from PyQt5 import QtCore, QtGui, QtWidgets
  8. class Ui_MainWindow(object):
  9. def setupUi(self, MainWindow):
  10. MainWindow.setObjectName("MainWindow")
  11. MainWindow.resize(927, 476)
  12. self.centralwidget = QtWidgets.QWidget(MainWindow)
  13. self.centralwidget.setObjectName("centralwidget")
  14. self.saveButton = QtWidgets.QPushButton(self.centralwidget)
  15. self.saveButton.setGeometry(QtCore.QRect(824, 410, 71, 23))
  16. self.saveButton.setObjectName("saveButton")
  17. self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
  18. self.textEdit.setGeometry(QtCore.QRect(20, 20, 621, 411))
  19. self.textEdit.setObjectName("textEdit")
  20. MainWindow.setCentralWidget(self.centralwidget)
  21. self.menubar = QtWidgets.QMenuBar(MainWindow)
  22. self.menubar.setGeometry(QtCore.QRect(0, 0, 927, 21))
  23. self.menubar.setObjectName("menubar")
  24. self.menuFile = QtWidgets.QMenu(self.menubar)
  25. self.menuFile.setObjectName("menuFile")
  26. self.menuEdit = QtWidgets.QMenu(self.menubar)
  27. self.menuEdit.setObjectName("menuEdit")
  28. self.menuView = QtWidgets.QMenu(self.menubar)
  29. self.menuView.setObjectName("menuView")
  30. MainWindow.setMenuBar(self.menubar)
  31. self.statusbar = QtWidgets.QStatusBar(MainWindow)
  32. self.statusbar.setObjectName("statusbar")
  33. MainWindow.setStatusBar(self.statusbar)
  34. self.menubar.addAction(self.menuFile.menuAction())
  35. self.menubar.addAction(self.menuEdit.menuAction())
  36. self.menubar.addAction(self.menuView.menuAction())
  37. self.retranslateUi(MainWindow)
  38. QtCore.QMetaObject.connectSlotsByName(MainWindow)
  39. def retranslateUi(self, MainWindow):
  40. _translate = QtCore.QCoreApplication.translate
  41. MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
  42. self.saveButton.setText(_translate("MainWindow", "save"))
  43. self.menuFile.setTitle(_translate("MainWindow", "File"))
  44. self.menuEdit.setTitle(_translate("MainWindow", "Edit"))
  45. self.menuView.setTitle(_translate("MainWindow", "View"))