qt-material-widgets/components/toggle_p.h

27 lines
427 B
C
Raw Normal View History

2016-05-28 21:01:24 +00:00
#ifndef TOGGLE_P_H
#define TOGGLE_P_H
2016-05-29 11:58:20 +00:00
#include <QStateMachine>
2016-05-29 10:08:55 +00:00
#include "toggle_internal.h"
2016-05-29 13:42:13 +00:00
class RippleOverlay;
2016-05-29 10:08:55 +00:00
class TogglePrivate
{
Q_DISABLE_COPY(TogglePrivate)
Q_DECLARE_PUBLIC(Toggle)
public:
TogglePrivate(Toggle *q);
void init();
Toggle *const q_ptr;
2016-05-29 11:58:20 +00:00
Thumb *const thumb;
2016-05-29 13:42:13 +00:00
RippleOverlay *const ripple;
2016-05-29 11:58:20 +00:00
QStateMachine machine;
2016-05-29 10:25:14 +00:00
Qt::Orientation orientation;
2016-05-29 10:08:55 +00:00
};
2016-05-28 21:01:24 +00:00
#endif // TOGGLE_P_H