更新代码

This commit is contained in:
feiyangqingyun
2022-01-22 20:02:16 +08:00
parent c80ef3a108
commit 972b3e89f2
13 changed files with 358 additions and 166 deletions

View File

@@ -31,6 +31,18 @@ class IconHelper : public QObject
{
Q_OBJECT
private:
//阿里巴巴图形字体类
static IconHelper *iconFontAliBaBa;
//FontAwesome图形字体类
static IconHelper *iconFontAwesome;
//FontAwesome6图形字体类
static IconHelper *iconFontAwesome6;
//天气图形字体类
static IconHelper *iconFontWeather;
//图形字体索引
static int iconFontIndex;
public:
//样式颜色结构体
struct StyleColor {
@@ -90,19 +102,11 @@ public:
}
};
//阿里巴巴图形字体类
static IconHelper *iconFontAliBaBa;
//FontAwesome图形字体类
static IconHelper *iconFontAwesome;
//FontAwesome6图形字体类
static IconHelper *iconFontAwesome6;
//天气图形字体类
static IconHelper *iconFontWeather;
//图形字体索引
static int iconFontIndex;
//初始化图形字体
static void initFont();
//设置引用图形字体文件索引
static void setIconFontIndex(int index);
//获取图形字体
static QFont getIconFontAliBaBa();