2016-05-17 12:26:50 +00:00
|
|
|
#ifndef RAISEDBUTTON_P_H
|
|
|
|
#define RAISEDBUTTON_P_H
|
|
|
|
|
|
|
|
#include "flatbutton_p.h"
|
|
|
|
|
2016-06-12 13:37:46 +00:00
|
|
|
class QGraphicsDropShadowEffect;
|
|
|
|
|
2016-05-17 12:26:50 +00:00
|
|
|
class RaisedButtonPrivate : public FlatButtonPrivate
|
|
|
|
{
|
|
|
|
Q_DISABLE_COPY(RaisedButtonPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(RaisedButton)
|
|
|
|
|
|
|
|
public:
|
2016-05-30 23:08:52 +00:00
|
|
|
RaisedButtonPrivate(RaisedButton *q);
|
|
|
|
~RaisedButtonPrivate();
|
2016-05-17 13:43:46 +00:00
|
|
|
|
|
|
|
void init();
|
2016-05-17 13:58:46 +00:00
|
|
|
|
|
|
|
QStateMachine machine;
|
2016-06-12 13:37:46 +00:00
|
|
|
QState *normalState;
|
|
|
|
QState *pressedState;
|
|
|
|
QGraphicsDropShadowEffect *effect;
|
2016-06-12 14:40:56 +00:00
|
|
|
QColor disabledBackgroundColor;
|
2016-05-17 12:26:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RAISEDBUTTON_P_H
|