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

# Form implementation generated from reading ui file 'c:\Users\SpecterShell\Documents\Workspace\QPass\MainWindow.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(960, 717)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/fingerprint-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tabRecord = QtWidgets.QWidget()
        self.tabRecord.setObjectName("tabRecord")
        self.gridLayout = QtWidgets.QGridLayout(self.tabRecord)
        self.gridLayout.setObjectName("gridLayout")
        self.pushButtonDeleteRecord = QtWidgets.QPushButton(self.tabRecord)
        self.pushButtonDeleteRecord.setObjectName("pushButtonDeleteRecord")
        self.gridLayout.addWidget(self.pushButtonDeleteRecord, 0, 2, 1, 1)
        self.pushButtonNewRecord = QtWidgets.QPushButton(self.tabRecord)
        self.pushButtonNewRecord.setObjectName("pushButtonNewRecord")
        self.gridLayout.addWidget(self.pushButtonNewRecord, 0, 0, 1, 1)
        self.pushButtonEditRecord = QtWidgets.QPushButton(self.tabRecord)
        self.pushButtonEditRecord.setObjectName("pushButtonEditRecord")
        self.gridLayout.addWidget(self.pushButtonEditRecord, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
        self.treeRecord = QtWidgets.QTreeWidget(self.tabRecord)
        self.treeRecord.setObjectName("treeRecord")
        self.gridLayout.addWidget(self.treeRecord, 1, 0, 1, 4)
        self.tabWidget.addTab(self.tabRecord, "")
        self.tabIdentity = QtWidgets.QWidget()
        self.tabIdentity.setObjectName("tabIdentity")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.tabIdentity)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButtonDeleteIdentity = QtWidgets.QPushButton(self.tabIdentity)
        self.pushButtonDeleteIdentity.setObjectName("pushButtonDeleteIdentity")
        self.gridLayout_3.addWidget(self.pushButtonDeleteIdentity, 0, 2, 1, 1)
        self.pushButtonNewIdentity = QtWidgets.QPushButton(self.tabIdentity)
        self.pushButtonNewIdentity.setObjectName("pushButtonNewIdentity")
        self.gridLayout_3.addWidget(self.pushButtonNewIdentity, 0, 0, 1, 1)
        self.pushButtonEditIdentity = QtWidgets.QPushButton(self.tabIdentity)
        self.pushButtonEditIdentity.setObjectName("pushButtonEditIdentity")
        self.gridLayout_3.addWidget(self.pushButtonEditIdentity, 0, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem1, 0, 3, 1, 1)
        self.treeIdentity = QtWidgets.QTreeWidget(self.tabIdentity)
        self.treeIdentity.setObjectName("treeIdentity")
        self.gridLayout_3.addWidget(self.treeIdentity, 1, 0, 1, 4)
        self.tabWidget.addTab(self.tabIdentity, "")
        self.tabSite = QtWidgets.QWidget()
        self.tabSite.setObjectName("tabSite")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.tabSite)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.treeSite = QtWidgets.QTreeWidget(self.tabSite)
        self.treeSite.setObjectName("treeSite")
        self.gridLayout_4.addWidget(self.treeSite, 1, 0, 1, 4)
        self.pushButtonNewSite = QtWidgets.QPushButton(self.tabSite)
        self.pushButtonNewSite.setObjectName("pushButtonNewSite")
        self.gridLayout_4.addWidget(self.pushButtonNewSite, 0, 0, 1, 1)
        self.pushButtonDeleteSite = QtWidgets.QPushButton(self.tabSite)
        self.pushButtonDeleteSite.setObjectName("pushButtonDeleteSite")
        self.gridLayout_4.addWidget(self.pushButtonDeleteSite, 0, 2, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem2, 0, 3, 1, 1)
        self.pushButtonEditSite = QtWidgets.QPushButton(self.tabSite)
        self.pushButtonEditSite.setObjectName("pushButtonEditSite")
        self.gridLayout_4.addWidget(self.pushButtonEditSite, 0, 1, 1, 1)
        self.tabWidget.addTab(self.tabSite, "")
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.menuBar = QtWidgets.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 960, 26))
        self.menuBar.setObjectName("menuBar")
        self.menuDatabase = QtWidgets.QMenu(self.menuBar)
        self.menuDatabase.setObjectName("menuDatabase")
        self.menuRecord = QtWidgets.QMenu(self.menuBar)
        self.menuRecord.setObjectName("menuRecord")
        self.menuSite = QtWidgets.QMenu(self.menuBar)
        self.menuSite.setObjectName("menuSite")
        self.menuIdentity = QtWidgets.QMenu(self.menuBar)
        self.menuIdentity.setObjectName("menuIdentity")
        MainWindow.setMenuBar(self.menuBar)
        self.actionNewRecord = QtWidgets.QAction(MainWindow)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/receipt_long-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNewRecord.setIcon(icon1)
        self.actionNewRecord.setObjectName("actionNewRecord")
        self.actionEditRecord = QtWidgets.QAction(MainWindow)
        self.actionEditRecord.setObjectName("actionEditRecord")
        self.actionDeleteRecord = QtWidgets.QAction(MainWindow)
        self.actionDeleteRecord.setObjectName("actionDeleteRecord")
        self.actionNewDatabase = QtWidgets.QAction(MainWindow)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/dns-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNewDatabase.setIcon(icon2)
        self.actionNewDatabase.setObjectName("actionNewDatabase")
        self.actionConnectDatabase = QtWidgets.QAction(MainWindow)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/link-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionConnectDatabase.setIcon(icon3)
        self.actionConnectDatabase.setObjectName("actionConnectDatabase")
        self.actionUpdateDatabase = QtWidgets.QAction(MainWindow)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/refresh-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionUpdateDatabase.setIcon(icon4)
        self.actionUpdateDatabase.setObjectName("actionUpdateDatabase")
        self.actionCloseDatabase = QtWidgets.QAction(MainWindow)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/link_off-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionCloseDatabase.setIcon(icon5)
        self.actionCloseDatabase.setObjectName("actionCloseDatabase")
        self.actionCopyUsername = QtWidgets.QAction(MainWindow)
        self.actionCopyUsername.setObjectName("actionCopyUsername")
        self.actionCopyPassword = QtWidgets.QAction(MainWindow)
        self.actionCopyPassword.setObjectName("actionCopyPassword")
        self.actionNewIdentity = QtWidgets.QAction(MainWindow)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/person_add_alt_1-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNewIdentity.setIcon(icon6)
        self.actionNewIdentity.setObjectName("actionNewIdentity")
        self.actionEditIdentity = QtWidgets.QAction(MainWindow)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/person-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionEditIdentity.setIcon(icon7)
        self.actionEditIdentity.setObjectName("actionEditIdentity")
        self.actionDeleteIdentity = QtWidgets.QAction(MainWindow)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/person_remove_alt_1-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionDeleteIdentity.setIcon(icon8)
        self.actionDeleteIdentity.setObjectName("actionDeleteIdentity")
        self.actionNewSite = QtWidgets.QAction(MainWindow)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap("d:\\Repositories\\PasswordManager\\QPass\\QPass\\icon/language-black-48dp.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNewSite.setIcon(icon9)
        self.actionNewSite.setObjectName("actionNewSite")
        self.actionEditSite = QtWidgets.QAction(MainWindow)
        self.actionEditSite.setObjectName("actionEditSite")
        self.actionDeleteSite = QtWidgets.QAction(MainWindow)
        self.actionDeleteSite.setObjectName("actionDeleteSite")
        self.menuDatabase.addAction(self.actionConnectDatabase)
        self.menuDatabase.addAction(self.actionCloseDatabase)
        self.menuDatabase.addAction(self.actionUpdateDatabase)
        self.menuRecord.addAction(self.actionNewRecord)
        self.menuRecord.addAction(self.actionEditRecord)
        self.menuRecord.addAction(self.actionDeleteRecord)
        self.menuRecord.addSeparator()
        self.menuRecord.addAction(self.actionCopyUsername)
        self.menuRecord.addAction(self.actionCopyPassword)
        self.menuSite.addAction(self.actionNewSite)
        self.menuSite.addAction(self.actionEditSite)
        self.menuSite.addAction(self.actionDeleteSite)
        self.menuIdentity.addAction(self.actionNewIdentity)
        self.menuIdentity.addAction(self.actionEditIdentity)
        self.menuIdentity.addAction(self.actionDeleteIdentity)
        self.menuBar.addAction(self.menuDatabase.menuAction())
        self.menuBar.addAction(self.menuRecord.menuAction())
        self.menuBar.addAction(self.menuIdentity.menuAction())
        self.menuBar.addAction(self.menuSite.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        self.pushButtonNewRecord.clicked.connect(self.actionNewRecord.trigger)
        self.pushButtonEditRecord.clicked.connect(self.actionEditRecord.trigger)
        self.pushButtonDeleteRecord.clicked.connect(self.actionDeleteRecord.trigger)
        self.pushButtonNewIdentity.clicked.connect(self.actionNewIdentity.trigger)
        self.pushButtonDeleteIdentity.clicked.connect(self.actionDeleteIdentity.trigger)
        self.pushButtonEditIdentity.clicked.connect(self.actionEditIdentity.trigger)
        self.pushButtonDeleteSite.clicked.connect(self.actionDeleteSite.trigger)
        self.pushButtonNewSite.clicked.connect(self.actionNewSite.trigger)
        self.pushButtonEditSite.clicked.connect(self.actionEditSite.trigger)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "密码管理器"))
        self.pushButtonDeleteRecord.setText(_translate("MainWindow", "删除记录"))
        self.pushButtonNewRecord.setText(_translate("MainWindow", "添加记录"))
        self.pushButtonEditRecord.setText(_translate("MainWindow", "编辑记录"))
        self.treeRecord.headerItem().setText(0, _translate("MainWindow", "身份"))
        self.treeRecord.headerItem().setText(1, _translate("MainWindow", "站点"))
        self.treeRecord.headerItem().setText(2, _translate("MainWindow", "密码"))
        self.treeRecord.headerItem().setText(3, _translate("MainWindow", "备注"))
        self.treeRecord.headerItem().setText(4, _translate("MainWindow", "UUID"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabRecord), _translate("MainWindow", "记录"))
        self.pushButtonDeleteIdentity.setText(_translate("MainWindow", "删除身份"))
        self.pushButtonNewIdentity.setText(_translate("MainWindow", "添加身份"))
        self.pushButtonEditIdentity.setText(_translate("MainWindow", "编辑身份"))
        self.treeIdentity.headerItem().setText(0, _translate("MainWindow", "账号"))
        self.treeIdentity.headerItem().setText(1, _translate("MainWindow", "备注"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabIdentity), _translate("MainWindow", "身份"))
        self.treeSite.headerItem().setText(0, _translate("MainWindow", "地址"))
        self.treeSite.headerItem().setText(1, _translate("MainWindow", "名称"))
        self.treeSite.headerItem().setText(2, _translate("MainWindow", "备注"))
        self.pushButtonNewSite.setText(_translate("MainWindow", "添加站点"))
        self.pushButtonDeleteSite.setText(_translate("MainWindow", "删除站点"))
        self.pushButtonEditSite.setText(_translate("MainWindow", "编辑站点"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSite), _translate("MainWindow", "站点"))
        self.menuDatabase.setTitle(_translate("MainWindow", "数据库"))
        self.menuRecord.setTitle(_translate("MainWindow", "记录"))
        self.menuSite.setTitle(_translate("MainWindow", "站点"))
        self.menuIdentity.setTitle(_translate("MainWindow", "身份"))
        self.actionNewRecord.setText(_translate("MainWindow", "添加记录"))
        self.actionNewRecord.setToolTip(_translate("MainWindow", "添加记录"))
        self.actionEditRecord.setText(_translate("MainWindow", "编辑记录"))
        self.actionEditRecord.setToolTip(_translate("MainWindow", "编辑记录"))
        self.actionDeleteRecord.setText(_translate("MainWindow", "删除记录"))
        self.actionDeleteRecord.setToolTip(_translate("MainWindow", "删除记录"))
        self.actionNewDatabase.setText(_translate("MainWindow", "新建数据库"))
        self.actionNewDatabase.setToolTip(_translate("MainWindow", "新建数据库"))
        self.actionConnectDatabase.setText(_translate("MainWindow", "连接数据库"))
        self.actionConnectDatabase.setToolTip(_translate("MainWindow", "连接数据库"))
        self.actionUpdateDatabase.setText(_translate("MainWindow", "刷新数据库"))
        self.actionUpdateDatabase.setToolTip(_translate("MainWindow", "刷新数据库"))
        self.actionCloseDatabase.setText(_translate("MainWindow", "关闭数据库"))
        self.actionCloseDatabase.setToolTip(_translate("MainWindow", "关闭数据库"))
        self.actionCopyUsername.setText(_translate("MainWindow", "复制用户名"))
        self.actionCopyUsername.setToolTip(_translate("MainWindow", "复制用户名"))
        self.actionCopyPassword.setText(_translate("MainWindow", "复制密码"))
        self.actionCopyPassword.setToolTip(_translate("MainWindow", "复制密码"))
        self.actionNewIdentity.setText(_translate("MainWindow", "添加身份"))
        self.actionNewIdentity.setToolTip(_translate("MainWindow", "添加身份"))
        self.actionEditIdentity.setText(_translate("MainWindow", "编辑身份"))
        self.actionEditIdentity.setToolTip(_translate("MainWindow", "编辑身份"))
        self.actionDeleteIdentity.setText(_translate("MainWindow", "删除身份"))
        self.actionDeleteIdentity.setToolTip(_translate("MainWindow", "删除身份"))
        self.actionNewSite.setText(_translate("MainWindow", "添加站点"))
        self.actionNewSite.setToolTip(_translate("MainWindow", "添加站点"))
        self.actionEditSite.setText(_translate("MainWindow", "编辑站点"))
        self.actionEditSite.setToolTip(_translate("MainWindow", "编辑站点"))
        self.actionDeleteSite.setText(_translate("MainWindow", "删除站点"))
        self.actionDeleteSite.setToolTip(_translate("MainWindow", "删除站点"))
