代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
import qtawesome as qta
from PySide6.QtCore import QSize
# generate icons from qtawesome library
class LogoIcon:
@staticmethod
def get_icon():
return qta.icon("mdi.json", color="#2962ff")
@staticmethod
def get_pixmap(size=QSize(24, 24)):
return LogoIcon.get_icon().pixmap(size)
@staticmethod
def get_logo(size):
return qta.icon("mdi.json").pixmap(size)
class MenuIcon:
@staticmethod
def get_close():
return qta.icon("mdi.close")
@staticmethod
def get_min():
return qta.icon("mdi.minus")
@staticmethod
def get_max():
return qta.icon("mdi.window-maximize")
@staticmethod
def get_restore():
return qta.icon("mdi.window-restore")
@staticmethod
def get_more():
return qta.icon("ri.more-2-fill")
@staticmethod
def get_theme():
return qta.icon("msc.symbol-color")
@staticmethod
def get_language():
return qta.icon("ri.global-line")
@staticmethod
def get_chinese():
return qta.icon("ri.emphasis-cn")
@staticmethod
def get_english():
return qta.icon("ri.emphasis")
@staticmethod
def get_feedback():
return qta.icon("ri.feedback-line")
@staticmethod
def get_about():
return qta.icon("mdi6.information-outline")
@staticmethod
def get_pdf2word():
return qta.icon("ri.file-word-fill", color="#3949ab")
@staticmethod
def get_word2pdf():
return qta.icon("ri.file-word-2-fill", color="#3949ab")
@staticmethod
def get_excel2pdf():
return qta.icon("ri.file-excel-2-fill", color="#3949ab")
@staticmethod
def get_ppt2pdf():
return qta.icon("ri.file-ppt-2-fill", color="#3949ab")
@staticmethod
def get_pdf_split():
return qta.icon("mdi.call-split", color="#3949ab")
@staticmethod
def get_pdf_merge():
return qta.icon("mdi.call-merge", color="#3949ab")
class LabelIcon:
@staticmethod
def get_pdf(size):
return qta.icon("mdi.file-pdf").pixmap(size)
@staticmethod
def get_word(size):
return qta.icon("mdi.file-word").pixmap(size)
@staticmethod
def get_excel(size):
return qta.icon("mdi.file-excel").pixmap(size)
@staticmethod
def get_ppt(size):
return qta.icon("mdi.file-powerpoint").pixmap(size)
@staticmethod
def get_file(size):
return qta.icon("mdi.file").pixmap(size)
@staticmethod
def get_folder(size):
return qta.icon("mdi.folder-open-outline").pixmap(size)
@staticmethod
def get_close(size):
return qta.icon("mdi.close").pixmap(size)
@staticmethod
def get_add(size):
return qta.icon("ri.add-fill").pixmap(size)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。