2016-06-12 10:26:38 +00:00
|
|
|
#ifndef FAB_P_H
|
|
|
|
#define FAB_P_H
|
|
|
|
|
|
|
|
#include "raisedbutton_p.h"
|
2016-06-19 14:27:21 +00:00
|
|
|
#include "fab.h"
|
2016-06-12 10:26:38 +00:00
|
|
|
|
|
|
|
class FloatingActionButtonPrivate : public RaisedButtonPrivate
|
|
|
|
{
|
|
|
|
Q_DISABLE_COPY(FloatingActionButtonPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(FloatingActionButton)
|
|
|
|
|
|
|
|
public:
|
2016-06-12 11:05:31 +00:00
|
|
|
FloatingActionButtonPrivate(FloatingActionButton *q);
|
|
|
|
~FloatingActionButtonPrivate();
|
2016-06-12 10:26:38 +00:00
|
|
|
|
2016-06-12 11:05:31 +00:00
|
|
|
void init();
|
2016-06-12 10:26:38 +00:00
|
|
|
|
2016-06-12 13:37:46 +00:00
|
|
|
QRect fabGeometry() const;
|
|
|
|
|
|
|
|
void assignAnimationProperties();
|
|
|
|
|
2016-06-21 12:09:16 +00:00
|
|
|
bool mini;
|
|
|
|
int offsX;
|
|
|
|
int offsY;
|
2016-06-12 13:37:46 +00:00
|
|
|
Qt::Corner corner;
|
2016-06-12 10:26:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FAB_P_H
|