Files
python_tools/updata/scheme_edit.py
andy eb922ee1aa udp.py 添加close函数用于关闭后台线程,
解决updata_ssh 后台线程无法正常关闭的问题
调整服务器文件列表显示,服务器文件夹显示中文别名
2023-11-05 21:05:49 +08:00

30 lines
567 B
Python

from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
import json
import sys
import os
class TaskBox(QWidget):
def __init__(self,parent:QWidget=None,items:list=None,x:int=0,y:int=0):
QWidget.__init__(self,parent)
self.setMouseTracking(True)
self.setWindowFlags(Qt.WindowType.FramelessWindowHint|Qt.WindowType.NoDropShadowWindowHint|Qt.WindowType.Popup)
self.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose)
class task_base(object):
def __init__(self):
self.TaskID=""