StyleA.hpp 358 B

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