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

26 lines
472 B
C
Raw Normal View History

2017-09-29 09:50:04 +00:00
#ifndef QTMATERIALSTATETRANSITION_H
#define QTMATERIALSTATETRANSITION_H
#include <QAbstractTransition>
#include "lib/qtmaterialstatetransitionevent.h"
namespace md
{
class StateTransition : public QAbstractTransition
2017-09-29 09:50:04 +00:00
{
Q_OBJECT
public:
StateTransition(StateTransitionType type);
2017-09-29 09:50:04 +00:00
protected:
virtual bool eventTest(QEvent *event);
virtual void onTransition(QEvent *);
private:
StateTransitionType m_type;
2017-09-29 09:50:04 +00:00
};
}
2017-09-29 09:50:04 +00:00
#endif // QTMATERIALSTATETRANSITION_H