#ifndef QFDICON_H #define QFDICON_H #include class QFDIcon : public FluentIconBase { Q_OBJECT public: enum IconType { Data, Detail, Expert, Filter, Logout, Minus, Open, Project, Project1, Schecme, User, }; Q_ENUM(IconType) static QString iconName(IconType type); QFDIcon(IconType type, Qfw::Theme t = Qfw::AUTO); QString iconPath(); QIcon icon() override; QString typeName() const override; QString enumName() const override; FluentIconBase *clone() override; Qfw::Theme theme() const; void setTheme(const Qfw::Theme &theme) override; private: Qfw::Theme m_theme; IconType m_type; }; #endif // QFDICON_H