qt-material-widgets/components/lib/qtmaterialcheckable_p.h

47 lines
1.3 KiB
C++

#ifndef QTMATERIALCHECKABLE_P_H
#define QTMATERIALCHECKABLE_P_H
#include <QtGlobal>
#include "lib/qtmaterialcheckable.h"
namespace md
{
class QStateMachine;
class QState;
class QSignalTransition;
class RippleOverlay;
class CheckableIcon;
class CheckablePrivate
{
Q_DISABLE_COPY(CheckablePrivate)
Q_DECLARE_PUBLIC(Checkable)
public:
CheckablePrivate(Checkable *q);
virtual ~CheckablePrivate();
void init();
Checkable *const q_ptr;
RippleOverlay *rippleOverlay;
CheckableIcon *checkedIcon;
CheckableIcon *uncheckedIcon;
QStateMachine *stateMachine;
QState *uncheckedState;
QState *checkedState;
QState *disabledUncheckedState;
QState *disabledCheckedState;
QSignalTransition *uncheckedTransition;
QSignalTransition *checkedTransition;
Checkable::LabelPosition labelPosition;
QColor checkedColor;
QColor uncheckedColor;
QColor textColor;
QColor disabledColor;
bool useThemeColors;
};
}
#endif // QTMATERIALCHECKABLE_P_H