qtmaterialstatetransition.h 495 B

1234567891011121314151617181920212223
  1. #ifndef QTMATERIALSTATETRANSITION_H
  2. #define QTMATERIALSTATETRANSITION_H
  3. #include <QAbstractTransition>
  4. #include "lib/qtmaterialstatetransitionevent.h"
  5. class QtMaterialStateTransition : public QAbstractTransition
  6. {
  7. Q_OBJECT
  8. public:
  9. QtMaterialStateTransition(QtMaterialStateTransitionType type);
  10. protected:
  11. virtual bool eventTest(QEvent *event);
  12. virtual void onTransition(QEvent *);
  13. private:
  14. QtMaterialStateTransitionType m_type;
  15. };
  16. #endif // QTMATERIALSTATETRANSITION_H