2017-09-29 09:50:04 +00:00
|
|
|
#ifndef QTMATERIALRAISEDBUTTON_P_H
|
|
|
|
#define QTMATERIALRAISEDBUTTON_P_H
|
|
|
|
|
|
|
|
#include "qtmaterialflatbutton_p.h"
|
|
|
|
|
|
|
|
class QStateMachine;
|
|
|
|
class QState;
|
|
|
|
class QGraphicsDropShadowEffect;
|
|
|
|
class QtMaterialRaisedButton;
|
|
|
|
|
|
|
|
class QtMaterialRaisedButtonPrivate : public QtMaterialFlatButtonPrivate
|
|
|
|
{
|
|
|
|
Q_DISABLE_COPY(QtMaterialRaisedButtonPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(QtMaterialRaisedButton)
|
|
|
|
|
|
|
|
public:
|
|
|
|
QtMaterialRaisedButtonPrivate(QtMaterialRaisedButton *q);
|
|
|
|
~QtMaterialRaisedButtonPrivate();
|
|
|
|
|
|
|
|
void init();
|
2022-07-15 05:54:20 +00:00
|
|
|
|
|
|
|
QtMaterialRaisedButton *const q_ptr;
|
2022-07-14 09:54:17 +00:00
|
|
|
QStateMachine *shadowStateMachine;
|
|
|
|
QState *normalState;
|
|
|
|
QState *pressedState;
|
2017-09-29 09:50:04 +00:00
|
|
|
QGraphicsDropShadowEffect *effect;
|
|
|
|
};
|
|
|
|
|
2022-07-14 09:54:17 +00:00
|
|
|
#endif // QTMATERIALRAISEDBUTTON_P_H
|