Skip to content

Commit

Permalink
适配高分辨率#35
Browse files Browse the repository at this point in the history
  • Loading branch information
LC044 committed Dec 19, 2023
1 parent c25dffd commit e5cc2df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/ui/contact/contactInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def init_ui(self):
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)
Expand Down
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@

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
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):
Expand Down

0 comments on commit e5cc2df

Please sign in to comment.