ArchitectureColoredPainting/qt-material-widgets/components/lib/qtmaterialstatetransition.h

23 lines
495 B
C++

#ifndef QTMATERIALSTATETRANSITION_H
#define QTMATERIALSTATETRANSITION_H
#include <QAbstractTransition>
#include "lib/qtmaterialstatetransitionevent.h"
class QtMaterialStateTransition : public QAbstractTransition
{
Q_OBJECT
public:
QtMaterialStateTransition(QtMaterialStateTransitionType type);
protected:
virtual bool eventTest(QEvent *event);
virtual void onTransition(QEvent *);
private:
QtMaterialStateTransitionType m_type;
};
#endif // QTMATERIALSTATETRANSITION_H