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