mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-15 14:31:18 +08:00
182 lines
8.8 KiB
Python
182 lines
8.8 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'mainwindow.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.10
|
|
#
|
|
# 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(605, 553)
|
|
font = QtGui.QFont()
|
|
font.setFamily("微软雅黑")
|
|
font.setPointSize(12)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
MainWindow.setFont(font)
|
|
MainWindow.setMouseTracking(True)
|
|
MainWindow.setStyleSheet("")
|
|
MainWindow.setIconSize(QtCore.QSize(50, 24))
|
|
MainWindow.setDockOptions(QtWidgets.QMainWindow.AllowTabbedDocks|QtWidgets.QMainWindow.AnimatedDocks)
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
self.centralwidget.setMouseTracking(True)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
|
|
self.horizontalLayout.setContentsMargins(10, 0, 0, 0)
|
|
self.horizontalLayout.setSpacing(0)
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.frame_info = QtWidgets.QFrame(self.centralwidget)
|
|
self.frame_info.setMinimumSize(QtCore.QSize(80, 500))
|
|
self.frame_info.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
|
self.frame_info.setStyleSheet("")
|
|
self.frame_info.setFrameShape(QtWidgets.QFrame.NoFrame)
|
|
self.frame_info.setFrameShadow(QtWidgets.QFrame.Plain)
|
|
self.frame_info.setLineWidth(5)
|
|
self.frame_info.setObjectName("frame_info")
|
|
self.myavatar = QtWidgets.QLabel(self.frame_info)
|
|
self.myavatar.setGeometry(QtCore.QRect(10, 40, 60, 60))
|
|
self.myavatar.setObjectName("myavatar")
|
|
self.listWidget = QtWidgets.QListWidget(self.frame_info)
|
|
self.listWidget.setGeometry(QtCore.QRect(0, 230, 120, 331))
|
|
self.listWidget.setMinimumSize(QtCore.QSize(0, 0))
|
|
self.listWidget.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
|
self.listWidget.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
|
self.listWidget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
|
self.listWidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored)
|
|
self.listWidget.setObjectName("listWidget")
|
|
item = QtWidgets.QListWidgetItem()
|
|
self.listWidget.addItem(item)
|
|
item = QtWidgets.QListWidgetItem()
|
|
self.listWidget.addItem(item)
|
|
item = QtWidgets.QListWidgetItem()
|
|
self.listWidget.addItem(item)
|
|
item = QtWidgets.QListWidgetItem()
|
|
self.listWidget.addItem(item)
|
|
item = QtWidgets.QListWidgetItem()
|
|
self.listWidget.addItem(item)
|
|
self.horizontalLayout.addWidget(self.frame_info)
|
|
self.stackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
|
|
font = QtGui.QFont()
|
|
font.setFamily("Microsoft YaHei UI")
|
|
font.setPointSize(15)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
self.stackedWidget.setFont(font)
|
|
self.stackedWidget.setObjectName("stackedWidget")
|
|
self.horizontalLayout.addWidget(self.stackedWidget)
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 605, 27))
|
|
font = QtGui.QFont()
|
|
font.setFamily("微软雅黑")
|
|
font.setPointSize(12)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
self.menubar.setFont(font)
|
|
self.menubar.setObjectName("menubar")
|
|
self.menu_F = QtWidgets.QMenu(self.menubar)
|
|
self.menu_F.setObjectName("menu_F")
|
|
self.menu_data = QtWidgets.QMenu(self.menubar)
|
|
font = QtGui.QFont()
|
|
font.setFamily("微软雅黑")
|
|
font.setPointSize(12)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
self.menu_data.setFont(font)
|
|
self.menu_data.setObjectName("menu_data")
|
|
self.menu_output = QtWidgets.QMenu(self.menu_data)
|
|
self.menu_output.setObjectName("menu_output")
|
|
self.menu_2 = QtWidgets.QMenu(self.menubar)
|
|
self.menu_2.setObjectName("menu_2")
|
|
self.menu_about = QtWidgets.QMenu(self.menubar)
|
|
self.menu_about.setObjectName("menu_about")
|
|
MainWindow.setMenuBar(self.menubar)
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
font = QtGui.QFont()
|
|
font.setFamily("微软雅黑")
|
|
font.setPointSize(12)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
self.statusbar.setFont(font)
|
|
self.statusbar.setObjectName("statusbar")
|
|
MainWindow.setStatusBar(self.statusbar)
|
|
self.action_3 = QtWidgets.QAction(MainWindow)
|
|
self.action_3.setObjectName("action_3")
|
|
self.action_4 = QtWidgets.QAction(MainWindow)
|
|
self.action_4.setObjectName("action_4")
|
|
self.action_help_decrypt = QtWidgets.QAction(MainWindow)
|
|
font = QtGui.QFont()
|
|
font.setFamily("Microsoft YaHei UI")
|
|
self.action_help_decrypt.setFont(font)
|
|
self.action_help_decrypt.setObjectName("action_help_decrypt")
|
|
self.action_desc = QtWidgets.QAction(MainWindow)
|
|
self.action_desc.setObjectName("action_desc")
|
|
self.action_help_chat = QtWidgets.QAction(MainWindow)
|
|
self.action_help_chat.setObjectName("action_help_chat")
|
|
self.action_help_contact = QtWidgets.QAction(MainWindow)
|
|
self.action_help_contact.setObjectName("action_help_contact")
|
|
self.action_output_CSV = QtWidgets.QAction(MainWindow)
|
|
self.action_output_CSV.setObjectName("action_output_CSV")
|
|
self.action_output_contacts = QtWidgets.QAction(MainWindow)
|
|
self.action_output_contacts.setObjectName("action_output_contacts")
|
|
self.action_batch_export = QtWidgets.QAction(MainWindow)
|
|
self.action_batch_export.setObjectName("action_batch_export")
|
|
self.menu_F.addSeparator()
|
|
self.menu_F.addSeparator()
|
|
self.menu_F.addAction(self.action_3)
|
|
self.menu_F.addAction(self.action_4)
|
|
self.menu_output.addAction(self.action_output_CSV)
|
|
self.menu_data.addAction(self.menu_output.menuAction())
|
|
self.menu_data.addAction(self.action_output_contacts)
|
|
self.menu_data.addAction(self.action_batch_export)
|
|
self.menu_2.addAction(self.action_help_decrypt)
|
|
self.menu_2.addAction(self.action_help_chat)
|
|
self.menu_2.addAction(self.action_help_contact)
|
|
self.menu_about.addAction(self.action_desc)
|
|
self.menubar.addAction(self.menu_F.menuAction())
|
|
self.menubar.addAction(self.menu_data.menuAction())
|
|
self.menubar.addAction(self.menu_2.menuAction())
|
|
self.menubar.addAction(self.menu_about.menuAction())
|
|
|
|
self.retranslateUi(MainWindow)
|
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
|
self.myavatar.setText(_translate("MainWindow", "avatar"))
|
|
__sortingEnabled = self.listWidget.isSortingEnabled()
|
|
self.listWidget.setSortingEnabled(False)
|
|
item = self.listWidget.item(0)
|
|
item.setText(_translate("MainWindow", "新建项目"))
|
|
item = self.listWidget.item(1)
|
|
item.setText(_translate("MainWindow", "新建项目"))
|
|
item = self.listWidget.item(2)
|
|
item.setText(_translate("MainWindow", "新建项目"))
|
|
item = self.listWidget.item(3)
|
|
item.setText(_translate("MainWindow", "新建项目"))
|
|
item = self.listWidget.item(4)
|
|
item.setText(_translate("MainWindow", "新建项目"))
|
|
self.listWidget.setSortingEnabled(__sortingEnabled)
|
|
self.menu_F.setTitle(_translate("MainWindow", "文件(F)"))
|
|
self.menu_data.setTitle(_translate("MainWindow", "数据"))
|
|
self.menu_output.setTitle(_translate("MainWindow", "导出聊天记录(全部)"))
|
|
self.menu_2.setTitle(_translate("MainWindow", "帮助"))
|
|
self.menu_about.setTitle(_translate("MainWindow", "关于"))
|
|
self.action_3.setText(_translate("MainWindow", "保存"))
|
|
self.action_4.setText(_translate("MainWindow", "退出"))
|
|
self.action_help_decrypt.setText(_translate("MainWindow", "解密教程"))
|
|
self.action_desc.setText(_translate("MainWindow", "说明"))
|
|
self.action_help_chat.setText(_translate("MainWindow", "聊天相关"))
|
|
self.action_help_contact.setText(_translate("MainWindow", "好友相关"))
|
|
self.action_output_CSV.setText(_translate("MainWindow", "CSV"))
|
|
self.action_output_contacts.setText(_translate("MainWindow", "导出联系人"))
|
|
self.action_batch_export.setText(_translate("MainWindow", "批量导出"))
|