qt-material-widgets/components/toggle_p.h

27 lines
427 B
C++

#ifndef TOGGLE_P_H
#define TOGGLE_P_H
#include <QStateMachine>
#include "toggle_internal.h"
class RippleOverlay;
class TogglePrivate
{
Q_DISABLE_COPY(TogglePrivate)
Q_DECLARE_PUBLIC(Toggle)
public:
TogglePrivate(Toggle *q);
void init();
Toggle *const q_ptr;
Thumb *const thumb;
RippleOverlay *const ripple;
QStateMachine machine;
Qt::Orientation orientation;
};
#endif // TOGGLE_P_H