2017-09-29 09:56:51 +00:00
|
|
|
#ifndef QTMATERIALICONBUTTON_P_H
|
|
|
|
#define QTMATERIALICONBUTTON_P_H
|
|
|
|
|
|
|
|
#include <QtGlobal>
|
|
|
|
|
2022-02-17 01:23:36 +00:00
|
|
|
|
|
|
|
namespace md
|
|
|
|
{
|
|
|
|
class IconButton;
|
|
|
|
class RippleOverlay;
|
2017-09-29 09:56:51 +00:00
|
|
|
class QColor;
|
|
|
|
|
2022-02-17 01:23:36 +00:00
|
|
|
class IconButtonPrivate
|
2017-09-29 09:56:51 +00:00
|
|
|
{
|
2022-02-17 01:23:36 +00:00
|
|
|
Q_DISABLE_COPY(IconButtonPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(IconButton)
|
2017-09-29 09:56:51 +00:00
|
|
|
|
|
|
|
public:
|
2022-02-17 01:23:36 +00:00
|
|
|
IconButtonPrivate(IconButton *q);
|
|
|
|
virtual ~IconButtonPrivate();
|
2017-09-29 09:56:51 +00:00
|
|
|
|
|
|
|
void init();
|
2017-10-02 13:29:31 +00:00
|
|
|
void updateRipple();
|
2017-09-29 09:56:51 +00:00
|
|
|
|
2022-02-17 01:23:36 +00:00
|
|
|
IconButton *const q_ptr;
|
|
|
|
RippleOverlay *rippleOverlay;
|
2017-09-29 09:56:51 +00:00
|
|
|
QColor color;
|
|
|
|
QColor disabledColor;
|
|
|
|
bool useThemeColors;
|
|
|
|
};
|
|
|
|
|
2022-02-17 01:23:36 +00:00
|
|
|
}
|
|
|
|
|
2017-09-29 09:56:51 +00:00
|
|
|
#endif // QTMATERIALICONBUTTON_P_H
|