#ifndef QTMATERIALTOGGLE_P_H #define QTMATERIALTOGGLE_P_H #include #include #include #include #include namespace md { class Toggle; class ToggleTrack; class ToggleThumb; class ToggleRippleOverlay; class TogglePrivate { Q_DISABLE_COPY(TogglePrivate) Q_DECLARE_PUBLIC(Toggle) public: TogglePrivate(Toggle *q); ~TogglePrivate(); void init(); void setupProperties(); Toggle *const q_ptr; ToggleTrack *track; ToggleThumb *thumb; ToggleRippleOverlay *rippleOverlay; QStateMachine *stateMachine; QState *offState; QState *onState; Qt::Orientation orientation; QColor disabledColor; QColor activeColor; QColor inactiveColor; QColor trackColor; bool useThemeColors; }; } #endif // QTMATERIALTOGGLE_P_H