StyleD.hpp 363 B

1234567891011121314151617
  1. #ifndef STYLED_HPP
  2. #define STYLED_HPP
  3. #include "UtilityMacros.hpp"
  4. #include <QStylePlugin>
  5. class StyleD : public QStylePlugin
  6. {
  7. Q_OBJECT
  8. // Json file in global sub director
  9. Q_PLUGIN_METADATA(IID "org.styles.D" FILE "sub/StyleD.json")
  10. A_CUSTOM_MACRO(SomeArg, "sub/StyleD_Custom.json", AnotherArg)
  11. public:
  12. QStyle* create(const QString& key);
  13. };
  14. #endif