# Form implementation generated from reading ui file 'self.ui'
#
# Created by: PyQt6 UI code generator 6.4.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setWindowModality(QtCore.Qt.WindowModality.NonModal)
        MainWindow.resize(960, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.tw_content = QtWidgets.QTabWidget(self.centralwidget)
        self.tw_content.setObjectName("tw_content")
        self.gridLayout.addWidget(self.tw_content, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 960, 24))
        self.menubar.setObjectName("menubar")
        self.m_main = QtWidgets.QMenu(self.menubar)
        self.m_main.setObjectName("m_main")
        self.m_extract_mode = QtWidgets.QMenu(self.m_main)
        self.m_extract_mode.setObjectName("m_extract_mode")
        self.m_npk = QtWidgets.QMenu(self.menubar)
        self.m_npk.setObjectName("m_npk")
        self.m_sound = QtWidgets.QMenu(self.m_npk)
        self.m_sound.setObjectName("m_sound")
        self.m_img = QtWidgets.QMenu(self.menubar)
        self.m_img.setObjectName("m_img")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.a_open = QtGui.QAction(MainWindow)
        self.a_open.setObjectName("a_open")
        self.a_close = QtGui.QAction(MainWindow)
        self.a_close.setObjectName("a_close")
        self.a_insert_img = QtGui.QAction(MainWindow)
        self.a_insert_img.setObjectName("a_insert_img")
        self.a_replace_img = QtGui.QAction(MainWindow)
        self.a_replace_img.setObjectName("a_replace_img")
        self.a_remove_img = QtGui.QAction(MainWindow)
        self.a_remove_img.setObjectName("a_remove_img")
        self.a_insert_npk = QtGui.QAction(MainWindow)
        self.a_insert_npk.setObjectName("a_insert_npk")
        self.a_replace_npk = QtGui.QAction(MainWindow)
        self.a_replace_npk.setObjectName("a_replace_npk")
        self.a_remove_npk = QtGui.QAction(MainWindow)
        self.a_remove_npk.setObjectName("a_remove_npk")
        self.a_sound_play = QtGui.QAction(MainWindow)
        self.a_sound_play.setObjectName("a_sound_play")
        self.a_sound_pause = QtGui.QAction(MainWindow)
        self.a_sound_pause.setObjectName("a_sound_pause")
        self.a_sound_stop = QtGui.QAction(MainWindow)
        self.a_sound_stop.setObjectName("a_sound_stop")
        self.a_sound_loop = QtGui.QAction(MainWindow)
        self.a_sound_loop.setCheckable(True)
        self.a_sound_loop.setObjectName("a_sound_loop")
        self.a_load_img = QtGui.QAction(MainWindow)
        self.a_load_img.setObjectName("a_load_img")
        self.a_extract_npk = QtGui.QAction(MainWindow)
        self.a_extract_npk.setObjectName("a_extract_npk")
        self.a_extract_img = QtGui.QAction(MainWindow)
        self.a_extract_img.setObjectName("a_extract_img")
        self.a_extract_all_npk = QtGui.QAction(MainWindow)
        self.a_extract_all_npk.setObjectName("a_extract_all_npk")
        self.a_extract_all_img = QtGui.QAction(MainWindow)
        self.a_extract_all_img.setObjectName("a_extract_all_img")
        self.a_extract_dir = QtGui.QAction(MainWindow)
        self.a_extract_dir.setObjectName("a_extract_dir")
        self.a_save = QtGui.QAction(MainWindow)
        self.a_save.setObjectName("a_save")
        self.a_extract_mode_raw = QtGui.QAction(MainWindow)
        self.a_extract_mode_raw.setCheckable(True)
        self.a_extract_mode_raw.setObjectName("a_extract_mode_raw")
        self.a_extract_mode_wodir = QtGui.QAction(MainWindow)
        self.a_extract_mode_wodir.setCheckable(True)
        self.a_extract_mode_wodir.setChecked(True)
        self.a_extract_mode_wodir.setObjectName("a_extract_mode_wodir")
        self.a_extract_sprite = QtGui.QAction(MainWindow)
        self.a_extract_sprite.setObjectName("a_extract_sprite")
        self.a_extract_all_sprite = QtGui.QAction(MainWindow)
        self.a_extract_all_sprite.setObjectName("a_extract_all_sprite")
        self.a_sound_single = QtGui.QAction(MainWindow)
        self.a_sound_single.setCheckable(True)
        self.a_sound_single.setChecked(True)
        self.a_sound_single.setObjectName("a_sound_single")
        self.a_extract_pos_info = QtGui.QAction(MainWindow)
        self.a_extract_pos_info.setObjectName("a_extract_pos_info")
        self.a_extract_img_all_npk = QtGui.QAction(MainWindow)
        self.a_extract_img_all_npk.setObjectName("a_extract_img_all_npk")
        self.a_clean_no_std = QtGui.QAction(MainWindow)
        self.a_clean_no_std.setObjectName("a_clean_no_std")
        self.a_clean_duplicate = QtGui.QAction(MainWindow)
        self.a_clean_duplicate.setObjectName("a_clean_duplicate")
        self.a_load_img_force = QtGui.QAction(MainWindow)
        self.a_load_img_force.setObjectName("a_load_img_force")
        self.m_extract_mode.addAction(self.a_extract_mode_wodir)
        self.m_extract_mode.addAction(self.a_extract_mode_raw)
        self.m_main.addAction(self.a_open)
        self.m_main.addSeparator()
        self.m_main.addAction(self.a_extract_dir)
        self.m_main.addAction(self.m_extract_mode.menuAction())
        self.m_main.addSeparator()
        self.m_main.addAction(self.a_save)
        self.m_main.addSeparator()
        self.m_main.addAction(self.a_close)
        self.m_sound.addAction(self.a_sound_play)
        self.m_sound.addAction(self.a_sound_pause)
        self.m_sound.addAction(self.a_sound_stop)
        self.m_sound.addSeparator()
        self.m_sound.addAction(self.a_sound_loop)
        self.m_sound.addAction(self.a_sound_single)
        self.m_npk.addAction(self.a_load_img)
        self.m_npk.addAction(self.a_load_img_force)
        self.m_npk.addSeparator()
        self.m_npk.addAction(self.a_extract_npk)
        self.m_npk.addAction(self.a_extract_all_npk)
        self.m_npk.addSeparator()
        self.m_npk.addAction(self.a_extract_img_all_npk)
        self.m_npk.addSeparator()
        self.m_npk.addAction(self.a_insert_npk)
        self.m_npk.addAction(self.a_replace_npk)
        self.m_npk.addAction(self.a_remove_npk)
        self.m_npk.addSeparator()
        self.m_npk.addAction(self.m_sound.menuAction())
        self.m_npk.addSeparator()
        self.m_npk.addAction(self.a_clean_no_std)
        self.m_npk.addAction(self.a_clean_duplicate)
        self.m_img.addAction(self.a_extract_img)
        self.m_img.addAction(self.a_extract_all_img)
        self.m_img.addSeparator()
        self.m_img.addAction(self.a_extract_sprite)
        self.m_img.addAction(self.a_extract_all_sprite)
        self.m_img.addSeparator()
        self.m_img.addAction(self.a_extract_pos_info)
        self.m_img.addSeparator()
        self.m_img.addAction(self.a_insert_img)
        self.m_img.addAction(self.a_replace_img)
        self.m_img.addAction(self.a_remove_img)
        self.menubar.addAction(self.m_main.menuAction())
        self.menubar.addAction(self.m_npk.menuAction())
        self.menubar.addAction(self.m_img.menuAction())

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "OjoDnfExtractor"))
        self.m_main.setTitle(_translate("MainWindow", "主菜单"))
        self.m_extract_mode.setTitle(_translate("MainWindow", "提取模式"))
        self.m_npk.setTitle(_translate("MainWindow", "NPK"))
        self.m_sound.setTitle(_translate("MainWindow", "音效"))
        self.m_img.setTitle(_translate("MainWindow", "IMG"))
        self.a_open.setText(_translate("MainWindow", "打开..."))
        self.a_open.setShortcut(_translate("MainWindow", "Ctrl+O"))
        self.a_close.setText(_translate("MainWindow", "关闭"))
        self.a_close.setShortcut(_translate("MainWindow", "Ctrl+W"))
        self.a_insert_img.setText(_translate("MainWindow", "插入图像"))
        self.a_replace_img.setText(_translate("MainWindow", "替换图像"))
        self.a_remove_img.setText(_translate("MainWindow", "移除图像"))
        self.a_insert_npk.setText(_translate("MainWindow", "插入文件"))
        self.a_replace_npk.setText(_translate("MainWindow", "替换文件"))
        self.a_remove_npk.setText(_translate("MainWindow", "移除文件"))
        self.a_sound_play.setText(_translate("MainWindow", "播放"))
        self.a_sound_play.setShortcut(_translate("MainWindow", "Ctrl+R"))
        self.a_sound_pause.setText(_translate("MainWindow", "暂停"))
        self.a_sound_pause.setShortcut(_translate("MainWindow", "Ctrl+E"))
        self.a_sound_stop.setText(_translate("MainWindow", "停止"))
        self.a_sound_stop.setShortcut(_translate("MainWindow", "Ctrl+D"))
        self.a_sound_loop.setText(_translate("MainWindow", "是否循环"))
        self.a_load_img.setText(_translate("MainWindow", "加载IMG文件"))
        self.a_load_img.setShortcut(_translate("MainWindow", "Ctrl+L"))
        self.a_extract_npk.setText(_translate("MainWindow", "提取文件"))
        self.a_extract_npk.setShortcut(_translate("MainWindow", "Ctrl+Alt+S"))
        self.a_extract_img.setText(_translate("MainWindow", "提取图像"))
        self.a_extract_img.setShortcut(_translate("MainWindow", "Ctrl+Shift+S"))
        self.a_extract_all_npk.setText(_translate("MainWindow", "提取所有文件"))
        self.a_extract_all_npk.setShortcut(_translate("MainWindow", "Meta+Ctrl+Alt+S"))
        self.a_extract_all_img.setText(_translate("MainWindow", "提取所有图像"))
        self.a_extract_all_img.setShortcut(_translate("MainWindow", "Meta+Ctrl+Shift+S"))
        self.a_extract_dir.setText(_translate("MainWindow", "设置提取目录"))
        self.a_save.setText(_translate("MainWindow", "保存..."))
        self.a_save.setShortcut(_translate("MainWindow", "Ctrl+S"))
        self.a_extract_mode_raw.setText(_translate("MainWindow", "原始结构"))
        self.a_extract_mode_wodir.setText(_translate("MainWindow", "仅文件名"))
        self.a_extract_sprite.setText(_translate("MainWindow", "提取图像（sprite）"))
        self.a_extract_all_sprite.setText(_translate("MainWindow", "提取所有图像（sprite）"))
        self.a_sound_single.setText(_translate("MainWindow", "单实例播放"))
        self.a_extract_pos_info.setText(_translate("MainWindow", "提取偏移信息"))
        self.a_extract_img_all_npk.setText(_translate("MainWindow", "提取所有IMG内容"))
        self.a_clean_no_std.setText(_translate("MainWindow", "清除非标准文件"))
        self.a_clean_duplicate.setText(_translate("MainWindow", "清除重复文件"))
        self.a_load_img_force.setText(_translate("MainWindow", "加载IMG文件（强制）"))
        self.a_load_img_force.setShortcut(_translate("MainWindow", "Ctrl+Shift+L"))
