Files
python_tools/updata/scheme_edit.py

30 lines
567 B
Python
Raw Normal View History

2023-10-29 22:06:45 +08:00
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=""
2023-10-29 22:06:45 +08:00