<reponame>JN513/image-editor
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'form.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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_Main(object):
    def setupUi(self, Main):
        Main.setObjectName("Main")
        Main.resize(896, 670)
        self.centralwidget = QtWidgets.QWidget(Main)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_5.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_5.setObjectName("pushButton_5")
        self.verticalLayout_2.addWidget(self.pushButton_5)
        self.pushButton_9 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_9.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_9.setObjectName("pushButton_9")
        self.verticalLayout_2.addWidget(self.pushButton_9)
        self.pushButton_11 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_11.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_11.setObjectName("pushButton_11")
        self.verticalLayout_2.addWidget(self.pushButton_11)
        self.pushButton_12 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_12.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_12.setObjectName("pushButton_12")
        self.verticalLayout_2.addWidget(self.pushButton_12)
        self.pushButton_10 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_10.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_10.setObjectName("pushButton_10")
        self.verticalLayout_2.addWidget(self.pushButton_10)
        self.pushButton_8 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_8.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_8.setObjectName("pushButton_8")
        self.verticalLayout_2.addWidget(self.pushButton_8)
        self.pushButton_7 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_7.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_7.setObjectName("pushButton_7")
        self.verticalLayout_2.addWidget(self.pushButton_7)
        self.pushButton_6 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_6.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_6.setObjectName("pushButton_6")
        self.verticalLayout_2.addWidget(self.pushButton_6)
        self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_4.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_4.setObjectName("pushButton_4")
        self.verticalLayout_2.addWidget(self.pushButton_4)
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton.setObjectName("pushButton")
        self.verticalLayout_2.addWidget(self.pushButton)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.frame = QtWidgets.QFrame(self.centralwidget)
        self.frame.setMinimumSize(QtCore.QSize(450, 0))
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout.addWidget(self.frame)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.rotateanti = QtWidgets.QPushButton(self.centralwidget)
        self.rotateanti.setMinimumSize(QtCore.QSize(0, 61))
        self.rotateanti.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("icons/039rotate_99984.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.rotateanti.setIcon(icon)
        self.rotateanti.setObjectName("rotateanti")
        self.horizontalLayout_2.addWidget(self.rotateanti)
        self.rotatehorario = QtWidgets.QPushButton(self.centralwidget)
        self.rotatehorario.setMinimumSize(QtCore.QSize(0, 61))
        self.rotatehorario.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("icons/038rotate1_99878.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.rotatehorario.setIcon(icon1)
        self.rotatehorario.setObjectName("rotatehorario")
        self.horizontalLayout_2.addWidget(self.rotatehorario)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.reset_button = QtWidgets.QPushButton(self.centralwidget)
        self.reset_button.setMinimumSize(QtCore.QSize(0, 61))
        self.reset_button.setObjectName("reset_button")
        self.verticalLayout_3.addWidget(self.reset_button)
        self.close_image = QtWidgets.QPushButton(self.centralwidget)
        self.close_image.setMinimumSize(QtCore.QSize(0, 61))
        self.close_image.setObjectName("close_image")
        self.verticalLayout_3.addWidget(self.close_image)
        self.savebutton = QtWidgets.QPushButton(self.centralwidget)
        self.savebutton.setMinimumSize(QtCore.QSize(0, 61))
        self.savebutton.setObjectName("savebutton")
        self.verticalLayout_3.addWidget(self.savebutton)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        self.horizontalLayout_3.addLayout(self.horizontalLayout)
        Main.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(Main)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 896, 22))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuPreferences = QtWidgets.QMenu(self.menubar)
        self.menuPreferences.setObjectName("menuPreferences")
        self.menuHelp = QtWidgets.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        Main.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(Main)
        self.statusbar.setObjectName("statusbar")
        Main.setStatusBar(self.statusbar)
        self.actionExit = QtWidgets.QAction(Main)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("icons/close_111152.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon2)
        self.actionExit.setObjectName("actionExit")
        self.actionOpen = QtWidgets.QAction(Main)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap("icons/openfolderwithfile_122800.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpen.setIcon(icon3)
        self.actionOpen.setObjectName("actionOpen")
        self.actionSave = QtWidgets.QAction(Main)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap("icons/savetheapplication_guardar_2958.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave.setIcon(icon4)
        self.actionSave.setObjectName("actionSave")
        self.actionSave_as = QtWidgets.QAction(Main)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap("icons/save_3621.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_as.setIcon(icon5)
        self.actionSave_as.setObjectName("actionSave_as")
        self.actionClose_Image = QtWidgets.QAction(Main)
        self.actionClose_Image.setIcon(icon2)
        self.actionClose_Image.setObjectName("actionClose_Image")
        self.actionReset_Image = QtWidgets.QAction(Main)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap("icons/reset_undo_arrow_icon_149006.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionReset_Image.setIcon(icon6)
        self.actionReset_Image.setObjectName("actionReset_Image")
        self.actionSave_copy = QtWidgets.QAction(Main)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap("icons/copy_icon-icons.com_64492.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_copy.setIcon(icon7)
        self.actionSave_copy.setObjectName("actionSave_copy")
        self.actionLanguage = QtWidgets.QAction(Main)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap("icons/language_icon_144262.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionLanguage.setIcon(icon8)
        self.actionLanguage.setObjectName("actionLanguage")
        self.actionEditor = QtWidgets.QAction(Main)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap("icons/font-selection-editor_icon-icons.com_73557.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionEditor.setIcon(icon9)
        self.actionEditor.setObjectName("actionEditor")
        self.actionOn = QtWidgets.QAction(Main)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap("icons/4213426-about-description-help-info-information-notification_115427.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOn.setIcon(icon10)
        self.actionOn.setObjectName("actionOn")
        self.actionContributer = QtWidgets.QAction(Main)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap("icons/adb-contribute_icon-icons.com_50971.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionContributer.setIcon(icon11)
        self.actionContributer.setObjectName("actionContributer")
        self.actionHelp = QtWidgets.QAction(Main)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap("icons/Help_icon-icons.com_55891.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionHelp.setIcon(icon12)
        self.actionHelp.setObjectName("actionHelp")
        self.actionDocumentation = QtWidgets.QAction(Main)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap("icons/writing-on-an-open-book_icon-icons.com_70325.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionDocumentation.setIcon(icon13)
        self.actionDocumentation.setObjectName("actionDocumentation")
        self.actionPrint = QtWidgets.QAction(Main)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap("icons/Print_icon-icons.com_55835.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPrint.setIcon(icon14)
        self.actionPrint.setObjectName("actionPrint")
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSave_as)
        self.menuFile.addAction(self.actionSave_copy)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionPrint)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionReset_Image)
        self.menuFile.addAction(self.actionClose_Image)
        self.menuFile.addAction(self.actionExit)
        self.menuPreferences.addAction(self.actionLanguage)
        self.menuPreferences.addAction(self.actionEditor)
        self.menuHelp.addAction(self.actionHelp)
        self.menuHelp.addAction(self.actionDocumentation)
        self.menuHelp.addAction(self.actionOn)
        self.menuHelp.addAction(self.actionContributer)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuPreferences.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(Main)
        QtCore.QMetaObject.connectSlotsByName(Main)

    def retranslateUi(self, Main):
        _translate = QtCore.QCoreApplication.translate
        Main.setWindowTitle(_translate("Main", "Main"))
        self.pushButton_5.setText(_translate("Main", "Smooth Image"))
        self.pushButton_9.setText(_translate("Main", "Binary"))
        self.pushButton_11.setText(_translate("Main", "Binary reverse"))
        self.pushButton_12.setText(_translate("Main", "Binary trunc"))
        self.pushButton_10.setText(_translate("Main", "Binary to zero"))
        self.pushButton_8.setText(_translate("Main", "Binary to zero reverse"))
        self.pushButton_7.setText(_translate("Main", "Adaptative binary mean"))
        self.pushButton_6.setText(_translate("Main", "Adaptative binary gaussian"))
        self.pushButton_4.setText(_translate("Main", "Gray Scale"))
        self.pushButton.setText(_translate("Main", "Cartoon"))
        self.reset_button.setText(_translate("Main", "Reset"))
        self.close_image.setText(_translate("Main", "Close"))
        self.savebutton.setText(_translate("Main", "Save"))
        self.menuFile.setTitle(_translate("Main", "File"))
        self.menuPreferences.setTitle(_translate("Main", "Preferences"))
        self.menuHelp.setTitle(_translate("Main", "Help"))
        self.actionExit.setText(_translate("Main", "Exit"))
        self.actionExit.setShortcut(_translate("Main", "Ctrl+Q"))
        self.actionOpen.setText(_translate("Main", "Open"))
        self.actionOpen.setShortcut(_translate("Main", "Ctrl+O"))
        self.actionSave.setText(_translate("Main", "Save"))
        self.actionSave.setShortcut(_translate("Main", "Ctrl+S"))
        self.actionSave_as.setText(_translate("Main", "Save as"))
        self.actionSave_as.setShortcut(_translate("Main", "Ctrl+Shift+S"))
        self.actionClose_Image.setText(_translate("Main", "Close Image"))
        self.actionClose_Image.setShortcut(_translate("Main", "Ctrl+W"))
        self.actionReset_Image.setText(_translate("Main", "Reset Image"))
        self.actionSave_copy.setText(_translate("Main", "Save copy"))
        self.actionLanguage.setText(_translate("Main", "Language"))
        self.actionEditor.setText(_translate("Main", "Editor"))
        self.actionOn.setText(_translate("Main", "On"))
        self.actionContributer.setText(_translate("Main", "Contribute"))
        self.actionHelp.setText(_translate("Main", "Help"))
        self.actionHelp.setShortcut(_translate("Main", "F1"))
        self.actionDocumentation.setText(_translate("Main", "Documentation"))
        self.actionPrint.setText(_translate("Main", "Print"))
        self.actionPrint.setShortcut(_translate("Main", "Ctrl+P"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Main = QtWidgets.QMainWindow()
    ui = Ui_Main()
    ui.setupUi(Main)
    Main.show()
    sys.exit(app.exec_())

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'form.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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_Main(object):
    def setupUi(self, Main):
        Main.setObjectName("Main")
        Main.resize(896, 670)
        self.centralwidget = QtWidgets.QWidget(Main)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_5.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_5.setObjectName("pushButton_5")
        self.verticalLayout_2.addWidget(self.pushButton_5)
        self.pushButton_9 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_9.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_9.setObjectName("pushButton_9")
        self.verticalLayout_2.addWidget(self.pushButton_9)
        self.pushButton_11 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_11.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_11.setObjectName("pushButton_11")
        self.verticalLayout_2.addWidget(self.pushButton_11)
        self.pushButton_12 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_12.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_12.setObjectName("pushButton_12")
        self.verticalLayout_2.addWidget(self.pushButton_12)
        self.pushButton_10 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_10.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_10.setObjectName("pushButton_10")
        self.verticalLayout_2.addWidget(self.pushButton_10)
        self.pushButton_8 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_8.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_8.setObjectName("pushButton_8")
        self.verticalLayout_2.addWidget(self.pushButton_8)
        self.pushButton_7 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_7.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_7.setObjectName("pushButton_7")
        self.verticalLayout_2.addWidget(self.pushButton_7)
        self.pushButton_6 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_6.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_6.setObjectName("pushButton_6")
        self.verticalLayout_2.addWidget(self.pushButton_6)
        self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_4.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton_4.setObjectName("pushButton_4")
        self.verticalLayout_2.addWidget(self.pushButton_4)
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setMinimumSize(QtCore.QSize(0, 51))
        self.pushButton.setObjectName("pushButton")
        self.verticalLayout_2.addWidget(self.pushButton)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.frame = QtWidgets.QFrame(self.centralwidget)
        self.frame.setMinimumSize(QtCore.QSize(450, 0))
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout.addWidget(self.frame)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.rotateanti = QtWidgets.QPushButton(self.centralwidget)
        self.rotateanti.setMinimumSize(QtCore.QSize(0, 61))
        self.rotateanti.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("icons/039rotate_99984.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.rotateanti.setIcon(icon)
        self.rotateanti.setObjectName("rotateanti")
        self.horizontalLayout_2.addWidget(self.rotateanti)
        self.rotatehorario = QtWidgets.QPushButton(self.centralwidget)
        self.rotatehorario.setMinimumSize(QtCore.QSize(0, 61))
        self.rotatehorario.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("icons/038rotate1_99878.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.rotatehorario.setIcon(icon1)
        self.rotatehorario.setObjectName("rotatehorario")
        self.horizontalLayout_2.addWidget(self.rotatehorario)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.reset_button = QtWidgets.QPushButton(self.centralwidget)
        self.reset_button.setMinimumSize(QtCore.QSize(0, 61))
        self.reset_button.setObjectName("reset_button")
        self.verticalLayout_3.addWidget(self.reset_button)
        self.close_image = QtWidgets.QPushButton(self.centralwidget)
        self.close_image.setMinimumSize(QtCore.QSize(0, 61))
        self.close_image.setObjectName("close_image")
        self.verticalLayout_3.addWidget(self.close_image)
        self.savebutton = QtWidgets.QPushButton(self.centralwidget)
        self.savebutton.setMinimumSize(QtCore.QSize(0, 61))
        self.savebutton.setObjectName("savebutton")
        self.verticalLayout_3.addWidget(self.savebutton)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        self.horizontalLayout_3.addLayout(self.horizontalLayout)
        Main.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(Main)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 896, 22))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuPreferences = QtWidgets.QMenu(self.menubar)
        self.menuPreferences.setObjectName("menuPreferences")
        self.menuHelp = QtWidgets.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        Main.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(Main)
        self.statusbar.setObjectName("statusbar")
        Main.setStatusBar(self.statusbar)
        self.actionExit = QtWidgets.QAction(Main)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("icons/close_111152.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon2)
        self.actionExit.setObjectName("actionExit")
        self.actionOpen = QtWidgets.QAction(Main)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap("icons/openfolderwithfile_122800.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpen.setIcon(icon3)
        self.actionOpen.setObjectName("actionOpen")
        self.actionSave = QtWidgets.QAction(Main)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap("icons/savetheapplication_guardar_2958.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave.setIcon(icon4)
        self.actionSave.setObjectName("actionSave")
        self.actionSave_as = QtWidgets.QAction(Main)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap("icons/save_3621.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_as.setIcon(icon5)
        self.actionSave_as.setObjectName("actionSave_as")
        self.actionClose_Image = QtWidgets.QAction(Main)
        self.actionClose_Image.setIcon(icon2)
        self.actionClose_Image.setObjectName("actionClose_Image")
        self.actionReset_Image = QtWidgets.QAction(Main)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap("icons/reset_undo_arrow_icon_149006.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionReset_Image.setIcon(icon6)
        self.actionReset_Image.setObjectName("actionReset_Image")
        self.actionSave_copy = QtWidgets.QAction(Main)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap("icons/copy_icon-icons.com_64492.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_copy.setIcon(icon7)
        self.actionSave_copy.setObjectName("actionSave_copy")
        self.actionLanguage = QtWidgets.QAction(Main)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap("icons/language_icon_144262.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionLanguage.setIcon(icon8)
        self.actionLanguage.setObjectName("actionLanguage")
        self.actionEditor = QtWidgets.QAction(Main)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap("icons/font-selection-editor_icon-icons.com_73557.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionEditor.setIcon(icon9)
        self.actionEditor.setObjectName("actionEditor")
        self.actionOn = QtWidgets.QAction(Main)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap("icons/4213426-about-description-help-info-information-notification_115427.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOn.setIcon(icon10)
        self.actionOn.setObjectName("actionOn")
        self.actionContributer = QtWidgets.QAction(Main)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap("icons/adb-contribute_icon-icons.com_50971.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionContributer.setIcon(icon11)
        self.actionContributer.setObjectName("actionContributer")
        self.actionHelp = QtWidgets.QAction(Main)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap("icons/Help_icon-icons.com_55891.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionHelp.setIcon(icon12)
        self.actionHelp.setObjectName("actionHelp")
        self.actionDocumentation = QtWidgets.QAction(Main)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap("icons/writing-on-an-open-book_icon-icons.com_70325.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionDocumentation.setIcon(icon13)
        self.actionDocumentation.setObjectName("actionDocumentation")
        self.actionPrint = QtWidgets.QAction(Main)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap("icons/Print_icon-icons.com_55835.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPrint.setIcon(icon14)
        self.actionPrint.setObjectName("actionPrint")
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSave_as)
        self.menuFile.addAction(self.actionSave_copy)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionPrint)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionReset_Image)
        self.menuFile.addAction(self.actionClose_Image)
        self.menuFile.addAction(self.actionExit)
        self.menuPreferences.addAction(self.actionLanguage)
        self.menuPreferences.addAction(self.actionEditor)
        self.menuHelp.addAction(self.actionHelp)
        self.menuHelp.addAction(self.actionDocumentation)
        self.menuHelp.addAction(self.actionOn)
        self.menuHelp.addAction(self.actionContributer)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuPreferences.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(Main)
        QtCore.QMetaObject.connectSlotsByName(Main)

    def retranslateUi(self, Main):
        _translate = QtCore.QCoreApplication.translate
        Main.setWindowTitle(_translate("Main", "Main"))
        self.pushButton_5.setText(_translate("Main", "Smooth Image"))
        self.pushButton_9.setText(_translate("Main", "Binary"))
        self.pushButton_11.setText(_translate("Main", "Binary reverse"))
        self.pushButton_12.setText(_translate("Main", "Binary trunc"))
        self.pushButton_10.setText(_translate("Main", "Binary to zero"))
        self.pushButton_8.setText(_translate("Main", "Binary to zero reverse"))
        self.pushButton_7.setText(_translate("Main", "Adaptative binary mean"))
        self.pushButton_6.setText(_translate("Main", "Adaptative binary gaussian"))
        self.pushButton_4.setText(_translate("Main", "Gray Scale"))
        self.pushButton.setText(_translate("Main", "Cartoon"))
        self.reset_button.setText(_translate("Main", "Reset"))
        self.close_image.setText(_translate("Main", "Close"))
        self.savebutton.setText(_translate("Main", "Save"))
        self.menuFile.setTitle(_translate("Main", "File"))
        self.menuPreferences.setTitle(_translate("Main", "Preferences"))
        self.menuHelp.setTitle(_translate("Main", "Help"))
        self.actionExit.setText(_translate("Main", "Exit"))
        self.actionExit.setShortcut(_translate("Main", "Ctrl+Q"))
        self.actionOpen.setText(_translate("Main", "Open"))
        self.actionOpen.setShortcut(_translate("Main", "Ctrl+O"))
        self.actionSave.setText(_translate("Main", "Save"))
        self.actionSave.setShortcut(_translate("Main", "Ctrl+S"))
        self.actionSave_as.setText(_translate("Main", "Save as"))
        self.actionSave_as.setShortcut(_translate("Main", "Ctrl+Shift+S"))
        self.actionClose_Image.setText(_translate("Main", "Close Image"))
        self.actionClose_Image.setShortcut(_translate("Main", "Ctrl+W"))
        self.actionReset_Image.setText(_translate("Main", "Reset Image"))
        self.actionSave_copy.setText(_translate("Main", "Save copy"))
        self.actionLanguage.setText(_translate("Main", "Language"))
        self.actionEditor.setText(_translate("Main", "Editor"))
        self.actionOn.setText(_translate("Main", "On"))
        self.actionContributer.setText(_translate("Main", "Contribute"))
        self.actionHelp.setText(_translate("Main", "Help"))
        self.actionHelp.setShortcut(_translate("Main", "F1"))
        self.actionDocumentation.setText(_translate("Main", "Documentation"))
        self.actionPrint.setText(_translate("Main", "Print"))
        self.actionPrint.setShortcut(_translate("Main", "Ctrl+P"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Main = QtWidgets.QMainWindow()
    ui = Ui_Main()
    ui.setupUi(Main)
    Main.show()
    sys.exit(app.exec_())
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'form.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # 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.