ArchitectureColoredPainting/qt-material-widgets/components/qtmaterialiconbutton_p.h

30 lines
694 B
C
Raw Normal View History

2023-03-06 12:38:25 +08:00
#ifndef QTMATERIALICONBUTTON_P_H
#define QTMATERIALICONBUTTON_P_H
#include <QtGlobal>
class QtMaterialIconButton;
class QtMaterialRippleOverlay;
class QColor;
class QtMaterialIconButtonPrivate
{
Q_DISABLE_COPY(QtMaterialIconButtonPrivate)
Q_DECLARE_PUBLIC(QtMaterialIconButton)
public:
QtMaterialIconButtonPrivate(QtMaterialIconButton *q);
virtual ~QtMaterialIconButtonPrivate();
void init();
void updateRipple();
QtMaterialIconButton *const q_ptr;
QtMaterialRippleOverlay *rippleOverlay;
QColor color;
QColor disabledColor;
bool useThemeColors;
};
#endif // QTMATERIALICONBUTTON_P_H