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

# Form implementation generated from reading ui file '/home/huziwei/gongkong/ui_test/display.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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1234, 907)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setStyleSheet("")
        MainWindow.setIconSize(QtCore.QSize(24, 24))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setStyleSheet("\n"
"background-color: rgb(8, 31, 78);")
        self.centralwidget.setObjectName("centralwidget")
        self.video_widget = QtWidgets.QWidget(self.centralwidget)
        self.video_widget.setGeometry(QtCore.QRect(630, 5, 326, 301))
        self.video_widget.setObjectName("video_widget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.video_widget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.video_label = QtWidgets.QLabel(self.video_widget)
        self.video_label.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.video_label.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.video_label.setStyleSheet("border-width: 1px;\n"
"background-color: rgb(0, 0, 0);\n"
"border-style: solid;\n"
"border-color: rgb(0, 0, 0)\n"
"")
        self.video_label.setText("")
        self.video_label.setObjectName("video_label")
        self.horizontalLayout.addWidget(self.video_label)
        self.map_widget = QtWidgets.QWidget(self.centralwidget)
        self.map_widget.setGeometry(QtCore.QRect(5, 5, 616, 626))
        self.map_widget.setObjectName("map_widget")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.map_widget)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.map_label = QtWidgets.QLabel(self.map_widget)
        self.map_label.setStyleSheet("border-width: 1px;\n"
"border-left-color: rgb(255, 255, 255);\n"
"background-color: rgb(0, 0, 0);\n"
"border-style: solid;\n"
"border-color: rgb(0, 0, 0)")
        self.map_label.setText("")
        self.map_label.setObjectName("map_label")
        self.horizontalLayout_2.addWidget(self.map_label)
        self.robot_button_widget = QtWidgets.QWidget(self.centralwidget)
        self.robot_button_widget.setGeometry(QtCore.QRect(980, 774, 181, 86))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.robot_button_widget.sizePolicy().hasHeightForWidth())
        self.robot_button_widget.setSizePolicy(sizePolicy)
        self.robot_button_widget.setStyleSheet("background-color: rgb(32, 74, 135);")
        self.robot_button_widget.setObjectName("robot_button_widget")
        self.gridLayout = QtWidgets.QGridLayout(self.robot_button_widget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.right_down_Button = QtWidgets.QPushButton(self.robot_button_widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.right_down_Button.sizePolicy().hasHeightForWidth())
        self.right_down_Button.setSizePolicy(sizePolicy)
        self.right_down_Button.setObjectName("right_down_Button")
        self.gridLayout.addWidget(self.right_down_Button, 2, 1, 1, 1)
        self.right_right_Button = QtWidgets.QPushButton(self.robot_button_widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.right_right_Button.sizePolicy().hasHeightForWidth())
        self.right_right_Button.setSizePolicy(sizePolicy)
        self.right_right_Button.setObjectName("right_right_Button")
        self.gridLayout.addWidget(self.right_right_Button, 1, 2, 1, 1)
        self.right_left_Button = QtWidgets.QPushButton(self.robot_button_widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.right_left_Button.sizePolicy().hasHeightForWidth())
        self.right_left_Button.setSizePolicy(sizePolicy)
        self.right_left_Button.setObjectName("right_left_Button")
        self.gridLayout.addWidget(self.right_left_Button, 1, 0, 1, 1)
        self.right_up_Button = QtWidgets.QPushButton(self.robot_button_widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.right_up_Button.sizePolicy().hasHeightForWidth())
        self.right_up_Button.setSizePolicy(sizePolicy)
        self.right_up_Button.setObjectName("right_up_Button")
        self.gridLayout.addWidget(self.right_up_Button, 0, 1, 1, 1)
        self.ptz_button_widget = QtWidgets.QWidget(self.centralwidget)
        self.ptz_button_widget.setGeometry(QtCore.QRect(980, 655, 176, 111))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ptz_button_widget.sizePolicy().hasHeightForWidth())
        self.ptz_button_widget.setSizePolicy(sizePolicy)
        self.ptz_button_widget.setStyleSheet("background-color: rgb(32, 74, 135);")
        self.ptz_button_widget.setObjectName("ptz_button_widget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.ptz_button_widget)
        self.gridLayout_2.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.left_up_Button = QtWidgets.QPushButton(self.ptz_button_widget)
        self.left_up_Button.setObjectName("left_up_Button")
        self.gridLayout_2.addWidget(self.left_up_Button, 0, 1, 1, 1)
        self.left_right_Button = QtWidgets.QPushButton(self.ptz_button_widget)
        self.left_right_Button.setObjectName("left_right_Button")
        self.gridLayout_2.addWidget(self.left_right_Button, 1, 2, 1, 1)
        self.left_down_Button = QtWidgets.QPushButton(self.ptz_button_widget)
        self.left_down_Button.setObjectName("left_down_Button")
        self.gridLayout_2.addWidget(self.left_down_Button, 2, 1, 1, 1)
        self.left_left_Button = QtWidgets.QPushButton(self.ptz_button_widget)
        self.left_left_Button.setObjectName("left_left_Button")
        self.gridLayout_2.addWidget(self.left_left_Button, 1, 0, 1, 1)
        self.red_video_widget = QtWidgets.QWidget(self.centralwidget)
        self.red_video_widget.setGeometry(QtCore.QRect(630, 315, 326, 316))
        self.red_video_widget.setObjectName("red_video_widget")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.red_video_widget)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.red_video_label = QtWidgets.QLabel(self.red_video_widget)
        self.red_video_label.setStyleSheet("border-width: 1px;\n"
"background-color: rgb(0, 0, 0);\n"
"border-style: solid;\n"
"border-color: rgb(0, 0, 0)")
        self.red_video_label.setText("")
        self.red_video_label.setObjectName("red_video_label")
        self.horizontalLayout_3.addWidget(self.red_video_label)
        self.robot_status_widget = QtWidgets.QWidget(self.centralwidget)
        self.robot_status_widget.setGeometry(QtCore.QRect(975, 45, 200, 196))
        self.robot_status_widget.setStyleSheet("background-color: rgb(32, 74, 135);")
        self.robot_status_widget.setObjectName("robot_status_widget")
        self.formLayout = QtWidgets.QFormLayout(self.robot_status_widget)
        self.formLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout.setContentsMargins(0, 0, 0, 0)
        self.formLayout.setHorizontalSpacing(40)
        self.formLayout.setVerticalSpacing(20)
        self.formLayout.setObjectName("formLayout")
        self.link_status_label = QtWidgets.QLabel(self.robot_status_widget)
        self.link_status_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.link_status_label.setObjectName("link_status_label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.link_status_label)
        self.link_status_text_label = QtWidgets.QLabel(self.robot_status_widget)
        self.link_status_text_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.link_status_text_label.setObjectName("link_status_text_label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.link_status_text_label)
        self.battery_label = QtWidgets.QLabel(self.robot_status_widget)
        self.battery_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.battery_label.setObjectName("battery_label")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.battery_label)
        self.battery_text_label = QtWidgets.QLabel(self.robot_status_widget)
        self.battery_text_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.battery_text_label.setObjectName("battery_text_label")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.battery_text_label)
        self.robot_speed_label = QtWidgets.QLabel(self.robot_status_widget)
        self.robot_speed_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.robot_speed_label.setObjectName("robot_speed_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.robot_speed_label)
        self.robot_speed_text_label = QtWidgets.QLabel(self.robot_status_widget)
        self.robot_speed_text_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.robot_speed_text_label.setObjectName("robot_speed_text_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.robot_speed_text_label)
        self.charger_status_label = QtWidgets.QLabel(self.robot_status_widget)
        self.charger_status_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.charger_status_label.setObjectName("charger_status_label")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.charger_status_label)
        self.charger_status_text_label = QtWidgets.QLabel(self.robot_status_widget)
        self.charger_status_text_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.charger_status_text_label.setObjectName("charger_status_text_label")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.charger_status_text_label)
        self.navigate_speed_label = QtWidgets.QLabel(self.robot_status_widget)
        self.navigate_speed_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.navigate_speed_label.setObjectName("navigate_speed_label")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.navigate_speed_label)
        self.navigate_speed_text_label = QtWidgets.QLabel(self.robot_status_widget)
        self.navigate_speed_text_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.navigate_speed_text_label.setObjectName("navigate_speed_text_label")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.navigate_speed_text_label)
        self.sensor_data_widget = QtWidgets.QWidget(self.centralwidget)
        self.sensor_data_widget.setGeometry(QtCore.QRect(975, 280, 206, 121))
        self.sensor_data_widget.setStyleSheet("background-color: rgb(32, 74, 135);")
        self.sensor_data_widget.setObjectName("sensor_data_widget")
        self.formLayout_2 = QtWidgets.QFormLayout(self.sensor_data_widget)
        self.formLayout_2.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout_2.setContentsMargins(0, 0, 0, 0)
        self.formLayout_2.setSpacing(20)
        self.formLayout_2.setObjectName("formLayout_2")
        self.gas_one_ = QtWidgets.QLabel(self.sensor_data_widget)
        self.gas_one_.setStyleSheet("color: rgb(255, 255, 255);")
        self.gas_one_.setObjectName("gas_one_")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.gas_one_)
        self.gas_two_label = QtWidgets.QLabel(self.sensor_data_widget)
        self.gas_two_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.gas_two_label.setObjectName("gas_two_label")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.gas_two_label)
        self.gas_two_text_label = QtWidgets.QLabel(self.sensor_data_widget)
        self.gas_two_text_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.gas_two_text_label.setObjectName("gas_two_text_label")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.gas_two_text_label)
        self.security_status_label = QtWidgets.QLabel(self.sensor_data_widget)
        self.security_status_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.security_status_label.setObjectName("security_status_label")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.security_status_label)
        self.security_status_text_label = QtWidgets.QLabel(self.sensor_data_widget)
        self.security_status_text_label.setStyleSheet("color: rgb(255, 255, 255);\n"
"background-color: rgb(78, 154, 6);")
        self.security_status_text_label.setObjectName("security_status_text_label")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.security_status_text_label)
        self.gas_one_text_label = QtWidgets.QLabel(self.sensor_data_widget)
        self.gas_one_text_label.setStyleSheet("color: rgb(255, 255, 255);")
        self.gas_one_text_label.setObjectName("gas_one_text_label")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.gas_one_text_label)
        self.robot_control_widget = QtWidgets.QWidget(self.centralwidget)
        self.robot_control_widget.setGeometry(QtCore.QRect(10, 660, 951, 156))
        self.robot_control_widget.setObjectName("robot_control_widget")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.robot_control_widget)
        self.gridLayout_3.setContentsMargins(30, 10, 30, 20)
        self.gridLayout_3.setHorizontalSpacing(40)
        self.gridLayout_3.setVerticalSpacing(10)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.control_display_label = QtWidgets.QLabel(self.robot_control_widget)
        self.control_display_label.setStyleSheet("color: rgb(255, 255, 255);\n"
"font: 57 16pt \"Ubuntu\";")
        self.control_display_label.setObjectName("control_display_label")
        self.gridLayout_3.addWidget(self.control_display_label, 0, 0, 1, 1)
        self.PTZ_control_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.PTZ_control_Button.setStyleSheet("background-color: rgb(233, 185, 110);")
        self.PTZ_control_Button.setObjectName("PTZ_control_Button")
        self.gridLayout_3.addWidget(self.PTZ_control_Button, 1, 5, 1, 1)
        self.navigate_stop_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.navigate_stop_Button.setStyleSheet("background-color: rgb(239, 41, 41);")
        self.navigate_stop_Button.setObjectName("navigate_stop_Button")
        self.gridLayout_3.addWidget(self.navigate_stop_Button, 1, 3, 1, 1)
        self.navigate_back_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.navigate_back_Button.setStyleSheet("background-color: rgb(247, 231, 26);")
        self.navigate_back_Button.setObjectName("navigate_back_Button")
        self.gridLayout_3.addWidget(self.navigate_back_Button, 1, 2, 1, 1)
        self.navigate_cruise_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.navigate_cruise_Button.setStyleSheet("background-color: rgb(10, 109, 248);")
        self.navigate_cruise_Button.setObjectName("navigate_cruise_Button")
        self.gridLayout_3.addWidget(self.navigate_cruise_Button, 1, 0, 1, 1)
        self.add_navigate_task_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.add_navigate_task_Button.setStyleSheet("background-color: rgb(115, 210, 22);")
        self.add_navigate_task_Button.setObjectName("add_navigate_task_Button")
        self.gridLayout_3.addWidget(self.add_navigate_task_Button, 2, 0, 1, 1)
        self.delect_task_point_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.delect_task_point_Button.setStyleSheet("background-color: rgb(92, 53, 102);")
        self.delect_task_point_Button.setObjectName("delect_task_point_Button")
        self.gridLayout_3.addWidget(self.delect_task_point_Button, 2, 2, 1, 1)
        self.resume_navigate_task_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.resume_navigate_task_Button.setStyleSheet("background-color: rgb(143, 89, 2);")
        self.resume_navigate_task_Button.setObjectName("resume_navigate_task_Button")
        self.gridLayout_3.addWidget(self.resume_navigate_task_Button, 2, 3, 1, 1)
        self.Robot_control_Button = QtWidgets.QPushButton(self.robot_control_widget)
        self.Robot_control_Button.setStyleSheet("background-color: rgb(238, 238, 236);")
        self.Robot_control_Button.setObjectName("Robot_control_Button")
        self.gridLayout_3.addWidget(self.Robot_control_Button, 2, 5, 1, 1)
        self.tableView = QtWidgets.QTableView(self.centralwidget)
        self.tableView.setGeometry(QtCore.QRect(970, 415, 181, 226))
        self.tableView.setStyleSheet("color: rgb(238, 238, 236);\n"
"background-color: rgb(32, 74, 135);")
        self.tableView.setObjectName("tableView")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1234, 28))
        self.menubar.setObjectName("menubar")
        self.map_menu = QtWidgets.QMenu(self.menubar)
        self.map_menu.setObjectName("map_menu")
        self.position_menu = QtWidgets.QMenu(self.menubar)
        self.position_menu.setObjectName("position_menu")
        self.navigate_menu = QtWidgets.QMenu(self.menubar)
        self.navigate_menu.setObjectName("navigate_menu")
        self.speed_menu = QtWidgets.QMenu(self.menubar)
        self.speed_menu.setObjectName("speed_menu")
        MainWindow.setMenuBar(self.menubar)
        self.new_map_act = QtWidgets.QAction(MainWindow)
        self.new_map_act.setObjectName("new_map_act")
        self.extend_map_act = QtWidgets.QAction(MainWindow)
        self.extend_map_act.setObjectName("extend_map_act")
        self.load_map_act = QtWidgets.QAction(MainWindow)
        self.load_map_act.setObjectName("load_map_act")
        self.delete_map_act = QtWidgets.QAction(MainWindow)
        self.delete_map_act.setObjectName("delete_map_act")
        self.add_position_act = QtWidgets.QAction(MainWindow)
        self.add_position_act.setObjectName("add_position_act")
        self.delete_position_act = QtWidgets.QAction(MainWindow)
        self.delete_position_act.setObjectName("delete_position_act")
        self.start_navigate_act = QtWidgets.QAction(MainWindow)
        self.start_navigate_act.setObjectName("start_navigate_act")
        self.pause_navigate_act = QtWidgets.QAction(MainWindow)
        self.pause_navigate_act.setObjectName("pause_navigate_act")
        self.resume_navigate_act = QtWidgets.QAction(MainWindow)
        self.resume_navigate_act.setObjectName("resume_navigate_act")
        self.cancel_navigate_act = QtWidgets.QAction(MainWindow)
        self.cancel_navigate_act.setObjectName("cancel_navigate_act")
        self.low_speed_act = QtWidgets.QAction(MainWindow)
        self.low_speed_act.setObjectName("low_speed_act")
        self.middle_speed_act = QtWidgets.QAction(MainWindow)
        self.middle_speed_act.setObjectName("middle_speed_act")
        self.high_speed_act = QtWidgets.QAction(MainWindow)
        self.high_speed_act.setObjectName("high_speed_act")
        self.map_menu.addAction(self.new_map_act)
        self.map_menu.addSeparator()
        self.map_menu.addAction(self.extend_map_act)
        self.map_menu.addSeparator()
        self.map_menu.addAction(self.load_map_act)
        self.map_menu.addSeparator()
        self.map_menu.addAction(self.delete_map_act)
        self.position_menu.addAction(self.add_position_act)
        self.position_menu.addSeparator()
        self.position_menu.addAction(self.delete_position_act)
        self.position_menu.addSeparator()
        self.navigate_menu.addSeparator()
        self.navigate_menu.addAction(self.start_navigate_act)
        self.navigate_menu.addSeparator()
        self.navigate_menu.addAction(self.pause_navigate_act)
        self.navigate_menu.addSeparator()
        self.navigate_menu.addAction(self.resume_navigate_act)
        self.navigate_menu.addSeparator()
        self.navigate_menu.addAction(self.cancel_navigate_act)
        self.speed_menu.addAction(self.low_speed_act)
        self.speed_menu.addSeparator()
        self.speed_menu.addAction(self.middle_speed_act)
        self.speed_menu.addSeparator()
        self.speed_menu.addAction(self.high_speed_act)
        self.menubar.addAction(self.map_menu.menuAction())
        self.menubar.addAction(self.position_menu.menuAction())
        self.menubar.addAction(self.navigate_menu.menuAction())
        self.menubar.addAction(self.speed_menu.menuAction())

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "巡检机器人"))
        self.right_down_Button.setText(_translate("MainWindow", "down"))
        self.right_right_Button.setText(_translate("MainWindow", "right"))
        self.right_left_Button.setText(_translate("MainWindow", "left"))
        self.right_up_Button.setText(_translate("MainWindow", "up"))
        self.left_up_Button.setText(_translate("MainWindow", "up"))
        self.left_right_Button.setText(_translate("MainWindow", "right"))
        self.left_down_Button.setText(_translate("MainWindow", "down"))
        self.left_left_Button.setText(_translate("MainWindow", "left"))
        self.link_status_label.setText(_translate("MainWindow", "链接状态:"))
        self.link_status_text_label.setText(_translate("MainWindow", "等待链接"))
        self.battery_label.setText(_translate("MainWindow", "电池电量:"))
        self.battery_text_label.setText(_translate("MainWindow", "null"))
        self.robot_speed_label.setText(_translate("MainWindow", "实时速度:"))
        self.robot_speed_text_label.setText(_translate("MainWindow", "null"))
        self.charger_status_label.setText(_translate("MainWindow", "充电状态:"))
        self.charger_status_text_label.setText(_translate("MainWindow", "null"))
        self.navigate_speed_label.setText(_translate("MainWindow", "导航速度:"))
        self.navigate_speed_text_label.setText(_translate("MainWindow", "低速"))
        self.gas_one_.setText(_translate("MainWindow", "可燃气浓度1:"))
        self.gas_two_label.setText(_translate("MainWindow", "可燃气浓度2:"))
        self.gas_two_text_label.setText(_translate("MainWindow", "0%"))
        self.security_status_label.setText(_translate("MainWindow", "安全状态:"))
        self.security_status_text_label.setText(_translate("MainWindow", "安全"))
        self.gas_one_text_label.setText(_translate("MainWindow", "0%"))
        self.control_display_label.setText(_translate("MainWindow", "机器人控制"))
        self.PTZ_control_Button.setText(_translate("MainWindow", "云台控制"))
        self.navigate_stop_Button.setText(_translate("MainWindow", "一键急停"))
        self.navigate_back_Button.setText(_translate("MainWindow", "一键返航"))
        self.navigate_cruise_Button.setText(_translate("MainWindow", "一键巡航"))
        self.add_navigate_task_Button.setText(_translate("MainWindow", "添加巡航任务点"))
        self.delect_task_point_Button.setText(_translate("MainWindow", "删除任务点"))
        self.resume_navigate_task_Button.setText(_translate("MainWindow", "恢复巡航"))
        self.Robot_control_Button.setText(_translate("MainWindow", "机器人控制"))
        self.map_menu.setTitle(_translate("MainWindow", "地图"))
        self.position_menu.setTitle(_translate("MainWindow", "标记点"))
        self.navigate_menu.setTitle(_translate("MainWindow", "导航"))
        self.speed_menu.setTitle(_translate("MainWindow", "速度"))
        self.new_map_act.setText(_translate("MainWindow", "新建地图"))
        self.extend_map_act.setText(_translate("MainWindow", "扩展地图"))
        self.load_map_act.setText(_translate("MainWindow", "加载地图"))
        self.delete_map_act.setText(_translate("MainWindow", "删除地图"))
        self.add_position_act.setText(_translate("MainWindow", "添加标记点"))
        self.delete_position_act.setText(_translate("MainWindow", "删除标记点"))
        self.start_navigate_act.setText(_translate("MainWindow", "导航开始"))
        self.pause_navigate_act.setText(_translate("MainWindow", "导航暂停"))
        self.resume_navigate_act.setText(_translate("MainWindow", "恢复导航"))
        self.cancel_navigate_act.setText(_translate("MainWindow", "取消导航"))
        self.low_speed_act.setText(_translate("MainWindow", "低速"))
        self.middle_speed_act.setText(_translate("MainWindow", "中速"))
        self.high_speed_act.setText(_translate("MainWindow", "高速"))
