from PyQt5.QtGui import QIcon, QPixmap from app.resources import resource_rc var = resource_rc.qt_resource_name class Icon: Default_avatar_path = ':/icons/icons/default_avatar.svg' Default_image_path = ':/icons/icons/404.png' logo_path = ':/icons/icons/logo99.png' logo_ico_path = ':/icons/icons/logo3.0.ico' MainWindow_Icon = QIcon(':/icons/icons/logo.svg') Default_avatar = QIcon(Default_avatar_path) Output = QIcon(':/icons/icons/output.svg') Back = QIcon(':/icons/icons/back.svg') ToDocx = QIcon(':/icons/icons/word.svg') ToCSV = QIcon(':/icons/icons/csv.svg') ToHTML = QIcon(':/icons/icons/html.svg') ToTXT = QIcon(':/icons/icons/txt.svg') Chat_Icon = QIcon(':/icons/icons/chat.svg') Contact_Icon = QIcon(':/icons/icons/contact.svg') MyInfo_Icon = QIcon(':/icons/icons/myinfo.svg') Annual_Report_Icon = QIcon(':/icons/icons/annual_report.svg') Analysis_Icon = QIcon(':/icons/icons/analysis.svg') Emotion_Icon = QIcon(':/icons/icons/emotion.svg') Search_Icon = QIcon(':/icons/icons/search.svg') Tool_Icon = QIcon(':/icons/icons/tool.svg') Home_Icon = QIcon(':/icons/icons/home.svg') Help_Icon = QIcon(':/icons/icons/help.svg') Get_info_Icon = QIcon(':/icons/icons/get_wx_info.svg') Folder_Icon = QIcon(':/icons/icons/folder.svg') Start_Icon = QIcon(':/icons/icons/start.svg') Decrypt_Icon = QIcon(':/icons/icons/decrypt.svg') Man_Icon_path = ':/icons/icons/man.svg' Woman_Icon_path = ':/icons/icons/woman.svg' Man_Icon = QIcon(':/icons/icons/man.svg') Woman_Icon = QIcon(':/icons/icons/woman.svg') # Man_Icon_pixmap = QPixmap(Man_Icon_path) # Woman_Icon_pixmap = QPixmap(Woman_Icon_path) # Logo_Icon = QIcon(':/icons/icons/logo.png')