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

# Form implementation generated from reading ui file 'guipy.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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(841, 465)
        MainWindow.setFixedSize(818, 478)
        MainWindow.setWindowIcon(QtGui.QIcon('logo.ico'))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.dhcpbox = QtWidgets.QGroupBox(self.centralwidget)
        self.dhcpbox.setGeometry(QtCore.QRect(20, 50, 241, 151))
        self.dhcpbox.setFlat(True)
        self.dhcpbox.setObjectName("dhcpbox")
        self.dhcp_generatebtn = QtWidgets.QPushButton(self.dhcpbox)
        self.dhcp_generatebtn.setGeometry(QtCore.QRect(80, 120, 75, 23))
        self.dhcp_generatebtn.setFlat(False)
        self.dhcp_generatebtn.setObjectName("dhcp_generatebtn")
        self.officenametxt = QtWidgets.QLineEdit(self.dhcpbox)
        self.officenametxt.setGeometry(QtCore.QRect(20, 30, 113, 20))
        self.officenametxt.setObjectName("officenametxt")
        self.networkaddresstxt = QtWidgets.QLineEdit(self.dhcpbox)
        self.networkaddresstxt.setGeometry(QtCore.QRect(20, 60, 113, 20))
        self.networkaddresstxt.setObjectName("networkaddresstxt")
        self.dhcp_slider = QtWidgets.QSlider(self.dhcpbox)
        self.dhcp_slider.setGeometry(QtCore.QRect(40, 90, 160, 22))
        self.dhcp_slider.setMinimum(1)
        self.dhcp_slider.setMaximum(31)
        self.dhcp_slider.setProperty("value", 24)
        self.dhcp_slider.setOrientation(QtCore.Qt.Horizontal)
        self.dhcp_slider.setObjectName("dhcp_slider")
        self.dhcp_spinbox = QtWidgets.QSpinBox(self.dhcpbox)
        self.dhcp_spinbox.setGeometry(QtCore.QRect(160, 60, 42, 20))
        self.dhcp_spinbox.setMinimum(1)
        self.dhcp_spinbox.setMaximum(31)
        self.dhcp_spinbox.setProperty("value", 24)
        self.dhcp_spinbox.setObjectName("dhcp_spinbox")
        self.label = QtWidgets.QLabel(self.dhcpbox)
        self.label.setGeometry(QtCore.QRect(140, 60, 16, 16))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.output_plaintext = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.output_plaintext.setGeometry(QtCore.QRect(270, 50, 531, 331))
        self.output_plaintext.setFrameShadow(QtWidgets.QFrame.Plain)
        self.output_plaintext.setDocumentTitle("")
        self.output_plaintext.setReadOnly(True)
        self.output_plaintext.setBackgroundVisible(True)
        self.output_plaintext.setCenterOnScroll(False)
        self.output_plaintext.setObjectName("output_plaintext")
        self.qosbox = QtWidgets.QGroupBox(self.centralwidget)
        self.qosbox.setGeometry(QtCore.QRect(580, 540, 241, 151))
        self.qosbox.setFlat(False)
        self.qosbox.setObjectName("qosbox")
        self.qos_generatebtn = QtWidgets.QPushButton(self.qosbox)
        self.qos_generatebtn.setGeometry(QtCore.QRect(80, 110, 81, 23))
        self.qos_generatebtn.setFlat(False)
        self.qos_generatebtn.setObjectName("qos_generatebtn")
        self.policynametxt = QtWidgets.QLineEdit(self.qosbox)
        self.policynametxt.setGeometry(QtCore.QRect(30, 40, 113, 20))
        self.policynametxt.setObjectName("policynametxt")
        self.bw_spinbox = QtWidgets.QSpinBox(self.qosbox)
        self.bw_spinbox.setGeometry(QtCore.QRect(150, 40, 42, 21))
        self.bw_spinbox.setMinimum(0)
        self.bw_spinbox.setMaximum(300)
        self.bw_spinbox.setSingleStep(10)
        self.bw_spinbox.setProperty("value", 10)
        self.bw_spinbox.setDisplayIntegerBase(10)
        self.bw_spinbox.setObjectName("bw_spinbox")
        self.qos_slider = QtWidgets.QSlider(self.qosbox)
        self.qos_slider.setGeometry(QtCore.QRect(30, 80, 160, 22))
        self.qos_slider.setMinimum(0)
        self.qos_slider.setMaximum(300)
        self.qos_slider.setSingleStep(10)
        self.qos_slider.setProperty("value", 10)
        self.qos_slider.setOrientation(QtCore.Qt.Horizontal)
        self.qos_slider.setObjectName("qos_slider")
        self.save_btn = QtWidgets.QPushButton(self.centralwidget)
        self.save_btn.setGeometry(QtCore.QRect(270, 390, 75, 23))
        self.save_btn.setObjectName("save_btn")
        self.ddosbox = QtWidgets.QGroupBox(self.centralwidget)
        self.ddosbox.setGeometry(QtCore.QRect(310, 540, 241, 161))
        self.ddosbox.setFlat(True)
        self.ddosbox.setObjectName("ddosbox")
        self.mitigatebtn = QtWidgets.QPushButton(self.ddosbox)
        self.mitigatebtn.setGeometry(QtCore.QRect(30, 100, 171, 23))
        self.mitigatebtn.setFlat(False)
        self.mitigatebtn.setObjectName("mitigatebtn")
        self.divert_chkbox = QtWidgets.QCheckBox(self.ddosbox)
        self.divert_chkbox.setGeometry(QtCore.QRect(30, 20, 51, 17))
        self.divert_chkbox.setObjectName("divert_chkbox")
        self.nodivert_chkbox = QtWidgets.QCheckBox(self.ddosbox)
        self.nodivert_chkbox.setGeometry(QtCore.QRect(30, 40, 70, 17))
        self.nodivert_chkbox.setObjectName("nodivert_chkbox")
        self.divert_all_chkbox = QtWidgets.QCheckBox(self.ddosbox)
        self.divert_all_chkbox.setGeometry(QtCore.QRect(130, 20, 81, 17))
        self.divert_all_chkbox.setObjectName("divert_all_chkbox")
        self.no_divert_all_chkbox = QtWidgets.QCheckBox(self.ddosbox)
        self.no_divert_all_chkbox.setGeometry(QtCore.QRect(130, 40, 101, 17))
        self.no_divert_all_chkbox.setObjectName("no_divert_all_chkbox")
        self.ddos_netaddrcombobox = QtWidgets.QComboBox(self.ddosbox)
        self.ddos_netaddrcombobox.setGeometry(QtCore.QRect(30, 70, 171, 22))
        self.ddos_netaddrcombobox.setObjectName("ddos_netaddrcombobox")
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(20, 210, 241, 81))
        self.groupBox.setObjectName("groupBox")
        self.result_label = QtWidgets.QLabel(self.groupBox)
        self.result_label.setGeometry(QtCore.QRect(10, 50, 221, 16))
        font = QtGui.QFont()
        font.setPointSize(7)
        font.setBold(True)
        font.setWeight(75)
        self.result_label.setFont(font)
        self.result_label.setText("")
        self.result_label.setObjectName("result_label")
        self.task_label = QtWidgets.QLabel(self.groupBox)
        self.task_label.setGeometry(QtCore.QRect(10, 30, 231, 16))
        font = QtGui.QFont()
        font.setPointSize(7)
        font.setBold(True)
        font.setWeight(75)
        self.task_label.setFont(font)
        self.task_label.setText("")
        self.task_label.setObjectName("task_label")
        self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
        self.progressBar.setGeometry(QtCore.QRect(20, 300, 241, 23))
        self.progressBar.setProperty("value", 0)
        self.progressBar.setTextVisible(True)
        self.progressBar.setTextDirection(QtWidgets.QProgressBar.TopToBottom)
        self.progressBar.setObjectName("progressBar")
        self.dhcp_summary_groupbox = QtWidgets.QGroupBox(self.centralwidget)
        self.dhcp_summary_groupbox.setGeometry(QtCore.QRect(20, 330, 241, 81))
        self.dhcp_summary_groupbox.setObjectName("dhcp_summary_groupbox")
        self.total_pool_lbl = QtWidgets.QLabel(self.dhcp_summary_groupbox)
        self.total_pool_lbl.setGeometry(QtCore.QRect(10, 20, 221, 16))
        font = QtGui.QFont()
        font.setPointSize(7)
        font.setBold(True)
        font.setWeight(75)
        self.total_pool_lbl.setFont(font)
        self.total_pool_lbl.setText("")
        self.total_pool_lbl.setObjectName("total_pool_lbl")
        self.network_add_lbl = QtWidgets.QLabel(self.dhcp_summary_groupbox)
        self.network_add_lbl.setGeometry(QtCore.QRect(10, 40, 221, 16))
        font = QtGui.QFont()
        font.setPointSize(7)
        font.setBold(True)
        font.setWeight(75)
        self.network_add_lbl.setFont(font)
        self.network_add_lbl.setText("")
        self.network_add_lbl.setObjectName("network_add_lbl")
        self.netmask_lbl = QtWidgets.QLabel(self.dhcp_summary_groupbox)
        self.netmask_lbl.setGeometry(QtCore.QRect(10, 60, 221, 16))
        font = QtGui.QFont()
        font.setPointSize(7)
        font.setBold(True)
        font.setWeight(75)
        self.netmask_lbl.setFont(font)
        self.netmask_lbl.setText("")
        self.netmask_lbl.setObjectName("netmask_lbl")
        self.optional_dhcpbox = QtWidgets.QGroupBox(self.centralwidget)
        self.optional_dhcpbox.setGeometry(QtCore.QRect(30, 530, 241, 81))
        self.optional_dhcpbox.setObjectName("optional_dhcpbox")
        self.private_addr_cmbox = QtWidgets.QComboBox(self.optional_dhcpbox)
        self.private_addr_cmbox.setGeometry(QtCore.QRect(110, 30, 121, 20))
        self.private_addr_cmbox.setObjectName("private_addr_cmbox")
        self.label_2 = QtWidgets.QLabel(self.optional_dhcpbox)
        self.label_2.setGeometry(QtCore.QRect(10, 30, 91, 16))
        self.label_2.setObjectName("label_2")
        self.option_checkbox = QtWidgets.QCheckBox(self.centralwidget)
        self.option_checkbox.setGeometry(QtCore.QRect(20, 30, 70, 17))
        self.option_checkbox.setObjectName("option_checkbox")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 841, 21))
        self.menubar.setObjectName("menubar")
        self.menuConfig_Generator = QtWidgets.QMenu(self.menubar)
        self.menuConfig_Generator.setObjectName("menuConfig_Generator")
        self.menuNetwork_Task = QtWidgets.QMenu(self.menubar)
        self.menuNetwork_Task.setObjectName("menuNetwork_Task")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionDDOS = QtWidgets.QAction(MainWindow)
        self.actionDDOS.setObjectName("actionDDOS")
        self.actionRoute = QtWidgets.QAction(MainWindow)
        self.actionRoute.setObjectName("actionRoute")
        self.actionDHCP = QtWidgets.QAction(MainWindow)
        self.actionDHCP.setObjectName("actionDHCP")
        self.actionQOS = QtWidgets.QAction(MainWindow)
        self.actionQOS.setObjectName("actionQOS")
        self.menuConfig_Generator.addAction(self.actionDDOS)
        self.menuNetwork_Task.addAction(self.actionDHCP)
        self.menuNetwork_Task.addAction(self.actionQOS)
        self.menubar.addAction(self.menuConfig_Generator.menuAction())
        self.menubar.addAction(self.menuNetwork_Task.menuAction())

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Andres Helper"))
        self.dhcpbox.setTitle(_translate("MainWindow", "DHCP Generator"))
        self.dhcp_generatebtn.setText(_translate("MainWindow", "Generate"))
        self.dhcp_generatebtn.setShortcut(_translate("MainWindow", "Return"))
        self.officenametxt.setPlaceholderText(_translate("MainWindow", "Pool Name"))
        self.networkaddresstxt.setPlaceholderText(_translate("MainWindow", "Network Address"))
        self.label.setText(_translate("MainWindow", "/"))
        self.qosbox.setTitle(_translate("MainWindow", "QOS Generator"))
        self.qos_generatebtn.setText(_translate("MainWindow", "Generate"))
        self.qos_generatebtn.setShortcut(_translate("MainWindow", "Return"))
        self.policynametxt.setPlaceholderText(_translate("MainWindow", "Policy Name"))
        self.save_btn.setText(_translate("MainWindow", "Save"))
        self.ddosbox.setTitle(_translate("MainWindow", "DDOS Mitigation Helper"))
        self.mitigatebtn.setText(_translate("MainWindow", "Mitigate"))
        self.mitigatebtn.setShortcut(_translate("MainWindow", "Return"))
        self.divert_chkbox.setText(_translate("MainWindow", "Divert"))
        self.nodivert_chkbox.setText(_translate("MainWindow", "No Divert"))
        self.divert_all_chkbox.setText(_translate("MainWindow", "Divert All"))
        self.no_divert_all_chkbox.setText(_translate("MainWindow", "Remove All"))
        self.groupBox.setTitle(_translate("MainWindow", "Task Summary"))
        self.dhcp_summary_groupbox.setTitle(_translate("MainWindow", "Task Summary"))
        self.optional_dhcpbox.setTitle(_translate("MainWindow", "Optional"))
        self.label_2.setText(_translate("MainWindow", "Private IP Address:"))
        self.option_checkbox.setText(_translate("MainWindow", "Custom"))
        self.menuConfig_Generator.setTitle(_translate("MainWindow", "Net Automation"))
        self.menuNetwork_Task.setTitle(_translate("MainWindow", "Templates"))
        self.actionDDOS.setText(_translate("MainWindow", "DDOS"))
        self.actionDDOS.setShortcut(_translate("MainWindow", "Ctrl+M"))
        self.actionRoute.setText(_translate("MainWindow", "Route"))
        self.actionDHCP.setText(_translate("MainWindow", "DHCP"))
        self.actionDHCP.setShortcut(_translate("MainWindow", "Ctrl+D"))
        self.actionQOS.setText(_translate("MainWindow", "QOS"))
        self.actionQOS.setShortcut(_translate("MainWindow", "Ctrl+Q"))


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_())
