You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from static.Qss import *
|
|
from PyQt5.QtCore import QFile
|
|
|
|
|
|
class CommonHelper:
|
|
def __init__(self):
|
|
pass
|
|
|
|
@staticmethod
|
|
def getQss():
|
|
qss_file = QFile(':/static/psblack.Qss')
|
|
qss_file.open(QFile.ReadOnly)
|
|
qss = str(qss_file.readAll(), encoding = 'utf-8')
|
|
qss_file.close()
|
|
return qss |