From c4811bf9bd18659f3edb9796f1328acb0bf208e7 Mon Sep 17 00:00:00 2001 From: ChuishenX Date: Sat, 22 Jun 2024 20:56:11 +0800 Subject: [PATCH] GUI2 --- pse.py | 4 +--- requirements.txt | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pse.py b/pse.py index a2294ae..8b35c58 100644 --- a/pse.py +++ b/pse.py @@ -4,15 +4,13 @@ from plugin.engine.tinksp import Tinksp from concurrent.futures import ThreadPoolExecutor, wait from PySide6.QtWidgets import QMainWindow, QApplication, QMessageBox, QTreeWidgetItem -from PySide6 import QtCore +# from PySide6 import QtCore import sys import multiprocessing as m from multiprocessing import Process as P from ui import Ui_MainWindow import pyperclip -QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling) - def get_result(keyword, q): engine = [Spigot, Tinksp, Minebbs, Klpbbs] results = [] diff --git a/requirements.txt b/requirements.txt index 07d7add..d9a7846 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ -cn_bing_translator \ No newline at end of file +cn_bing_translator +pyperclip +colorama \ No newline at end of file