mirror of
https://github.com/LC044/WeChatMsg
synced 2025-02-23 03:22:17 +08:00
适配高分辨率#35
This commit is contained in:
parent
c25dffd08c
commit
e5cc2df3ec
@ -31,7 +31,6 @@ class ContactInfo(QWidget, Ui_Form):
|
||||
self.btn_report.clicked.connect(self.annual_report)
|
||||
self.btn_analysis.clicked.connect(self.analysis)
|
||||
self.btn_emotion.clicked.connect(self.emotionale_Analysis)
|
||||
self.label_remark.setText(self.contact.remark)
|
||||
self.stackedWidget.addWidget(self.view_userinfo)
|
||||
self.stackedWidget.setCurrentWidget(self.view_userinfo)
|
||||
menu = QMenu(self)
|
||||
|
4
main.py
4
main.py
@ -5,6 +5,7 @@ import traceback
|
||||
|
||||
from PyQt5.QtGui import QFont
|
||||
from PyQt5.QtWidgets import *
|
||||
from PyQt5.QtCore import Qt
|
||||
|
||||
from app.DataBase import close_db
|
||||
from app.log import logger
|
||||
@ -12,7 +13,8 @@ from app.ui import mainview
|
||||
from app.ui.tool.pc_decrypt import pc_decrypt
|
||||
from app.config import version
|
||||
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("WeChatReport")
|
||||
|
||||
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling,True)
|
||||
QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps,True)
|
||||
|
||||
class ViewController(QWidget):
|
||||
def __init__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user