1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef QFDICON_H
- #define QFDICON_H
- #include <Common/Icon.h>
- 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
|