76 lines
2.3 KiB
Python
76 lines
2.3 KiB
Python
|
# coding: gb2312
|
|||
|
from PyQt5.QtWidgets import *
|
|||
|
from BaseFrontend.based_widget import BasedWidget
|
|||
|
|
|||
|
|
|||
|
class EchartsPageWidgetDefine(BasedWidget):
|
|||
|
|
|||
|
def __init__(self):
|
|||
|
super().__init__()
|
|||
|
# <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD><D8BC><EFBFBD><EFBFBD><EFBFBD>Ctrl+<2B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>༭<EFBFBD><E0BCAD>
|
|||
|
"""**<2A><><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>**<2A><><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>**<2A><><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>**<2A><><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>**<2A><><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>**<2A><><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>"""
|
|||
|
|
|||
|
self.overview_button = self._init_overview_button()
|
|||
|
self.team_button = self._init_team_button()
|
|||
|
self.person_button = self._init_person_button()
|
|||
|
|
|||
|
# <20><>ʼ<EFBFBD><CABC><EFBFBD>հؼ<D7BF>
|
|||
|
@staticmethod
|
|||
|
def init_empty_widget():
|
|||
|
empty_widget = QWidget()
|
|||
|
return empty_widget
|
|||
|
|
|||
|
@staticmethod
|
|||
|
def _init_overview_button():
|
|||
|
overview_button = QPushButton("<EFBFBD><EFBFBD>\n<EFBFBD><EFBFBD>")
|
|||
|
overview_button.setStyleSheet(
|
|||
|
"font: 600 24px \"Microsoft YaHei UI\";"
|
|||
|
"color: #ffffff;"
|
|||
|
"letter-spacing: 6px;"
|
|||
|
"border-radius: 4px;"
|
|||
|
"border: none;"
|
|||
|
"height: 160%;"
|
|||
|
"border-top-left-radius: 6px;"
|
|||
|
"border-top-right-radius: 0px;"
|
|||
|
"border-bottom-left-radius: 6px;"
|
|||
|
"border-bottom-right-radius: 0px;"
|
|||
|
"background-color: #409eff;"
|
|||
|
)
|
|||
|
return overview_button
|
|||
|
|
|||
|
@staticmethod
|
|||
|
def _init_team_button():
|
|||
|
team_button = QPushButton("<EFBFBD><EFBFBD>\n<EFBFBD><EFBFBD>")
|
|||
|
team_button.setStyleSheet(
|
|||
|
"font: 600 24px \"Microsoft YaHei UI\";"
|
|||
|
"color: #222222;"
|
|||
|
"letter-spacing: 6px;"
|
|||
|
"border-radius: 4px;"
|
|||
|
"border: none;"
|
|||
|
"height: 160%;"
|
|||
|
"border-top-left-radius: 6px;"
|
|||
|
"border-top-right-radius: 0px;"
|
|||
|
"border-bottom-left-radius: 6px;"
|
|||
|
"border-bottom-right-radius: 0px;"
|
|||
|
)
|
|||
|
return team_button
|
|||
|
|
|||
|
@staticmethod
|
|||
|
def _init_person_button():
|
|||
|
person_button = QPushButton("<EFBFBD><EFBFBD>\n<EFBFBD><EFBFBD>")
|
|||
|
person_button.setStyleSheet(
|
|||
|
"font: 600 24px \"Microsoft YaHei UI\";"
|
|||
|
"color: #222222;"
|
|||
|
"letter-spacing: 6px;"
|
|||
|
"border-radius: 4px;"
|
|||
|
"border: none;"
|
|||
|
"height: 160%;"
|
|||
|
"border-top-left-radius: 6px;"
|
|||
|
"border-top-right-radius: 0px;"
|
|||
|
"border-bottom-left-radius: 6px;"
|
|||
|
"border-bottom-right-radius: 0px;"
|
|||
|
)
|
|||
|
return person_button
|
|||
|
|
|||
|
|