修改样式
This commit is contained in:
22
updata/scheme_edit.py
Normal file
22
updata/scheme_edit.py
Normal file
@@ -0,0 +1,22 @@
|
||||
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)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user