text: # -*- coding: utf-8 -*-
  
  # Form implementation generated from reading ui file 'SGAUI.ui'
  #
  # Created by: PyQt5 UI code generator 5.11.3
  #
  # WARNING! All changes made in this file will be lost!
  
  from PyQt5 import QtCore, QtGui, QtWidgets
  
  class SGAUI(object):
      def setupUi(self, MainWindow):
          MainWindow.setObjectName("MainWindow")
          MainWindow.resize(802, 586)
          self.centralwidget = QtWidgets.QWidget(MainWindow)
          self.centralwidget.setObjectName("centralwidget")
          self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
          self.verticalLayout.setObjectName("verticalLayout")
          self.label = QtWidgets.QLabel(self.centralwidget)
          font = QtGui.QFont()
          font.setFamily("黑体")
          font.setPointSize(20)
          self.label.setFont(font)
          self.label.setAlignment(QtCore.Qt.AlignCenter)
          self.label.setWordWrap(False)
          self.label.setObjectName("label")
          self.verticalLayout.addWidget(self.label)
          self.label_2 = QtWidgets.QLabel(self.centralwidget)
          font = QtGui.QFont()
          font.setFamily("微软雅黑")
          font.setPointSize(12)
          self.label_2.setFont(font)
          self.label_2.setLocale(QtCore.QLocale(QtCore.QLocale.Chinese, QtCore.QLocale.China))
          self.label_2.setAlignment(QtCore.Qt.AlignCenter)
          self.label_2.setObjectName("label_2")
          self.verticalLayout.addWidget(self.label_2)
          self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
          self.horizontalLayout_4.setObjectName("horizontalLayout_4")
          spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
          self.horizontalLayout_4.addItem(spacerItem)
          self.start = QtWidgets.QPushButton(self.centralwidget)
          self.start.setObjectName("start")
          self.horizontalLayout_4.addWidget(self.start)
          spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
          self.horizontalLayout_4.addItem(spacerItem1)
          self.verticalLayout.addLayout(self.horizontalLayout_4)
          self.horizontalLayout = QtWidgets.QHBoxLayout()
          self.horizontalLayout.setObjectName("horizontalLayout")
          self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
          self.textBrowser.setObjectName("textBrowser")
          self.horizontalLayout.addWidget(self.textBrowser)
          self.graphicsView = QtWidgets.QGraphicsView(self.centralwidget)
          self.graphicsView.setObjectName("graphicsView")
          self.horizontalLayout.addWidget(self.graphicsView)
          self.verticalLayout.addLayout(self.horizontalLayout)
          MainWindow.setCentralWidget(self.centralwidget)
          self.menubar = QtWidgets.QMenuBar(MainWindow)
          self.menubar.setGeometry(QtCore.QRect(0, 0, 802, 22))
          self.menubar.setObjectName("menubar")
          MainWindow.setMenuBar(self.menubar)
          self.statusbar = QtWidgets.QStatusBar(MainWindow)
          self.statusbar.setObjectName("statusbar")
          MainWindow.setStatusBar(self.statusbar)
  
          self.retranslateUi(MainWindow)
          QtCore.QMetaObject.connectSlotsByName(MainWindow)
  
      def retranslateUi(self, MainWindow):
          _translate = QtCore.QCoreApplication.translate
          MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
          self.label.setText(_translate("MainWindow", "SGA函数优化"))
          self.label_2.setText(_translate("MainWindow", "对函数 y = x + 10*sin(5x) + 7 * cos(4*x)在区间[0, 9]中进行最大化优化"))
          self.start.setText(_translate("MainWindow", "start"))
  
  