text: # -*- coding: utf-8 -*-
  
  # Form implementation generated from reading ui file 'CutieEMG.ui'
  #
  # Created by: PyQt5 UI code generator 5.15.4
  #
  # WARNING: Any manual changes made to this file will be lost when pyuic5 is
  # run again.  Do not edit this file unless you know what you are doing.
  
  
  from PyQt5 import QtCore, QtGui, QtWidgets
  
  
  class Ui_MainWindow(object):
      def setupUi(self, MainWindow):
          MainWindow.setObjectName("MainWindow")
          MainWindow.resize(640, 480)
          self.centralwidget = QtWidgets.QWidget(MainWindow)
          self.centralwidget.setObjectName("centralwidget")
          self.button2 = QtWidgets.QPushButton(self.centralwidget)
          self.button2.setGeometry(QtCore.QRect(40, 380, 111, 51))
          self.button2.setObjectName("button2")
          self.label1 = QtWidgets.QLabel(self.centralwidget)
          self.label1.setGeometry(QtCore.QRect(190, 10, 281, 51))
          font = QtGui.QFont()
          font.setPointSize(11)
          font.setBold(True)
          font.setWeight(75)
          self.label1.setFont(font)
          self.label1.setAlignment(QtCore.Qt.AlignCenter)
          self.label1.setWordWrap(True)
          self.label1.setObjectName("label1")
          self.button3 = QtWidgets.QPushButton(self.centralwidget)
          self.button3.setGeometry(QtCore.QRect(489, 380, 111, 51))
          self.button3.setObjectName("button3")
          MainWindow.setCentralWidget(self.centralwidget)
          self.menubar = QtWidgets.QMenuBar(MainWindow)
          self.menubar.setGeometry(QtCore.QRect(0, 0, 640, 21))
          self.menubar.setObjectName("menubar")
          self.fileMenu = QtWidgets.QMenu(self.menubar)
          self.fileMenu.setObjectName("fileMenu")
          MainWindow.setMenuBar(self.menubar)
          self.statusbar = QtWidgets.QStatusBar(MainWindow)
          self.statusbar.setObjectName("statusbar")
          MainWindow.setStatusBar(self.statusbar)
          self.actionNew = QtWidgets.QAction(MainWindow)
          self.actionNew.setObjectName("actionNew")
          self.actionSave = QtWidgets.QAction(MainWindow)
          self.actionSave.setObjectName("actionSave")
          self.actionSave_as = QtWidgets.QAction(MainWindow)
          self.actionSave_as.setObjectName("actionSave_as")
          self.actionCopy = QtWidgets.QAction(MainWindow)
          self.actionCopy.setObjectName("actionCopy")
          self.actionPaste = QtWidgets.QAction(MainWindow)
          self.actionPaste.setObjectName("actionPaste")
          self.fileMenu.addAction(self.actionNew)
          self.fileMenu.addAction(self.actionSave)
          self.fileMenu.addAction(self.actionSave_as)
          self.menubar.addAction(self.fileMenu.menuAction())
  
          self.retranslateUi(MainWindow)
          QtCore.QMetaObject.connectSlotsByName(MainWindow)
  
          self.actionNew.triggered.connect(lambda: self.clicked('New file created'))
          self.actionSave.triggered.connect(lambda: self.clicked('File saved !'))
          self.actionSave_as.triggered.connect(lambda: self.clicked('Save file created !'))
      def retranslateUi(self, MainWindow):
          _translate = QtCore.QCoreApplication.translate
          MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
          self.button2.setText(_translate("MainWindow", "Pause"))
          self.label1.setText(_translate("MainWindow", "Real Time \n"
  " Identification Emotion EMG-based"))
          self.button3.setText(_translate("MainWindow", "Stop"))
          self.fileMenu.setTitle(_translate("MainWindow", "File"))
          self.actionNew.setText(_translate("MainWindow", "New"))
          self.actionNew.setStatusTip(_translate("MainWindow", "Created new file"))
          self.actionNew.setShortcut(_translate("MainWindow", "Ctrl+N"))
          self.actionSave.setText(_translate("MainWindow", "Save"))
          self.actionSave.setStatusTip(_translate("MainWindow", "Saved!"))
          self.actionSave.setShortcut(_translate("MainWindow", "Ctrl+S"))
          self.actionSave_as.setText(_translate("MainWindow", "Save as"))
          self.actionSave_as.setStatusTip(_translate("MainWindow", "Saved on new file"))
          self.actionSave_as.setShortcut(_translate("MainWindow", "Ctrl+Shift+S"))
          self.actionCopy.setText(_translate("MainWindow", "Copy"))
          self.actionCopy.setShortcut(_translate("MainWindow", "Ctrl+C"))
          self.actionPaste.setText(_translate("MainWindow", "Paste"))
          self.actionPaste.setShortcut(_translate("MainWindow", "Ctrl+V"))
  
      def clicked(self,text):
          self.label1.setText(text)
          self.label1.adjustSize()
  
  if __name__ == "__main__":
      import sys
      app = QtWidgets.QApplication(sys.argv)
      MainWindow = QtWidgets.QMainWindow()
      ui = Ui_MainWindow()
      ui.setupUi(MainWindow)
      MainWindow.show()
      sys.exit(app.exec_())
  