28 lines
645 B
C++
28 lines
645 B
C++
#ifndef RAISEDBUTTON_P_H
|
|
#define RAISEDBUTTON_P_H
|
|
|
|
#include "flatbutton_p.h"
|
|
#include "raisedbutton.h"
|
|
|
|
class QGraphicsDropShadowEffect;
|
|
|
|
class RaisedButtonPrivate : public FlatButtonPrivate
|
|
{
|
|
Q_DISABLE_COPY(RaisedButtonPrivate)
|
|
Q_DECLARE_PUBLIC(RaisedButton)
|
|
|
|
public:
|
|
RaisedButtonPrivate(RaisedButton *q);
|
|
~RaisedButtonPrivate();
|
|
|
|
void init();
|
|
|
|
QStateMachine *machine;
|
|
QState *const normalState;
|
|
QState *const pressedState;
|
|
QGraphicsDropShadowEffect *const effect;
|
|
QColor disabledBackgroundColor;
|
|
};
|
|
|
|
#endif // RAISEDBUTTON_P_H
|